Re: [PHP] -coding help

2001-06-25 Thread Richard Lynch
Oh yeah: I forgot: *AFTER* the loop, you need to add another spurious /TR. 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 /TR at the end and call it done. -- WARNING [EMAIL PROTECTED] address is an endangered

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... ?php

RE: [PHP] -coding help

2001-06-24 Thread Jason Lotito
, 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 Jason, your scripts works prefectly in creating a table. But, It only

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-23 Thread Carmen Gene
McShen wrote: Hi I have a script which queries mySQL and outputs 32 links at once. Here is my scipt ?php $connection = mysql_connect(***,,); if ($connection==false) { echo mysql_errno().:.mysql_error().; exit; } $end = $list + 16; $query = SELECT *

RE: [PHP] -coding help

2001-06-23 Thread Jason Lotito
This should work... ?php $connection = mysql_connect(***,,); if ($connection==false) { echo mysql_errno().:.mysql_error().; exit; } $end = $list + 16; $query = SELECT * FROM refer ORDER BY hits desc LIMIT $list, $end; $result = mysql_db_query (celebzone, $query); $num =