You are here: Re: Build_DB PHP script « PHP Programming Language « IT news, forums, messages
Re: Build_DB PHP script

Posted by Simon on 09/27/45 11:18

> CREATE DATABASE `gamoto` ... is not the same as
>> CREATE DATABASE 'gamoto'
>>
>> in the script it should be
>>
>> CREATE DATABASE gamoto
>>
>> and
>> USE gamoto.
>
> Ahhhhh ... I see...
> So that's my problem... I thought that I can have this ` ` quotes in the
> script.
> Because the SQL code I am trying to run through php is an export from
> phpmyadmin or a Buckup from MySQL Admin....
>
> So I though it should work as it is if you run it correclty...
> But still if PHPmyadmin runs the code... it meens that I can run it some
> how ... :S
>
> Strange... thanks anyway...
> Until I get an answer I am going to remove this ` ` quotes ;)
> Thanks

I don't know the answer myself, it is either an error in the way phpMyAdmin
displays the SQL or the actual character been used in their query.
But I know that only CREATE and USE cannot have quotes (" and '), all the
others should work just fine.

Simon

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация