Muumigirl :) wrote:
> I would like to see all the lines of the database
> so that some entries are as regular text (name,
> address) and some are in a textbox (date,
> comment), and that I could update them when I need
> to.
> Is this possible? The solution, that all entries
Yes it is possible.
> The existing code is:
> <?php
> $server = 'freesql.org';
> $user = 'xxx';
> $pass = 'xxx';
> $db = 'xxx';
> $conn = mysql_connect($server, $user, $pass);
> mysql_select_db($db, $conn);
>
> $result = mysql_query("SELECT
> name,date,adress,comment FROM tabel1;");
>
> while ($query = mysql_fetch_array($result))
>
> ?>
Please use mysqli_* if you can (MySQL 4.1+, PHP 5+). Also, don't expect anybody to write a script for you, unless you pay for it ;-). There are re plenty of excellent tutorials on the net, please search for one. For example, this was my first google hit for "tutorial mysqli form":
http://www.zend.com/php/beginners/php101-8.php?article=php101-8&kind=101&id=7440&open=1&anc=0&view=1
Ulf