MySQL Forums
Forum List  »  PHP

Multiple Queries
Posted by: Salim Ali
Date: February 16, 2014 02:05AM

Hi,
I have quey like below, Let me please know that what is wrong in this

$sql="INSERT INTO eventregistration (firstN, lastN, orgN,event_id)
VALUES
('$_POST[firstN]','$_POST[lastN]','$_POST[orgN]','$_POST[event_id]');
SELECT * FROM eventlist WHERE event_id= '+$event_id+';";

Options: ReplyQuote


Subject
Written By
Posted
Multiple Queries
February 16, 2014 02:05AM
February 17, 2014 07:37AM
February 17, 2014 12:30PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.