Joined: Tue Mar 27, 2007 10:55 pm Posts: 2279 Location: Earth Has thanked: 39 time Have thanks: 61 time
select query example
Code:
function get_user($username) { $query ="select * from user where username='$username' "; $result=mysql_query($query) ; echo mysql_error(); return $result; }
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )