select query in php

38

$mquery = mysql_query("SELECT * FROM 
users where `userid
` = 1");
$result = mysql_fetch_arrray($mquery);
echo $result['name'];

Comments

Submit
0 Comments