When you upload the page to the webserver and then access it, do you just
see the source?  If so then you probably don;t have PHP support as part of
your hosting package.  Call your web host and find out.  Also, if you're
really new to PHP, I'll through this out too, you did put <?PHP   ?>
arround your script right?  Once you're sure PHP is running, then check out
the online manual for MySQL functions -->
http://us2.php.net/manual/en/ref.mysql.php  You don't need PHP on your local
machine, just on the webserver.  It may be a good idea though to install a
webserver (like Apache) and PHP on your local machine, that way you can test
your scripts without uploading them to the webserver.

- Anthony


"Jerome A. Jackson/Ac/Vcu" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a web site that has my sql installed.  The web server is 1st host
> web and they do not provide much support other than referral to my sql
> and php web site.  I know how to set up a database from a text file then
> upload to an sql database.  Now I want to write code to make it open and
> access it.  This is where I am stuck.  The web site uses an apache
> server.  Must I install php on my local machine?  When I save a web page
> with a php extension, it defaults to an html page and it will not work
> when I upload.
>
> --
> Jerome A. Jackson
> Information Services Coordinator
> Advancement Services
> Virginia Commonwealth University
> Post Office Box 842026
> Richmond, Virginia 23284-2026
> Phone: 804-828-2043  Fax: 804-828-0884
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to