Html and the echo statement
Posted: Wed Nov 26, 2008 4:48 am
Hello
I am pulling my hair out on this one, I am wondering if its wamp server 5 or its just me. I want to know why this statment wouldn't work.
<a href="<?php echo 'some address'; ?>" >Address</a>
The link appears but appears something like this -- http://localhost/some_path/<?php echo 'some address'; ?>
instead of -- http://localhost/some_path/some address
Thanks.
I am pulling my hair out on this one, I am wondering if its wamp server 5 or its just me. I want to know why this statment wouldn't work.
<a href="<?php echo 'some address'; ?>" >Address</a>
The link appears but appears something like this -- http://localhost/some_path/<?php echo 'some address'; ?>
instead of -- http://localhost/some_path/some address
Thanks.