wamp server shows its online but wont translate the php code
Posted by: edwardoedwin (---.orange.co.ke)
Date: July 12, 2012 03:10PM

Hey
Wamp says its online in the computer but would not translate aby php code i write.it gives an error when i try execute a page using localhost/foldername/filename and still firefos displays object not found.is there a way out?

Options: ReplyQuote
Re: wamp server shows its online but wont translate the php code
Posted by: avck (---.35.98.14.tataidc.co.in)
Date: July 12, 2012 03:57PM

try restarting it

Options: ReplyQuote
Re: wamp server shows its online but wont translate the php code
Posted by: RiggsFolly (---.as13285.net)
Date: July 12, 2012 04:37PM

Are you using the short form for the PHP tag.

i.e. <? ... code .. ?>

If you are try using

<?php ... code ... ?>

Options: ReplyQuote
Re: wamp server shows its online but wont translate the php code
Posted by: avck (---.131.98.14.tataidc.co.in)
Date: July 12, 2012 05:51PM

and make sure to add space after the 'php'
as
<?php[space]code ?> <?php if();?> and not <?phpif();?>

Options: ReplyQuote


Sorry, only registered users may post in this forum.