is it possible to put a table with for example two columns and two rows in a xhtml site and if so what is the code. i tryied using the code used in html, but that dont work
Tables In A Xhtml Script
Collapse
X
-
here u go in xhtmlAttached FilesFailure is not when a girls leaves you, its only when you let her go virgin. heheh!!
<span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

Comment
-
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!!
<span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

Comment
-
yes that it, thanx learner. i am going to try this but tell me what does td and tr stand for?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>";[/b]
Comment
-
so why did you say this?no i know how to do that, but i need to do it in xhtml, is that possible?[/b]
i tryied using the code used in html, but that dont work[/b]this code is php integrating xhtmlCode:<?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>"; ?>
and td for table cell and tr for table row
Comment
-
cool thanks that works... and in order for me to add more rows and columns, i must just add more tr and td???[/b]that means you lied and didint really know how to code itno i know how to do that, but i need to do it in xhtml, is that possible?[/b]
and thats the proof
its damn easy code,stop copying and pasting and lying, use your brain to code iti tryied using the code used in html, but that dont work[/b]
Comment
-
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.................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[/b]
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????????
Comment
-
learn herebro 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????????[/b]
http://www.topxml.com/xhtml/articles/xhtml...les/default.asp
Comment
Comment