You are here: Re: mysql_select_db doesn't work « PHP Programming Language « IT news, forums, messages
Re: mysql_select_db doesn't work

Posted by Jerry Stuckle on 06/25/05 04:50

bettina@coaster.ch wrote:
> The DB is unter MySql/Data on my local server and I send the php doc to
> my webserver to test. How can I test local? Where should I save the php
> doc?
>

You need to run the php script on the machine on which the database
resides. This means either creating the database on your server, or
installing a web server on your system to test.

"localhost" always refers to the machine on which the script or program
is running. Since PHP runs on the server, it refers to the server.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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