This is driving me crazy and should be very easy. I am trying to pre-fill an html form with session data using echo. I can compile and run but the form field contains a / if the session data is blank. How can I get rid of the /
Heres the code:
<input name="fname" type="text" class="textfield" id="fname" value = <?php echo $_SESSION["namevalue"]; ?> />
I have tried several combinations of '"` etc and it seems I am just missing the obvious. Thanks in advance - anyone.