Hi, I learned alot about making MySql databases the last few days. But now I have a problem: I can make a MySql database with MySql maestro and I know how to connect to the server and database using php code, but I can´t seem to integrate php code that will display the records of my database in my php page (queries). I always get parsing errors... Can someone point me some places with useful php scripts that I can use to display my database records? Greetz Nick
There are lots of PHP/MySQL examples on the net. A quick Google should point you at something. For example: http://tinyurl.com/8aluw
$result = mysql_query("SELECT x FROM y WHERE a='b'"); while ($row = mysql_fetch_array($result)) { echo $row['x']; //or do what you'd like here } any specific questions - let us know Cheers, ~HN Will