0

hi everyone i have problem in my code i'm create datbase and table by write in php code but in my phpmyadmin it insert the database only the table dose noe exit here my code

<?php

$connect = mysql_connect("127.0.0.1","root","");
$db = mysql_select_db("login");

mysql_query("CREATE DATABASE login");

mysql_query("CREATE TABLE users

(
id int,
fullname varchar(30),
username varchar(30),
password vaechar(32)
)");



echo "Data Inserted!";

?> 
2
Contributors
1
Reply
9
Views
4 Years
Discussion Span
Last Post by pritaeas
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.