How do you get data from a MySQL database with PHP according to a method id?
$sel = mysql_query("SELECT * FROM users.user_info WHERE userId='$methodId'"); $ar = mysql_fetch_array($sel);
echo "
User Id is:".$ar['userId'].", UserName: ".$ar['userName'].", Name: ".$ar['Name'].", Age: ".$ar['Age']."
";
0 comments:
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.