what is the mistake in creating table in mysql using php... please somebody help me...
$qry = "create table"`.$Test_id.`"(question_no int)";
how to create table in mysql using php variable
Moderator: General Moderators
-
vidyabhushan
- Forum Newbie
- Posts: 16
- Joined: Mon Oct 20, 2008 4:58 pm
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
Re: how to create table in mysql using php variable
Code: Select all
$qry = "create table `".$Test_id."`(question_no int)";-
vidyabhushan
- Forum Newbie
- Posts: 16
- Joined: Mon Oct 20, 2008 4:58 pm
Re: how to create table in mysql using php variable
ya i got it... thank buddy.... thank you very much....
-
vidyabhushan
- Forum Newbie
- Posts: 16
- Joined: Mon Oct 20, 2008 4:58 pm
Re: how to create table in mysql using php variable
what about this??? this one is not working..
$qry1 = "delete from table `".$Test_id."`";
$qry1 = "delete from table `".$Test_id."`";