Hi there
I do this:

include "mydb.php";

$id = $_POST['id'];
$virksomhed = $_POST['virksomhed'];
$kontakt = $_POST['kontakt'];
$email = $_POST['email'];
$url = $_POST['url'];
$text = $_POST['text'];
$klub = $_POST['klub'];
$by = $_POST['by'];
$postnummer = $_POST['postnummer'];
$adresse = $_POST['adresse'];

mydb_connect();

mysql_query ("UPDATE vip_list SET virksomhed = '$virksomhed', kontakt = '$kontakt', email = '$email' url = '$url', kommentar = '$text', klub = '$klub', postnummer = '$postnummer', by = '$by' adresse = '$adresse' WHERE id =$id");

// Redirect the user to the comments page
header ("Location: liste_virk.php");

Variables come from a form using post.
But my SQL dosnt happen - nothing is updated.

Is there something wrong with my query?

--
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to