This is a discussion on "can create database but not tables" within the Databases section. This forum, and the thread "can create database but not tables are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
can create database but not tables
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
||||
|
||||
|
can create database but not tables
i am trying to create a database with tables via injection, but i am having problems, it will create the database, but not the tables, can you see what is wrong here , thank you
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)
|
|
|
|
#2
|
||||
|
||||
|
Re: can create database but not tables
Quote:
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#3
|
||||
|
||||
|
Re: can create database but not tables
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#4
|
||||
|
||||
|
Re: can create database but not tables
very weird, its still not working, i must be missing something somewhere, but i am getting no errors
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)
Last edited by saltedm8; Sep 16th, 2007 at 10:43. |
|
#5
|
|||
|
|||
|
Re: can create database but not tables
instead of
'CREATE TABLE `form` ( try CREATE TABLE `form` ( |
|
#6
|
||||
|
||||
|
Re: can create database but not tables
Parse error: parse error in c:\program files\easyphp1-8\www\new folder (2)\input.php on line 15
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)
|
|
#7
|
|||
|
|||
|
Re: can create database but not tables
line 15 I think is this
`blog_mes` TEXT NOT NULL ) ;' TRY `blog_mes` TEXT NOT NULL ); |
|
#8
|
||||
|
||||
|
Re: can create database but not tables
nope, still the same - i think line 15 is this
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)
|
|
#9
|
||||
|
||||
|
Re: can create database but not tables
you have an excessive amount of uneeded apostrophes
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#10
|
||||
|
||||
|
Re: can create database but not tables
so which do i need, and which dont i need ? , i took this the 'create table' bit straight from the database
i have tryed this
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)
Last edited by saltedm8; Sep 16th, 2007 at 11:52. |
|
#11
|
||||
|
||||
|
Re: can create database but not tables
for one thing you need $sql to be before the query
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#12
|
||||
|
||||
|
Re: can create database but not tables
no error, but still no tables
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)
|
|
#13
|
||||
|
||||
|
Re: can create database but not tables
Quote:
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#14
|
||||
|
||||
|
Re: can create database but not tables
that did it, thank you very much
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)
|
|
#15
|
||||
|
||||
|
Re: can create database but not tables
you're welcome
you know how to put data aswell?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#16
|
||||
|
||||
|
Re: can create database but not tables
how to insert data you mean ?
this ? SELECT * FROM `form` WHERE 1 or INSERT INTO ?
Last Blog Entry: Strict and Transitional Doctype's (Sep 12th, 2008)
|