Re: php my sql question
| From: | Jason Wong | Date: | Wed, 02 Jul 2003 19:31:40 +0000 |
| Subject: | Re: php my sql question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153767@lists.php.net to get a copy of this message | ||
On Thursday 03 July 2003 01:47, Jerome A. Jackson/AC/VCU wrote:
> I have a web site that has my sql installed.
YOUR sql? You mean MySQL?
> 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.
As you're posting to a php list then I assume you're going to be writing in
php?
> This is where I am stuck. The web site uses an apache
> server. Must I install php on my local machine?
You don't *need* to install php on your local machine unless you want to test
your pages before uploading them. In which case you need to install php on
top of a webserver.
> When I save a web page
> with a php extension, it defaults to an html page and it will not work
> when I upload.
What exactly do you mean by "it defaults to an html page" ? Does the webserver
on your host have php installed? If not, then you've got the wrong hosting
package -- change to one which support php.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Many people are desperately looking for some wise advice which will
recommend that they do what they want to do.
*/