Serge
03-15-2003, 01:43 AM
Ok I have this query so far.
$result = mysql_query("select articleid, title, adate, email, author, body from article WHERE articleid = $id") or
die (mysql_error());
Really all I need to know is that will this query give me all the fields I want from only the one that has the matching articleid? Also the php script is called read.php so If I were to have read.php?id=1 will I need to make any extra code or will it take it right from the address and use it in the script?
$result = mysql_query("select articleid, title, adate, email, author, body from article WHERE articleid = $id") or
die (mysql_error());
Really all I need to know is that will this query give me all the fields I want from only the one that has the matching articleid? Also the php script is called read.php so If I were to have read.php?id=1 will I need to make any extra code or will it take it right from the address and use it in the script?