code not executing

Hi

having trouble with this simple php code. every time i run it, this shows up:

[b]Bob’s Auto Parts

Order Results
Your order is Processed
’ ?>
[/b]

Obviously, i dont want the ’ ?> to be displaying. im kinda new to php. pls help. dont know if somethings wrong with the code, the server (wamp) or what.

[code]

Bob's Auto Parts - Order Results

Bob's Auto Parts

Order Results
[/code]

[php]<?php

echo ‘

Your order is Processed

?>[/php]

[code]

[/code]

If this doesn’t solve we’ll need to see more of the code. I’m surprised you aren’t getting an error, but the issue is you aren’t closing your echo function with ‘;’ the other changes aren’t necessary it just a habit(preference) when I write code.
[php]<?php
echo (“

Your order has been processed successfully

”);
?>[/php]

You left the ; off php part, should have given you an error message though

Sponsor our Newsletter | Privacy Policy | Terms of Service