Fwd: [PHP] Help needed with mysql import

2011-03-02 Thread Ashim Kapoor
-- Forwarded message -- From: Ashim Kapoor Date: Thu, Mar 3, 2011 at 7:22 AM Subject: Re: [PHP] Help needed with mysql import To: Jim Lucas CREATE TABLE IF NOT EXISTS `ajax_products` ( > `id` int(11) NOT NULL auto_increment, > `name` varchar(64) NOT NULL default '', > `versi

Re: [PHP] Help needed with mysql import

2011-03-02 Thread Jim Lucas
On 3/2/2011 9:48 AM, Ashley Sheridan wrote: > "Jim Lucas" wrote: > >> On 3/2/2011 4:25 AM, Alex wrote: >>> You shouldn't have a default value in an auto increment field. You >> can >>> set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a >>> unique field and its automagically inc

Re: [PHP] Help needed with mysql import

2011-03-02 Thread Jim Lucas
On 3/2/2011 4:25 AM, Alex wrote: > You shouldn't have a default value in an auto increment field. You can > set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a > unique field and its automagically incremented, you should not set a > default value on it... This is fine and dandy u

Re: [PHP] Help needed with mysql import

2011-03-02 Thread Alex
You shouldn't have a default value in an auto increment field. You can set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a unique field and its automagically incremented, you should not set a default value on it... -- Sent from my Android phone with K-9 Mail. Please excuse my br

Re: [PHP] executing external php script

2011-03-02 Thread Alex
The exec function should help you there -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. "ƒAƒ‹ƒxƒ‹ƒg" wrote: hi! what I want to do is execute php script and don't wait for output. found something like this_ > /dev/null 2>&1 &`;

[PHP] executing external php script

2011-03-02 Thread ƒAƒ‹ƒxƒ‹ƒg
hi! what I want to do is execute php script and don't wait for output. found something like this - > /dev/null 2>&1 &`; ?> text - it works but I 'm curious about php synt