|
Posted by Reg on 02/13/06 08:46
"Piratron" <piratron05@gmail.com> wrote in message
news:dsom73$1g9$1@ss405.t-com.hr...
> Reg wrote:
>> "Nospam" <nospam@home.com> wrote in message
>> news:qWpHf.277777$vl2.155023@fe2.news.blueyonder.co.uk...
>>> hi can anyone tell me why i am receiving error msg with this php script
>>>
>>>
>>> <?php
>>> require($_SERVER["DOCUMENT_ROOT"]."/config/db_config.php");
>>>
>>> $connection = mysql_connect($db_host,$db_user,$db_passwword) or die
>>
>> Could it be because you have misspelt password as passwword ?
>> Reg
> nope, that wont generate syntax error!
>
Then could it be because the function takes only two parameters :) ?
bool mysql_select_db ( string database_name [, resource
link_identifier] )
Reg
Navigation:
[Reply to this message]
|