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
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
$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().""
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"
4 matches
Mail list logo