don't display hello on my screen
Posted by: Daniel (---.l3.c4.dsl.pol.co.uk)
Date: January 26, 2006 11:30PM

I run the localhost of index.php and it is working - display info().
One problem of test.php as I ran a simple script such as...

<?
echo "hello";
?>

and it send me to a blank page on localhost . what it the problem?

Please help as soon as possible. Thank you Daniel

Re: don't display hello on my screen
Posted by: Daniel (---.l3.c4.dsl.pol.co.uk)
Date: January 26, 2006 11:34PM

Sorry I forget to tell you more information. i have installed wamp on xp home edition. Do you think it need xp professional than home edition.

Re: don't display hello on my screen
Posted by: Dominique Ottello (---.fbx.proxad.net)
Date: January 27, 2006 05:00PM

Don't use short tags.

Write "<?php" in place of "<?".

Re: don't display hello on my screen
Posted by: Nick Clark (---.server.ntli.net)
Date: February 19, 2006 03:46AM

I had the same problem with my home edition. When I used "<?php" ....it worked!

Can you explain why this happened? I'm new to php and databases

Thank you

Nick

Re: don't display hello on my screen
Posted by: Robert (---.eburwd3.vic.optusnet.com.au)
Date: February 19, 2006 05:29AM

Hi Nick.
Easy.

Always use <?php
Dont use short tags.

Install something decent that uses PHP/MySQL and have fun learning.
You might like to read my post regarding running a website on your server.

[forum.wampserver.com]

Re: don't display hello on my screen
Posted by: Nick Clark (---.server.ntli.net)
Date: February 19, 2006 08:25PM

Thanks Robert

That makes things clear about the php.

I read your article and found it helpful.

Started my php tuition but I still have a problem with part of my Wamp program!

Can you tell me why when I open my "Welcome to phpMyAdmin 2.7.0-pl2" page I get the following:

Error
MySQL said: #1045 - Access denied for user 'root'@'localhost' (using password: YES)

Have I missed something during the installation? Can you help?

My previous experience is with coding HTML and not much else I'm affraid!

Cheers

Nick


Re: don't display hello on my screen
Posted by: Nick Clark (---.server.ntli.net)
Date: February 19, 2006 10:04PM

Whoops cancel all that! Everything works fine now and I've fixed the problem

Cheers

Nick

Sorry, only registered users may post in this forum.