Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Insert into posts (post_id, km, Make, Model, Color) values ('a_post_with_id1', '78022', "saab", "ugly car", "ugly green");
- insert into images(img_id, post_id, image_name) values ('some random image id', '<same"a_post_with_id_1" from previous insert>, "uglycar.jpg");
- timestamp should have the NOW value set in mysql, do not send a value on the insert
Advertisement
Add Comment
Please, Sign In to add comment