try leaving off the brackets:
$q = mysql_query("UPDATE prstv SET FULL = FULL + $link");
If your statement is placed within double quotes, you don't need to escape your variable unless it is an array variable ($array['sol']) that contains quotes, in which case you need to use curly braces
$var = "blah blah {$array['sol']} blah blah";
Single quotes is a different matter - complete pain.
//EDIT
Hold on - just looked at your vars again
$link = "<input type='int' name='Full' size='7'>";
I assumed that $link was an integer as asked previously. But it's not is it? It's a bit of text. Sort that out. By the way never heard of 'type="int"' - what is it?
diafol
Rhod Gilbert Fan (ardav)
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
Perhaps I'm missing something here:
$link = "<input type=... (etc)...>"
Is this still the case? Is $link a string variable? You can't place the value of a form field within a variable like this. The variable stores the literal string (
diafol
Rhod Gilbert Fan (ardav)
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
THis was my thought:
Page returned: Valid query: \"******\" - with ****** as an input box
The $link variable contains a literal string for the input form field, not the actual value. Try putting this at the top of the page:
$link = $_POST['Full'];
diafol
Rhod Gilbert Fan (ardav)
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080