Jump to content

Assign a variable to multiple queries


snakez

Recommended Posts

Ey im just a newbie to php/mysql... i just like to ask a question regarding the sample queries below if i can assign/store a single variable to all of it and how to do it.Insert Into Mytable1(fname,lname) values('nick','smith')Insert Into Mytable2(ProdID,ProdName) values('01','PC')Insert Into Mytable3(ORno,Date) values('01','01/01/01')

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...