Re: [PHP-DB] supernoob strikes again

2004-05-09 Thread Uzi Klein
PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, May 08, 2004 11:05 PM Subject: Re: [PHP-DB] supernoob strikes again Dan Bowkley wrote: Yeah, I'm back... I'm revamping my own site, finally...going for the same sort of dynamic system I was using for my last creation. Currently

Re: [PHP-DB] supernoob strikes again

2004-05-09 Thread Doug Thompson
Dan Bowkley wrote: got it...rather than return false, mysql_result throws an error if the query returns nothing. What a pain. NOT True. If the query is syntactically valid and nothing matches, mysql returns zero rows which is not an error, at least on the part of the dbms. Use mysql_num_rows()

Re: [PHP-DB] supernoob strikes again

2004-05-09 Thread Dan Bowkley
I thought 4 didn't equal 456456456%20%20OR%2012 - Original Message - From: Uzi Klein [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 09, 2004 8:04 AM Subject: Re: [PHP-DB] supernoob strikes again some input verification is recommended : http://www.dibcomputers.com/new

Re: [PHP-DB] supernoob strikes again

2004-05-09 Thread Justin Gruenberg
Dan Bowkley wrote: Yeah, I'm back... I'm revamping my own site, finally...going for the same sort of dynamic system I was using for my last creation. Currently, I have index.php returning lots of different pages from a mysql database; what I'd like to do is have a somewhat more elegant solution

Re: [PHP-DB] supernoob strikes again

2004-05-09 Thread Dan Bowkley
PROTECTED] Sent: Saturday, May 08, 2004 11:05 PM Subject: Re: [PHP-DB] supernoob strikes again Dan Bowkley wrote: Yeah, I'm back... I'm revamping my own site, finally...going for the same sort of dynamic system I was using for my last creation. Currently, I have index.php returning lots

Re: [PHP-DB] supernoob strikes again

2004-05-09 Thread Dan Bowkley
PROTECTED] Sent: Saturday, May 08, 2004 11:21 PM Subject: Re: [PHP-DB] supernoob strikes again The 404 page is also inserted into the template, or at least that's the idea...index.html?id=404 is the error page. ?id=1 is the main page, other pages are numbered accordingly. - Original

[PHP-DB] supernoob strikes again

2004-05-08 Thread Dan Bowkley
Yeah, I'm back... I'm revamping my own site, finally...going for the same sort of dynamic system I was using for my last creation. Currently, I have index.php returning lots of different pages from a mysql database; what I'd like to do is have a somewhat more elegant solution for spitting