Answer Posted / 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 |
Post New Answer View All Answers
Is overloading possible in php?
How a variable is declared in php?
Is php case sensitive?
What function should you use to join array elements with a glue string?
How to insert a line break in php string?
What is the use of 'print' in php?
What are the advantages of php?
When do you use define() and when do you use const. What are the main differences between those two?
What is php session start?
What are magic methods?
What is a definer in mysql?
Tell me what is the actually used php version?
What is difference between print_r and echo in php?
Suppose we receive a form submitted by a post to subscribe to a newsletter. This form has only one field, an input text field named email. How would we validate whether the field is empty? Print a message "the email cannot be empty" in this case?
What are examples of independent and dependent variables?