lovelys Posted May 2, 2007 Share Posted May 2, 2007 Can anyone guide me to create table using php in my sql server. I want full instructor Quote Link to comment https://forums.phpfreaks.com/topic/49634-creating-table/ Share on other sites More sharing options...
DanDaBeginner Posted May 2, 2007 Share Posted May 2, 2007 how about teaching your self? a student and a prof by your self... reading tutorials will definitely help you... Quote Link to comment https://forums.phpfreaks.com/topic/49634-creating-table/#findComment-243400 Share on other sites More sharing options...
tauchai83 Posted May 2, 2007 Share Posted May 2, 2007 Can anyone guide me to create table using php in my sql server. I want full instructor the way you ask make me not really want to help you although i know it. I want full instructor--> like an order rather than ask for help. rubbish. Quote Link to comment https://forums.phpfreaks.com/topic/49634-creating-table/#findComment-243430 Share on other sites More sharing options...
lovelys Posted May 2, 2007 Author Share Posted May 2, 2007 sorry will u guys help me plz????? by the way im new bie so i made the mistake but it was not like that. sorry once again. Quote Link to comment https://forums.phpfreaks.com/topic/49634-creating-table/#findComment-243515 Share on other sites More sharing options...
Ninjakreborn Posted May 2, 2007 Share Posted May 2, 2007 You probably don't really want to start off creating tables in side php but whatever. <?php $sql = "CREATE users"; if (mysql_query($sql)) { echo "table created."; }else { echo "problem creating table."; } ?> that's it in it's most basic form, creating a table. Quote Link to comment https://forums.phpfreaks.com/topic/49634-creating-table/#findComment-243535 Share on other sites More sharing options...
Barand Posted May 2, 2007 Share Posted May 2, 2007 You need to tell it you are creating a TABLE and it's good idea to define a column or two (or more) so you can store data in it, otherwise it's as much use as a chocolate teapot. http://www.w3schools.com/sql/sql_create.asp Quote Link to comment https://forums.phpfreaks.com/topic/49634-creating-table/#findComment-243664 Share on other sites More sharing options...
lovelys Posted May 11, 2007 Author Share Posted May 11, 2007 thanx guys Quote Link to comment https://forums.phpfreaks.com/topic/49634-creating-table/#findComment-250380 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.