Hi, i've looked around at various ways to put text fields
and other data and organise it into tables, I have a script (below)
which simply has a bunch of text fields, and a bunch of text labels next to them, I simply want to align them and the simplest way i could think of would be to put it all in a table. - one column for the labels of the fields and one column for the text fields, with a row for each one, e.g. Name: text field...
However whenever I try using the <TD></TD> tags my whole pages gets muddled up...
echo "<font color = \"#FFFFFF\" style=bold>Name:</font>";
echo "<input name='name' value=" . $row["CustName"] . ">";
echo "<br>\n";
echo "<font color = \"#FFFFFF\" style=bold>Surname:</font>";
echo "<input name='surname' value=" . $row["CustSurname"] . ">";
echo "<br>\n";
echo "<font color = \"#FFFFFF\" style=bold>Home Phone:</font>";
echo "<input name='hphone' value=" . $row["CustPhHome"] . ">";
echo "<br>\n";
echo "<font color = \"#FFFFFF\" style=bold>Mobile Phone:</font>";
echo "<input name='mphone' value=" . $row["CustPhMob"] . ">";
echo "<br>\n";
echo "<font color = \"#FFFFFF\" style=bold>Street Number:</font>";
echo "<input name='snumber' value=" . $row["StreetNumber"] . ">";
echo "<br>\n";
echo "<font color = \"#FFFFFF\" style=bold>Street Name:</font>";
echo "<input name='sname' value=" . $row["StreetName"] . ">";
echo "<br>\n";
echo "<font color = \"#FFFFFF\" style=bold>Suburb:</font>";
echo "<input name='suburb' value=" . $row["Suburb"] . ">";
echo "<br>\n";
echo "<font color = \"#FFFFFF\" style=bold>Postcode:</font>";
echo "<input name='postcode' value=" . $row["Postcode"] . ">";
echo "<br>\n";
echo "<font color = \"#FFFFFF\" style=bold>City:</font>";
echo "<input name='city' value=" . $row["City"] . ">";
echo "<br>\n";
I hope someone could help me with this, i appreciate your time, thanks