Re: data loop timeout...
| From: | Dallas Kropka | Date: | Wed, 11 Oct 2000 12:09:50 +0000 |
| Subject: | Re: data loop timeout... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19555@lists.php.net to get a copy of this message | ||
CANT... SLEEP.... MUST... FINISH.... CODE.....
----- Original Message -----
From: "Mukul Sabharwal" <mukulsabharwal@yahoo.com>
To: "Dallas Kropka" <dallask@firstworld.net>; <php-general@lists.php.net>
Sent: Wednesday, October 11, 2000 2:54 AM
Subject: Re: [PHP] data loop timeout...
> Well... I think you should remove all the "'s you have
> around the functions... eg. mysql_query... it's a
> function call... we want the values to returned to
> query... and not the exact value to be stored :
> "mysql_query($select)"; in the var... so remove them
> and try...
>
> --- Dallas Kropka <dallask@firstworld.net> wrote: >
> ok, i have a connection, and Im trying to do a
> > simple loop on a table.
> >
> > it bogs my system and crashes IE. could someone tell
> > me what im doing to make it do this?
> >
> > code:
> >
> >
> > echo( "<div align=\"center\">
> > <table width=\"75%\" border=\"1\">
> > <tr>");
> >
> > $select = "SELECT * FROM perm";
> > $query = "mysql_query($select)";
> > while ($res = "mysql_fetch_object($query)")
> > {
> >
> > $name = $res->name;
> > $email = $res->email;
> > $address = $res->address;
> > $city = $res->city;
> >
> > echo ("<tr>
> > <td>$name </td>
> > <td>$email</td>
> > <td>$address </td>
> > <td>$city</td>
> > </tr>"
> > );
> > }
> >
> >
> >
> > echo( "</tr>
> > </table>
> > </div>");
> >
> >
> >
> >
> > NOTE: I have been up for way too long and had much
> > too much coffiee to be doing this right now, so if
> > there is some stupid error I appologize.
> >
>
>
> =====
> To Find Out More About Me : http://mukul.tsx.org/
>
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>