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 |
Explain me how failures in execution are handled with include() and require() functions?
Explain the difference between urlencode and urldecode?
When to use inquire vs enquire?
What is fulltextsearch
What are the security measures we have to take for our site not to hack by others.
3 Answers Infosys, Torque Infotech,
What is the name of scripting engine in php?
What is polymorphism?
describe arguments in header in php?
Write a program to find a string is palindrome or not?
Explain me differences between get and post methods?
What is the difference between implode() and explode() in php?
Which is the best method to fetch the data from mysql? 1.mysql_fetch_array() 2.mysql_fetch_object() 3.mysql_fetch_row() 4.mysql_fetch_assoc()