How will you create a mysql database using php ?
Answers were Sorted based on User's Feedback
Answer / modi[achir communication]
<?php
$linkid = mysql_connect("servername", "username", "password");
mysql_query("CREATE DATABASE db");
mysql_select_db("db");
mysql_query("CREATE TABLE table (...)");
?>
Is This Answer Correct ? | 5 Yes | 2 No |
Answer / mruttu
mysql_connect('servername','username','password');
Is This Answer Correct ? | 5 Yes | 18 No |
What is filter_var?
What is the meaning of die in php?
Tell me are parent constructors called implicitly inside a class constructor?
How to create a text file in PHP?
What is difference between static and constant?
How can we optimize or increase the speed of a mysql select query?
how to select the multiple data in selection button
What are Routines?
which is the best institute for php training near delhi & NCR......& what is the fee for the same....
What is session in php w3schools?
Does php has a future?
What is the use of mvc in php?