- Joined
- Apr 29, 2005
- Messages
- 6,407
- Reaction score
- 130
You must be registered to see links
It's not really finished yet, because I need to find a way to print the code. Anyway, feedback is appreciated.
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!<script language="JavaScript">
<!-- Begin
if (window.print) {
document.write('<form>'
+ '<input type=button name=print value="Print This Page" '
+ 'onClick="java script:window.print()"> </form>');
}
</script>
Maybe he is learning PHP making scripts like that...Erm, whats the use of it? I mean, you could write this in about 5 lines of code.. :eh:
for($i = 0; $i < intval($_GET['rows']); $i++) {
$output .= "<tr height=10>";
for($j = 0; $j < intval($_GET['colls']); $j++)
$output .= "<td width=10> </td>\n";
$output .= "</tr>\n";
}
$output = "<table border=1>" . $output . "</table>";
echo $output . "<p> " . nl2br(htmlentities($output));
You must be registered to see links
It's not really finished yet, because I need to find a way to print the code. Anyway, feedback is appreciated.