Re: [PHP-DB] how to avoid showing warnings

2007-09-12 Thread Chris
Warning: mysql_query(): Your query requires a full tablescan (table Mobile_Tunes, 4 rows affected). Use EXPLAIN to optimize your query. in D:\Program Files\Apache Group\Apache2\htdocs\Breez\mtunes_main.php on line 47 Warning: mysql_query(): Your query requires a full tablescan (table Mob

Re: [PHP-DB] date problems

2007-09-12 Thread Jürgen Wind
you can mimic the old behaviour like so: select TS, 1*TS as OldStyle; (TS being your timestamp filed) TS |OldStyle 2007-09-03 15:03:02 | 20070903150302 rDubya wrote: > > WOW!! Thanks for all the help guys!! And Instruct ICC.. you're > solution for pulling the events did work.. but.. i

[PHP-DB] Re: Form processing

2007-09-12 Thread David Robley
ron.php wrote: > I am trying to set up a form which will send e-mails for "late breaking > news" and urgent e-mailings. > > If I have "Today's news" in the subject line on the e-mail it comes out > with "Today\'s news" --- how can I prevent this from happening? > > Ron Check your magic_quotes_g

Re: [PHP-DB] mssql_connect not working from command line

2007-09-12 Thread Instruct ICC
From: Chris <[EMAIL PROTECTED]> Instruct ICC wrote: Both your command php -i | grep 'php.ini' and find / -name php.ini 2>/dev/null report the single /etc/php.ini Hmm. do a php -i and look for: Configuration File (php.ini) Path => That will tell you where it's looking for the file. Maybe yo

Re: [PHP-DB] mssql_connect not working from command line

2007-09-12 Thread Chris
Instruct ICC wrote: From: Chris <[EMAIL PROTECTED]> Instruct ICC wrote: Both your command php -i | grep 'php.ini' and find / -name php.ini 2>/dev/null report the single /etc/php.ini Hmm. do a php -i and look for: Configuration File (php.ini) Path => That will tell you where it's looking fo