You are here: Re: [PHP] mysql_connect() error « PHP « IT news, forums, messages
Re: [PHP] mysql_connect() error

Posted by Cristea Adrian on 09/03/05 15:29

Are you sure that is the 5-th line of your script? please give us
first 1-10 lines (remove confidential data) for debuging...

On 9/3/05, php general help <php-general@lists.php.net> wrote:
> Hi
>
> guys hope you can all help me here. im in the middle of making a script ( im
> still quite new), anyway im getting this error Parse error: syntax error,
> unexpected T_STRING in c:\wamp\www\cms\header.inc on line 5 and on line 5 is
> mysql_connect($dbhost, $dbusername, $dbpassword) , i know its the
> mysql_connect() function thats giving me the error though cant seem to get
> it sorted. below is the versions im using
>
> Apache version : Apache/1.3.33 (Win32)
> PHP version : 5.0.4
> MySQL version : 4.1.10a-nt - extension : mysqli
> all the above come in a bundle package called ( wampserver )
> have also posted on wampservers forums for help
> im using windows xp home.
>
> Hope you guys can help me.
>
> Thanks
> Steve
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

 

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

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