Jump to content

[SOLVED] echoing


squiblo

Recommended Posts

hi,

with this code i dont know what the action in the form should be set to for the same page and it is not echoing out "more blah blah blah" when i click the form button.

 

<div id="pagecontent">
<table width="100%" border="0" cellspacing="20" cellpadding="0" class="pagecontent" align="left">
<tr>
    <td>Popular Categories
     </td>


     
</tr>

<tr>
    <td>blah blah blah 
<?php   
if (isset($_POST['more'])){
echo "more blah blah blah";
}
?>
 </td>	
</tr>
<tr>
   <td>
   <form action="" method="POST">
   <input type="button" name="more "value="View all categories">
   </form>
   </td>
</tr>
</table>  
</div>

Link to comment
https://forums.phpfreaks.com/topic/170985-solved-echoing/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.