Re: [PHP-DB] saving to two tables at the same time

2001-08-18 Thread CrossWalkCentral

I got it it appears that i had forgotten my } at the end of my secound
insert

--
Cross Walk Central
www.crosswalkcentral.net
Support Center
Your Web Hosting Community!

Jason Wong [EMAIL PROTECTED] wrote in message
004c01c127a1$7efe56a0$[EMAIL PROTECTED]">news:004c01c127a1$7efe56a0$[EMAIL PROTECTED]...
 Do you have any code snippets for us to peruse?

 --
 Jason Wong
 Gremlins Associates
 www.gremlins.com.hk


 - Original Message -
 From: CrossWalkCentral [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Saturday, August 18, 2001 10:58 AM
 Subject: Re: [PHP-DB] saving to two tables at the same time


  I have tried this but it has continued to fail the only way I have
gotten
 it
  to work is via 2 diffrent php scrips
 





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] saving to two tables at the same time

2001-08-17 Thread CrossWalkCentral

Question:

I have a form of 1/2 customer data and the other 1/2 service info. that the
custoemr fills out and when they submit it my php scrips adds the customer
infor to the customer table but it will not add the service info to the
service table?

Any one have any ideas

--
Cross Walk Central
www.crosswalkcentral.net
Support Center
Your Web Hosting Community!




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] saving to two tables at the same time

2001-08-17 Thread leo g. divinagracia iii



CrossWalkCentral wrote:
 
 Question:
 
 I have a form of 1/2 customer data and the other 1/2 service info. that the
 custoemr fills out and when they submit it my php scrips adds the customer
 infor to the customer table but it will not add the service info to the
 service table?
 
 Any one have any ideas
 

hmmm... lemme guess...  previous M$ ACCESS user?  where the forms did
all the work for you?  ;-)))

simple enough... just do two insert statements.  one for the cust table
and one for the service table...

;-)

i know, i know... access makes it easy... but trains the wrong
stuff...   ;-)

-- 
Leo G. Divinagracia III
[EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] saving to two tables at the same time

2001-08-17 Thread CrossWalkCentral

I have tried this but it has continued to fail the only way I have gotten it
to work is via 2 diffrent php scrips

--
Cross Walk Central
www.crosswalkcentral.net
Support Center
Your Web Hosting Community!

Leo G. Divinagracia III [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...


 CrossWalkCentral wrote:
 
  Question:
 
  I have a form of 1/2 customer data and the other 1/2 service info. that
the
  custoemr fills out and when they submit it my php scrips adds the
customer
  infor to the customer table but it will not add the service info to the
  service table?
 
  Any one have any ideas
 

 hmmm... lemme guess...  previous M$ ACCESS user?  where the forms did
 all the work for you?  ;-)))

 simple enough... just do two insert statements.  one for the cust table
 and one for the service table...

 ;-)

 i know, i know... access makes it easy... but trains the wrong
 stuff...   ;-)

 --
 Leo G. Divinagracia III
 [EMAIL PROTECTED]



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]