WampServer
Apache, PHP, MySQL on Windows
Home forum
Back to WampServer
presentation
Downloads
Addons
Trainings
Alter Way
Go to Topic:
Previous
•
Next
Go to:
Forum List
•
Message List
•
New Topic
•
Search
•
Log In
•
Print View
help me with php
Posted by:
mak991
(85.154.162.---)
Date: March 13, 2011 06:11PM
help me
when i put this script in www and i open it in the browser it opens the the content of the script:
< ?php
require_once(‘class.Demo.php’);
$objDemo = new Demo();
$objDemo- > name = ‘Steve’;
$objAnotherDemo = new Demo();
$objAnotherDemo- > name = ‘Ed’;
$objDemo- > sayHello();
$objAnotherDemo- > sayHello();
? >
it opens the same
Options:
Reply
•
Quote
Re: help me with php
Posted by:
stevenmartin99
(---.b-ras1.srl.dublin.eircom.net)
Date: March 13, 2011 06:51PM
you have " " in your tags
<?php ?>
not < ?php ? >
Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [
pampserver.com
]
Options:
Reply
•
Quote
Go to:
Forum List
•
Message List
•
Search
•
Log In
Sorry, only registered users may post in this forum.
Click here to login