Welcome! Log In Create A New Profile

Advanced

INSERT,UPDATE AND DELETE

Posted by ngoqoza 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
INSERT,UPDATE AND DELETE
April 02, 2012 09:26PM
Helo Mac, I have a problem with my code, first it INSERT, it genrrate an error but when i click insert, it works fine because it insert the data to a table here is my code

Language: PHP
 
Thanks.

edit: Don't post your complete code here
avatar
Mac
Re: INSERT,UPDATE AND DELETE
April 03, 2012 06:59AM
Language: PHP
VALUES(';$_POST[';$car_id';]'; //needs '; in [';$car_id';] but generally better to assign it to a variable first $car_id=[';car_id';]; then insert VALUES(';$car_id';.... // else you will need to do concatenation
Sorry, you do not have permission to post/reply in this forum.