Crisp
02-26-2009, 09:21 PM
Hey Guys.
I seriously don't know how to code "really" good.
I don't really know where to indent and not and stuff.
For example, for a table in HTML, look how I do it:
<table width="100%" height="50" cellpadding="6"
cellspacing="0" class="backtable">
<tr>
<td valign="top">Testing</td>
</tr>
</table>
For an echo and an if in php, I do this:
<?php
if($blah ==1)
{
echo "Yes";
}
I mean, am I doing this right? and is there a site that will show how to code better or something?
Another thing is, when the line is getting full (I know it shouldn't get too long) where do I break?
Thanks IA.
I seriously don't know how to code "really" good.
I don't really know where to indent and not and stuff.
For example, for a table in HTML, look how I do it:
<table width="100%" height="50" cellpadding="6"
cellspacing="0" class="backtable">
<tr>
<td valign="top">Testing</td>
</tr>
</table>
For an echo and an if in php, I do this:
<?php
if($blah ==1)
{
echo "Yes";
}
I mean, am I doing this right? and is there a site that will show how to code better or something?
Another thing is, when the line is getting full (I know it shouldn't get too long) where do I break?
Thanks IA.