astaroth Posted May 5, 2003 Share Posted May 5, 2003 actually it\'s a newbie question..... i need to make a table inside a php code... do i have to write like $sql=(create temporary table KWTemp type=heap (ID int auto_increment primary key not null, KW varchar(255) not null)\"); OR can i it work without the $sql just (create temporary tabel ....) Quote Link to comment Share on other sites More sharing options...
pallevillesen Posted May 6, 2003 Share Posted May 6, 2003 You have to send it to the mysql server using the mysql_query() function.. Whether you put the sql statement in a variable first or directly in the mysql_query(\"Select....\"); doesn\'t matter.... I prefer the first due to readability. P. Quote Link to comment 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.