ok let me explain this!
I have a database with 4 fields a b c d ( all text of various size)
I want after I've run a query ( this works) to output to a table,
The first field A would be a link to another page.
This page would have boxes so I could amend C and D.
Now I know this should be relatively simple.
but its not working and more so its making my poor head hurt 🙁 Cookies and Coffee to the person that fixes this ( or points me in the general direction!)
current code
$result = mysql_query("select * from number where number LIKE '%$num%';") or die(mysql_error());printf(" Number is: %s\n\n", $num);
echo "<table border='1'>";
echo "<tr> <th>Number</th> <th>Company</th> <th>Supplier</th> <th>Notes</th> </tr>";
while($row = mysql_fetch_array( $result )) {
echo "<tr><td>";
echo $row['Number'];
echo "</td><td>";
echo $row['Company'];
echo "</td><td>";
echo $row['Supplier'];
echo "</td><td>";
echo $row['Notes'];
echo "</td></tr>";
}
echo "</table>";
$num is retrived from a previous form.
I hope that makes sense!
Regards
John