Re: insert failed!
bill_at_here.com
Date: 03/06/05
- Next message: Janwillem Borleffs: "Re: insert failed!"
- Previous message: bill_at_here.com: "Re: insert failed!"
- In reply to: bill_at_here.com: "Re: insert failed!"
- Next in thread: Janwillem Borleffs: "Re: insert failed!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 6 Mar 2005 15:19:05 -0000
> problem seems to be fixed. for the record i will say what i did.
>
> first after hours of trying i switched off pc and read magazine (closer).
>
> then came back to problem and changed the insert query from:
>
> mysql_query("INSERT INTO blisssession
>
(cust_id,customer,price,duration,bed,teammember,comments,date,day,month,minu
> te,hour) VALUES
>
('$cust_id','$customer','$price','$duration','$bed','$teammember','$comments
> ','$date2','$day','$month','$minute','$hour')") or die(" could not perform
> insert");
>
> to:
>
> mysql_query("INSERT INTO blisssession VALUES
>
('$cust_id','$customer','$price','$duration','$bed','$teammember','$comments
> ','$date2','$day','$month','$minute','$hour')") ;//or die(" could not
> perform insert");
>
>
> AND IT WORKED.
>
> but i dont know why... can any of you see why? or would you need table
> details?
>
NO IT DIDNT WORK. it just looked like it worked because i removed 'or
die("could not perform insert");'
so any help appreciated!
- Next message: Janwillem Borleffs: "Re: insert failed!"
- Previous message: bill_at_here.com: "Re: insert failed!"
- In reply to: bill_at_here.com: "Re: insert failed!"
- Next in thread: Janwillem Borleffs: "Re: insert failed!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|