Switch to full style
PHP examples
Post a reply

select query example in php

Wed Oct 26, 2011 12:48 am

select query example

Code:

 
function get_user($username
     {
       
$query ="select * from   user  where username='$username' ";
       
$result=mysql_query($query) ;
        echo 
mysql_error();
        return 
$result
     }
 




Post a reply
  Related Posts  to : select query example in php
 Select odd rows from table     -  
 Change the content of select tag using JQuery     -  
 Select all links with a target attribute value NOT _blank     -  
 Javascript select menu validation issue     -  
 Javascript Validation On Multiple Select Lists     -  
 SELECT-Group by and Order by,Having Clause,count(),Joins     -  
 EJB-QL IN where query     -  
 update query example     -  
 using parameter with name query     -  
 Run query and search from ASP     -  

Topic Tags

PHP Database