Jump to content

Mr.n

Members
  • Posts

    28
  • Joined

  • Last visited

    Never

Everything posted by Mr.n

  1. <html><body scroll="yes"><tbody><br><br><br><br><br><br><br><br><br><br><br><table border="0" width="520" id="table1" height="68"> <tr> <td height="29" colspan="2"><font size="4" color="darkblue"> <td width="1%"/> <hr color="blue"><center>Missions: </center></font><hr color="blue"></td> </tr> <tr> <td width="1%"/> <td height="33" width="8%"> </td> <td height="33" width="79%"> <table border="0" width="100%" id="table2" height="27"> <tr valign=top><tr valign=top><td width=8%><center><bold>ID</bold></center></td><td width=100%><center><font size="3">Name</font></center></td><td width="21"></td></tr><tr valign=top><td bgcolor="#efefef" width=8%><font size="3">126</font></td><td bgcolor="#efefef" width=100%><font size="3">Ingenieur Systeme reseaux multimedia test</font></td><td bgcolor="#efefef"><a href="execute_update_Tmission.php?ID=126"><img border="0" src="images/edit.png" width="20" height="20"></a></td><td bgcolor="#efefef"><a href="execute_delete.php?Table=Tmission&ID=126" style="width=1;height=1;"><img border="0" src="images/delete.png" width="20" height="20"></a></td></tr><tr valign=top><td bgcolor="#efefef" width=8%><font size="3">117</font></td><td bgcolor="#efefef" width=100%><font size="3">charbel</font></td><td bgcolor="#efefef"><a href="execute_update_Tmission.php?ID=117"><img border="0" src="images/edit.png" width="20" height="20"></a></td><td bgcolor="#efefef"><a href="execute_delete.php?Table=Tmission&ID=117" style="width=1;height=1;"><img border="0" src="images/delete.png" width="20" height="20"></a></td></tr></table></td></tr></table></tbody></body></html><html DIR=ltr >
  2. here is my html code produced by the php script: echo '<html><body scroll="yes"><tbody><br><br><br><br><br><br><br><br><br><br><br><table border="0" width="520" id="table1" height="68"> <tr> <td height="29" colspan="2"><font size="4" color="darkblue"> <td width="1%"/> <hr color="blue"><center>Missions: '.$this->ESearchMission->Text.'</center></font><hr color="blue"></td> </tr> <tr> <td width="1%"/> <td height="33" width="8%"> </td> <td height="33" width="79%"> <table border="0" width="100%" id="table2" height="27"> <tr valign=top><tr valign=top><td width=8%><center><bold>ID</bold></center></td><td width=100%><center><font size="3">Name</font></center></td><td width="21"></td></tr>'; $num_results = mysql_num_rows($result); if ($num_results == 0) { echo '<tr><td colspan="3"><bold>No match retrieved</bold></td></tr>'; } else { while($data=mysql_fetch_row($result)) { if ($k < $j + 6) echo('<tr valign=top><td bgcolor="#efefef" width=8%><font size="3">'.$data[0].'</font></td><td bgcolor="#efefef" width=100%><font size="3">'.$data[1].'</font></td><td bgcolor="#efefef"><a href="execute_update_Tmission.php?ID='.$data[0].'"><img border="0" src="images/edit.png" width="20" height="20"></a></td><td bgcolor="#efefef"><a href="execute_delete.php?Table=Tmission&ID='.$data[0].'" style="width=1;height=1;"><img border="0" src="images/delete.png" width="20" height="20"></a></td></tr>'); } mysql_free_result($result); } echo '</table></td></tr></table></tbody></body></html>';
  3. hello, i have a php script that prints the records fetched from a table in mysql in a <table> <tr><td>, when the number of records is higher than the size of the page, no scroll bar appear. Anyone knows how can i resolv this please? i need to allow users to see all the data printed.
×
×
  • 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.