I have this code:
<select name="header" size="1">
<option value="">-- Select a header image --</option>
<option value="<?php echo "<img src='../../styles/BBQ1.jpg'>" ?>">BBQ 1</option>
<option value="<?php echo "<img src='../../styles/BBQ2.jpg'>" ?>">BBQ 2</option>
<option value="<?php echo "<img src='../../styles/BBQ3.jpg'>" ?>">BBQ 3</option>
<option value="<?php echo "<img src='../../styles/Garden1.jpg'>" ?>">Garden 1</option>
<option value="<?php echo "<img src='../../styles/Gray1.jpg'>" ?>">Gray 1</option>
<option value="<?php echo "<img src='../../styles/Wine1.jpg'>" ?>">Wine1</option>
</select>
pointing to this code on another page:
$stringData = "<table width='60%' height='95%' border='0'><tr><td colspan='2' align='center' height='75px'>$header";
fwrite($fh, $stringData);
it keeps adding backslashes to the string:
<table width='60%' height='95%' border='0'><tr><td colspan='2' align='center' height='75px'><img src=\'../../styles/BBQ3.jpg\' />
right after src= and right after bbq3.jpg
Any one know where they're coming from?