PHP not executing
Posted by: tim_21_s (---.msoe.edu)
Date: April 04, 2008 03:22AM

Just installed WAMP, imported the database i want to use and made a test site testing my connection to those databases.

I tried connecting through the localhost as well as the new user. neither made any output. so then I just tried to output some text and I wasn't able to.

<html>
<head>
<title> Connection Test </title>
</head>
<body>
<?
echo "first line";
?>
hello
<?
echo "second line";
?>
</body>
</html>


if you have any ideas, i'd appreciate it

Options: ReplyQuote
Re: PHP not executing
Posted by: yfastud (Moderator)
Date: April 04, 2008 05:56AM

Must use full tag <?php ... ?> if short_open_tag is not enable in php.ini

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: PHP not executing
Posted by: tim_21_s (---.msoe.edu)
Date: April 04, 2008 06:40PM

Yeah about 5 minutes after I posted that, i tried that and it worked.

thanks for the help.

Options: ReplyQuote


Sorry, only registered users may post in this forum.