Current location: Hot Scripts Forums » Programming Languages » PHP » create a database with myphpadmin


create a database with myphpadmin

Reply
  #1 (permalink)  
Old 10-13-04, 03:45 AM
jack42 jack42 is offline
New Member
 
Join Date: Oct 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
create a database with myphpadmin

hi guys..

i need some help extremely, i try to make a database with myphpadmin, but the result is:

Error
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem
ERROR: Unknown Punctuation String @ 1
STR:
SQL-query :
MySQL said:
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '<?php

i don't understand what its mean, have i made wrong movement or there' s a problem when i install it, many thanks for the ansrwer
Reply With Quote
  #2 (permalink)  
Old 10-13-04, 03:49 AM
Mikehive Mikehive is offline
Newbie Coder
 
Join Date: Dec 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
What did you try to name your new database?
Reply With Quote
  #3 (permalink)  
Old 10-13-04, 10:25 PM
jack42 jack42 is offline
New Member
 
Join Date: Oct 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
re:

i try to name it with my name, please teach me step by step how to make a database with mysql, i don't familiar with mysql
thanks so much for your answer.......
Reply With Quote
  #4 (permalink)  
Old 10-13-04, 10:30 PM
Sabu Sabu is offline
Junior Code Guru
 
Join Date: Sep 2004
Posts: 458
Thanks: 0
Thanked 0 Times in 0 Posts
ok, from what it looks like, you've tried to copy the php code for creating a database into the box for the sql code for creating a database.

Instead of trying to do the whole code yourself, perhaps you would be more successful in using PhpMyAdmin's "new database" creation prompts and pages.
__________________
define('TRUE', FALSE);
Reply With Quote
  #5 (permalink)  
Old 10-13-04, 10:37 PM
4n7hr4x 4n7hr4x is offline
Banned
 
Join Date: Jun 2004
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
CREATE TABLE tablename (info)

info being,m w/e us in talb,e for ex, id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT, name VARCHAR(20) NOT NULL, PRIMARY KEY (id)
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Form to update a MySQL database? Scoobler PHP 9 09-04-08 01:41 AM
Declared Functions skipper23 PHP 4 12-17-03 10:06 AM
index page not showing up skipper23 PHP 3 12-15-03 01:10 PM
asp: URGENT! need to change code to create new form per id seala ASP 2 09-09-03 09:54 PM


All times are GMT -5. The time now is 04:36 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.