- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
40 Posted Topics
Re: the error is on the return line that is [code=php] return ( mysql_results($query, 0) == 0 ) ? false : true; [/code] should be : [code=php] $return = ( mysql_result($query, 0) == 0 ) ? false : true; return $return; [/code] | |
Re: first edit the form attribute enctype="" >> [code=php] enctype="multipart/form-data" [/code] not enctype="multipart/formdata" and then try and also check the Value that you getting through $_POST[''] [code=php] $nama = isset($_POST['nama']) ? $_POST['nama'] : 'blank'; echo $nama; [/code] | |
![]() | Re: [QUOTE=mansimran88;1682992]The message is not showing. Please help me. Thanks [/QUOTE] Your session already destroyed, then the $_SESSION['msg'] will not work. try to use javascript to alert message and redirect it to another page, cause you will not echo anything before header(); Do this >> [CODE]<?php session_start(); require('obj.php'); session_destroy(); echo ' … |
Re: [QUOTE=atp_mqk;1683005]Hi friends how are you? I am a professional website designer, I recently have joined web development area. Its very interesting and amazing field. I am making a blog website and needing some php scripts, Please! can any body help me? Also like in website designing there are lots of … | |
Re: for the pdf file you have to use [code=php] header('Content-disposition: attachment; filename=filename.pdf'); header('Content-type: application/pdf'); readfile('filename.pdf'); [/code] | |
Re: sorry but can't understand the problem?? Can you explain the problem clearly?? | |
i want to get #value into the url to without refreshing the page ?? i tried window.location.hash to get the #value but it return blank.. the url is index.php?page=contact-us#email plz help to resolve the problem >> | |
Re: use this to start a session on your function >> [code=php] public function register($post) { $username = $post['username']; $password = $post['password']; $user = $this->authenticate($username, $password); if(count($user)): #start a session before assigning the session variables session_start(); $_SESSION['userid'] = $user['userid']; $_SESSION['username'] = $user['username']; $_SESSION['password'] = $user['password']; endif; return $user; [/code] and on … | |
hi i am not clear with the socket connection in php, because before starting a new topic i want to clear with the experts(you all guys), why we use socket connection?? | |
Re: [QUOTE=deepak.marur;1657785]I'm ExtJS newbie. I need to send the contents of a ExtJS Textarea to the backend server for saving (autosave facility) as the user types in. How do I buffer the contents and push the buffer to the server after some threshold value. A code sample would greatly help me. … | |
Re: [QUOTE=abelingaw;1645529]I just uploaded my php files on my webhost, and begi editing the links in my index.php. And when I tried viewing my site, i receive the following errors. [CODE] Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/a4478641/public_html/index.php on line 3 Warning: include(http://abelingaw.site90.com/phavi/common.php) [function.include]: failed … | |
Re: where is the login forms html part?? try with the code [code=php] # the name of the submit button?? if(isset($_REQUEST['submit_button_name'])){ // Rest Code here.. $username = $_POST['username']; $password = $_POST['password']; var_dump($username,$password); $pass = sha1($password); if (!empty($username) &&!empty($password)) { $query = "SELECT 'id' FROM 'users' WHERE username= '$username' AND password= '$pass'"; … | |
hello friends, i want to get the class name from li tag for example [CODE] <ul> <li class="itme11"></li> <li class="itme21"></li> <li class="itme31"></li> <li class="itme41"></li> </ul> [/CODE] and i want to access the class item31 how do i get the class name item31 with javascript?? plz help me to solve out | |
Re: you can do this with the $.ajax request of jquery to call an php file, not directly send with the javascript / jquery | |
Re: try the ajax request with the javascript code: [code] window.setInterval(function(){ //ajax request }, 2000); [/code] this request check your data like a ping with in 2 seconds, and if the data is growing or updated the it will shows automatically,, for reference just google setInterval with jquery... hopefully this will … | |
Re: the question is not exactly clear this will help you to understand $.get Request [url]http://api.jquery.com/jQuery.get/[/url] i don't know if there is any checkbox in your script,,, have to paste html part also >> [CODE] $('#hidden').hide(); $('#getfiles').click(function() { if( $('input[name=checkbox_name]:checked') ) { $('#hidden').show({ $.get('views/ajax.py', function(getSize) { $('#hidden').click(getSize) }); } else { … | |
Re: Try this link hopefully it help you: [url]http://roshanbh.com.np/2007/12/sending-e-mail-from-localhost-in-php-in-windows-environment.html[/url] | |
hello friends, i trying to change the extension .php into .html in my local server but it still shows the .php extension. i have test.php and after the mod_rewrite it just show the test.php but if i type in url test.html then it also show the same content of test.php, … | |
Re: the best way is in quickly SEO results Quality contents comment posting on Do Follow blogs like <link removed> and the best way to comment approve is that your comment must be relevant match with the site title and content. also article submission will give effective results | |
hello friends i am new in php, i tried a code to remove special characters into the string, i tried the following codes,, [code=php] $user = "some string here"; preg_match_all('/[^A-Z][^a-z_-][^0-9]/', $user, $result) [/code] but the problem is that if i give the string like : name@#$@$# it also accepted buy … | |
hi friends, actually i am new in SEO, and i read some nice thread who helped me a lot in SEO. But i have Some questions that strike head off. 1. I made directory submission for my website but did not got sufficient result :( , the category, and sub-category … | |
Re: try this one [code=php] $login = "SELECT * " . "FROM user " . "WHERE username = '".$username."' " . "AND userpass = '".$password."' " . "LIMIT 0 , 30"; [/code] cause when you start condition 'where' then no error found and not result will match in the database with … | |
Re: hopefully this will help you to solve this problem i give you an example : [code=php] $val = 1; [/code] now the html code is : [code=php] <input type="checkbox" <?php if($val == 1) { ?> checked="checked" <?php } ?> name="chk" /> [/code] i think you did a bit mistake in … | |
Re: you should have to use LONGBLOB datatype for your description. This will help you in update query. and you don't have to define any length in LONGBLOB datatype, it will work fine and display your description with normal fetch method. | |
Re: this will help you to solve this matter [url]http://www.php.net/manual/en/function.explode.php[/url] you have to explode your email string. | |
Re: [code=php] <select name="wex" value='<? echo $experience; ?>' class="ta" id="wex"> [/code] why you printing value in select box? with [code=php] value='<? echo $experience; ?>' [/code] there is not value attr in select tag | |
Re: i am starter in PHP, i mean i am not saying that i am expert in PHP, but i know i will do. but i want to know one more thing that is it an full time project or part time, i mean about timing period.. | |
Re: i think ckeditor is best for image upload or file upload but the main thing is if someone using to paste some script code then ckeditor is unable to highlight that script codes. and if you want to highlight the scripts code the use syntexhighlighter. merge both of them the … ![]() | |
Re: what problem you have??, i can't understand what you want ?? which kind of editor?? | |
Re: yes you have to put session_start() at the top on you file.. ![]() |
The End.