Hi,
I have a base that accepts data in and I can display all the data in a table :)
How do I make the database echo out to read only text box on a form one string at a time ?
do i have to do some .php before the <head> ?
<?php
$connection = mysql_connect("localhost","bobby","passnum") or die ("Couldn't connect to server.");
$db = mysql_select_db('"tracy_isl"', $connection) or die ("Couldn't select database.");
$Key=$_POST['id'];
$a1=$_POST['a1'];
$a2=$_POST['a2'];
$a3=$_POST['a3'];
$data = "VAREBALES `tab1` SET a1='$Name', a2='$a2', a3='$a3' WHERE ID=".'"'.$Key.'"';
$query = mysql_query($data) or die("Couldn't execute query. ". mysql_error());
?><HTML><HEAD><TITLE>boxes</TITLE><META name=GENERATOR content="MSHTML 10.00.8400.141"></HEAD><BODY>
<FORM style="BORDER-TOP-COLOR: ; BORDER-BOTTOM-COLOR: ; BORDER-RIGHT-COLOR: ; BORDER-LEFT-COLOR: " method=post action=next1.php> # 0000<INPUT value="Text Field">=id -<INPUT size=22 value="Text Field" name=a3>=a3<P> -<INPUT size=22 value="Text Field" name=a1> =a1 </P><P> about -<INPUT size=22 value="Text Field" name=a2> =a2</P><P align=center></P><P align=center> </P>
<P align=center><LAST ><TEXTAREA style="HEIGHT: 116px; WIDTH: 656px" rows=1 cols=35 name=a4>Insert Text Here=a4</TEXTAREA><NEXT></P><P align=center>tag -<INPUT value="Text Field=a5" name=a5></P>
<P align=center> </P><P>
</P><P> </P></FORM>
</BODY></HTML>
Thanks.