Re: [PHP] [php] nomenclature

2003-03-22 Thread John Taylor-Johnston
Thanks jason, john. http://www.php.net/manual/en/function.mysql-fetch-object.php $row and $result Jason Wong wrote: > On Sunday 23 March 2003 13:13, John Hicks wrote: > > $result = mysql_query($sql) ; > > ^ > > while ($rec = mysql_fetch_object($results)) > > ^ > > I think $row is more c

Re: [PHP] [php] nomenclature

2003-03-22 Thread Jason Wong
On Sunday 23 March 2003 13:13, John Hicks wrote: > $result = mysql_query($sql) ; > ^ > while ($rec = mysql_fetch_object($results)) > ^ I think $row is more commonly used than $rec. And you have an extra 's' on the second $result. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz

Re: [PHP] [php] nomenclature

2003-03-22 Thread John Hicks
$result = mysql_query($sql) ; ^ while ($rec = mysql_fetch_object($results)) ^ On Saturday 22 March 2003 11:56 pm, you wrote: > Hi, > I'm writing an academic paper detailing how my > bibliographic database works. > > $myinput = mysql_query($sql) or die(print " color=red>".mysql_error().""

[PHP] [php] nomenclature

2003-03-22 Thread John Taylor-Johnston
Hi, I'm writing an academic paper detailing how my bibliographic database works. $myinput = mysql_query($sql) or die(print "".mysql_error().""); while ($mydata = mysql_fetch_object($myinput)) { } What is the usual, normal, standard nomenclature for $myinput and $mydata? How do people "usually"