Vaupell
01-08-2009, 11:33 PM
Hi i use asp and love it cause its easy.
What i do now,
Top of doc, i add a db connection or what ever, or include it..
then make my website in http/css with tables and such..
there where i want db data input i would just add <% code required %>
how ewer on php i tryed drawing a <table> on a .php page
worked fine, until i wanted to add some php code in the tables
errors upon errors.. grr :o
cant i buildt a php page like this
----start.php------
<?php connection code to whatewer
?>
<Head></head>
<body>
</br>
content bla bla bla..</br>
</br>
<table>
<tr>
<td>
Php content after this :
</td>
<td>
<?php adding some php content ?>
</td>
<td>
more Php content after this :
</td>
<td>
<?php adding some php content ?>
</td>
</tr>
</table>
</body>
--------------End.php---------
or am i way off ?
EDIT: i didnt use code tags on purpose..
specifik for this post, code is a must read ;)
What i do now,
Top of doc, i add a db connection or what ever, or include it..
then make my website in http/css with tables and such..
there where i want db data input i would just add <% code required %>
how ewer on php i tryed drawing a <table> on a .php page
worked fine, until i wanted to add some php code in the tables
errors upon errors.. grr :o
cant i buildt a php page like this
----start.php------
<?php connection code to whatewer
?>
<Head></head>
<body>
</br>
content bla bla bla..</br>
</br>
<table>
<tr>
<td>
Php content after this :
</td>
<td>
<?php adding some php content ?>
</td>
<td>
more Php content after this :
</td>
<td>
<?php adding some php content ?>
</td>
</tr>
</table>
</body>
--------------End.php---------
or am i way off ?
EDIT: i didnt use code tags on purpose..
specifik for this post, code is a must read ;)