FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Need a lil help





DanielXP
Ok im making a tagboard but for some reason it don't display the textarea but its in the page source

Code:
<?php
include("config.php");
include("check.php");
echo "<center>";
switch($_GET['action']) {

default:
echo "<form name='tagboard' method='post' action=''>
<table width='170' border='0'>
  <tr>
    <td width='170' height='220'><iframe src='tagboard.php?action=viewtags' height='220' width='170' frameborder='0'></td>
  </tr>
  <tr>
    <td width='170' height='120'><textarea name='tag' rows='5'></textarea></td>
  </tr>
</table>
</form>";
break;

case "viewtags":
echo "There are currently no tags in the tagbox!";
break;

echo "</center>";
}
?>
<style type="text/css">
<!--
body,td,th {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 12px;
   color: #000000;
}
a:link {
   color: #0066FF;
   text-decoration: none;
}
a:visited {
   text-decoration: none;
   color: #0066FF;
}
a:hover {
   text-decoration: underline;
   color: #FF0000;
}
a:active {
   text-decoration: none;
   color: #0066FF;
}
-->
</style>


and when i view the source this is what is in it

Code:
<center><form name='tagboard' method='post' action=''>
<table width='170' border='0'>
  <tr>
    <td width='170' height='220'><iframe src='tagboard.php?action=viewtags' height='220' width='170' frameborder='0'></td>
  </tr>
  <tr>
    <td width='170' height='120'><textarea name='tag' rows='5'></textarea></td>
  </tr>
</table>
</form><style type="text/css">
<!--
body,td,th {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 12px;
   color: #000000;
}
a:link {
   color: #0066FF;
   text-decoration: none;
}
a:visited {
   text-decoration: none;
   color: #0066FF;
}
a:hover {
   text-decoration: underline;
   color: #FF0000;
}
a:active {
   text-decoration: none;
   color: #0066FF;
}
-->
</style>


I need help i think it is dieing for some reason.
mathiaus
try adding a cols value as well ( <textarea name='tag' rows='5' cols='5'> ) and iframe likes a </iframe>
LukeakaDanish
can you edit it so the ["code"] tags work?
DanielXP
Thanks it was the </iframe>
Related topics
can i help?
help,Bonding
HELP!!
Help me with MySQL Account Maintenance and phpBB 2.0.15 :((
help, change pass my acc in cpanel
help me upgrade php to 5.
Need help adding a domain
help add admin in phpbb forum
[help]teach me spanish
Is n00bie an attention whore??
PHP with Frihost [need help]
Need Help Yet again :: Comment system, data from 3 tables !!
[Flash] Corporate menu
Phpbb Sessions - Need help getting guests/members.....
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.