Originally posted by bakaneko
still doesnt work... i get cant query this is my exact line =(
$query = "insert into member (data1) values ('$temp') where login = '$user'";
$result = mysql_query($query) or die ("cant query");
I hade a look for an while and then it struck me ....
You cant do an insert with an where clause.
this needs to be an update.
So then the code look like this
$query = "update member set data1 = $temp where login = $user";
$result = mysql_query($query) or die "Cant execute update";
That should do the trick.
Fox_m