Tables In A Xhtml Script
Started on the old forum in June 2008 · view the original in the archive · old links redirect here
aww really?but here is an html file I coded for you that has two columns and two rows.
here u go in xhtml
Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!
maybe u mean this?
echo "<table border="2">"; echo "<tr><td>Row 1 Collumn 1</td><td>Row 1 Collumn 2</td></tr>"; echo "<tr><td>Row 2 Collumn 1</td><td>Row 2 Collumn 2</td></tr>"; echo "</table>";
Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!
maybe u mean this? echo "<table border="2">"; echo "<tr><td>Row 1 Collumn 1</td><td>Row 1 Collumn 2</td></tr>"; echo "<tr><td>Row 2 Collumn 1</td><td>Row 2 Collumn 2</td></tr>"; echo "</table>";
yes that it, thanx learner. i am going to try this but tell me what does td and tr stand for?
no i know how to do that, but i need to do it in xhtml, is that possible?
so why did you say this?
i tryied using the code used in html, but that dont work
<?php
header("Content-type: text/html; charset=ISO-8859-1");
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\"\"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
echo "<head><title>Rukiya</title></head><body>";
echo "<table border=\"2\">";
echo "<tr><td>Row 1 Collumn 1</td><td>Row 1 Collumn 2</td></tr>";
echo "<tr><td>Row 2 Collumn 1</td><td>Row 2 Collumn 2</td></tr>";
echo "</table>";
echo "</body></html>";
?>
this code is php integrating xhtml and td for table cell and tr for table row
cool thanks that works... and in order for me to add more rows and columns, i must just add more tr and td???
no i know how to do that, but i need to do it in xhtml, is that possible?
that means you lied and didint really know how to code it and thats the proof
i tryied using the code used in html, but that dont work
its damn easy code,stop copying and pasting and lying, use your brain to code it
that means you lied and didint really know how to code it and thats the proof
its damn easy code,stop copying and pasting and lying, use your brain to code it
bro you must be high on something, i tried it in xhtml format and i kept on getting parsing errors, i did it in html and it worked fine, but my scripts are not in html format.................
and i thought there might be a different kind of syntax used rather than the tr and td. but it stays the same....
im still new to php so dont tell me im doing wrong, why not use your brain!!! i was just asking a simple question or asking for help...... is this not what this forum is for????????
bro you must be high on something, i tried it in xhtml format and i kept on getting parsing errors, i did it in html and it worked fine, but my scripts are not in html format.................
and i thought there might be a different kind of syntax used rather than the tr and td. but it stays the same....
im still new to php so dont tell me im doing wrong, why not use your brain!!! i was just asking a simple question or asking for help...... is this not what this forum is for????????
learn here http://www.topxml.com/xhtml/articles/xhtml...les/default.asp
thank you thats all i was looking for.
another thing: i am going to try this now, can i excecute sql queries in these tables?
yes you can