Hi,
i've made a page containing php. i see som strange behaviour though it's very simple.
excerpt:
<tr>
<td width="50%">
<p align="RIGHT"><font size="1" face="Verdana, Arial, Helvetica">hometown:</font>
</td>
<td width="50%"><input type="TEXT" name="hometown" size="12" style="Font-Family : Verdana, Arial, Helvetica ; Font-Size : 8pt;" value=""></td>
</tr>
<tr>
<td width="50%">
<p align="RIGHT"><font size="1" face="Verdana, Arial, Helvetica"> email:</font>
</td>
<td width="50%"><input type="TEXT" name="email" size="12" style="Font-Family : Verdana, Arial, Helvetica ; Font-Size : 8pt;" value="<?php echo stripslashes($email);?>"></td>
</tr>
it works. the page shows up.
if i do the following:
<tr>
<td width="50%">
<p align="RIGHT"><font size="1" face="Verdana, Arial, Helvetica">hometown:</font>
</td>
<td width="50%"><input type="TEXT" name="hometown" size="12" style="Font-Family : Verdana, Arial, Helvetica ; Font-Size : 8pt;" value="<?php echo "hej"; ?>"></td>
</tr>
<tr>
<td width="50%">
<p align="RIGHT"><font size="1" face="Verdana, Arial, Helvetica"> email:</font>
</td>
<td width="50%"><input type="TEXT" name="email" size="12" style="Font-Family : Verdana, Arial, Helvetica ; Font-Size : 8pt;" value="<?php echo stripslashes($email);?>"></td>
</tr>
it works. the page shows up.
if i do:
<tr>
<td width="50%">
<p align="RIGHT"><font size="1" face="Verdana, Arial, Helvetica">hometown:</font>
</td>
<td width="50%"><input type="TEXT" name="hometown" size="12" style="Font-Family : Verdana, Arial, Helvetica ; Font-Size : 8pt;" value=""></td>
</tr>
<tr>
<td width="50%">
<p align="RIGHT"><font size="1" face="Verdana, Arial, Helvetica"><?php echo "*"; ?> email:</font>
</td>
<td width="50%"><input type="TEXT" name="email" size="12" style="Font-Family : Verdana, Arial, Helvetica ; Font-Size : 8pt;" value="<?php echo stripslashes($email);?>"></td>
</tr>
it works. the page shows up.
if i do:
<tr>
<td width="50%">
<p align="RIGHT"><font size="1" face="Verdana, Arial, Helvetica">hometown:</font>
</td>
<td width="50%"><input type="TEXT" name="hometown" size="12" style="Font-Family : Verdana, Arial, Helvetica ; Font-Size : 8pt;" value="<?php echo "hej"; ?>"></td>
</tr>
<tr>
<td width="50%">
<p align="RIGHT"><font size="1" face="Verdana, Arial, Helvetica"><?php echo "*"; ?> email:</font>
</td>
<td width="50%"><input type="TEXT" name="email" size="12" style="Font-Family : Verdana, Arial, Helvetica ; Font-Size : 8pt;" value="<?php echo stripslashes($email);?>"></td>
</tr>
it doesn't work. i see a blank page.
can anyone tell me why? it seems that the two php inserts interfere with each other. The logic is supposed to be more complex but even in this case it fails.
why?
i'm running php v5.2x on apache.
in the log it says 'no action found'.
thanks in advance.
best regards
kim