Progged programming site

Programming source code, articles, tutorials, links and chat

Find programmers and grapic design experts at ScriptLance.com

create a MySQL database using PHP

This code snippet example shows how to  create a MySQL database using PHP

<?php

$result = mysql_create_db(”mydb”);
if ($result == false)
echo (”failure to create database”);

?>

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Sponsors