Re: [PHP] ->>coding help

2001-06-25 Thread Richard Lynch
Oh yeah: I forgot: *AFTER* the loop, you need to add another spurious . You'll have an empty row with no TD's in it, and the browser won't even put in a blank line or anything. Just spew out an extra at the end and call it done. -- WARNING [EMAIL PROTECTED] address is an endangered species -

Re: [PHP] ->>coding help

2001-06-24 Thread Hugh Bothwell
""McShen"" <[EMAIL PROTECTED]> wrote in message 9h3lrv$dn$[EMAIL PROTECTED]">news:9h3lrv$dn$[EMAIL PROTECTED]... > Hi > > I have a script which queries mySQL and outputs 32 links at once. How 'bout this? === define("PER_ROW", 2); $row = Array(); $in_row = 0;

RE: [PHP] ->>coding help

2001-06-24 Thread Jason Lotito
ttp://www.newbienetwork.net/ciao.php PHP, MySQL, PostgreSQL Tutorials, Code Snippets, and so much more > -Original Message- > From: McShen [mailto:[EMAIL PROTECTED]] > Sent: Sunday, June 24, 2001 10:45 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] ->>coding help > &

Re: [PHP] ->>coding help

2001-06-24 Thread McShen
Jason, your scripts works prefectly in creating a table. But, It only ouputs the first query from the databse. Others are not shown. ""Jason Lotito"" <[EMAIL PROTECTED]> wrote in message 000f01c0fc67$abfe3a90$72003bd0@genric">news:000f01c0fc67$abfe3a90$72003bd0@genric... > This should work... > >

RE: [PHP] ->>coding help

2001-06-23 Thread Jason Lotito
This should work... \n"; for ($j = 0; $j < $num; $j++) { echo '\n'; for ($i = 0; $i <= 1; $i++) { @$result = mysql_fetch_array($result); @$id = $result[id]; @$title = $result[title]; echo "

Re: [PHP] ->>coding help

2001-06-23 Thread Carmen & Gene
McShen wrote: > Hi > > I have a script which queries mySQL and outputs 32 links at once. Here is my > scipt > > > $connection = mysql_connect("***","",""); > if ($connection==false) >{ > echo mysql_errno().":".mysql_error().""; > exit; >} > > $end = $list + 16; > > $