Home   News  Product reviews  Website reviews  Forums   Competitions  Subscribe 
Click for the best Google Earth extras


Web Building >> Web design & build
 |  Print Topic
Jump to first unread post. Pages: 1
michaelleeds2711
regular


Reg'd: Sun
Posts: 65
Loc: Brighton
PHP and mysql help please
      #9667 - Tue Sep 09 2003 02:57 AM

Hi,
I design web sites but normally use html and sometimes web design software like namo 3 and frontpage express, but with the advent of php and mysql i thought i would broaden my range. But I hit a brick wall on my 1st attempt. I have downloaded mysql and have the green traffic light on to show it is working. I also downloaded php and installed that and had the grey box saying it had successfully installed.i placed the black dot in the microsoft pws on windows 9x me when installing the php, I am running windows XP home edition. I have just typed the following into my browser as if i were making a html web site.
<html>
<head>
<title>PHP test</title>
<meta name="generator" content="Namo WebEditor v3.0">
</head>

<body>
<p> this is an HTML line
<p>
<?php
echo "This is a PHP line";
phpinfo();
?>
</body>

</html>
And what is supposed to happen is it says This is an HTML line
This is a PHP line

but ....................all i get is the This is an HTML Line and nothing else. Can some one please help me i am going in circles because i just do not know what to do.

Many Thanks

Michael (Hair thinning now due to pulling most of it out trying to fathom PHP)
http://www.anxious-times.co.uk non profit web site to help people understand Anxiety.


Post Extras: Print Post   Remind Me!   Notify Moderator  
ChrisMellor
regular


Reg'd: Tue
Posts: 112
Loc: Leeds
Re: PHP and mysql help please [Re: michaelleeds2711]
      #10090 - Thu Sep 11 2003 07:50 PM

Did you save your page as '{page}.php ?

Remember to use the PHP extention when using PHP in your pages. If that's not the case, then you've configured PHP wrong.


Post Extras: Print Post   Remind Me!   Notify Moderator  
michaelleeds2711
regular


Reg'd: Sun
Posts: 65
Loc: Brighton
Re: PHP and mysql help please [Re: ChrisMellor]
      #10883 - Wed Sep 17 2003 05:37 PM

Hi Chris,
Apologies for replying late to your response.
Thank you yep i forgot to place .php on the end of the files lol (matron will be round soon with my medication) lol

I didnt realise you had to put php at the end how stupid is that lol Many thanks for your help the php works fine just trying to sort out the mysql then i am cooking on gas

Many Thanks

Michael
http://www.anxious-times.co.uk non profit web site to help people understand Anxiety.


Post Extras: Print Post   Remind Me!   Notify Moderator  
peterstone
new user


Reg'd: Tue
Posts: 3
Re: PHP and mysql help please [Re: michaelleeds2711]
      #103054 - Mon Aug 30 2004 12:06 PM

on a server - how to disable phpinfo.php from showing all the configuration info?


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1

Rate this topic

Jump to


Extra information
0 registered and 7 anonymous users are browsing this forum.

Moderator:  putasolutions, Joe_London, greysts, bricat, Nanook, Hello_There, John_McKenna, Mouse, TheFatControlleR 


Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      Mark-up is enabled

Rating:
Topic views: 116

Contact Us | Privacy statement Main website