>>> [EMAIL PROTECTED] 2004-05-19 1:01:05 PM >>>
Hello Michael,

Wednesday, May 19, 2004, 10:00:10 AM, you wrote:
Michael> Can you post some of your code for use to look at? Including
Michael> when you're assigning values to your variables?

Try this... You might have to play with the quotes as I didn't test
it.

$sql = "INSERT INTO secuses (h1fileno, applicant) VALUES ('$_POST["h1fileno"]','$_POST["applicant"]')"

--

Cheers,
Leif Gregory
 
Leif,
 
You are a life saver!  You were very close to a solution.  What finally ended up working is:
 
$sql = "INSERT INTO secuses (h1fileno, applicant) VALUES ('$_POST[h1fileno]','$_POST[applicant]')";
 
Notice the variable names do not have to be enclosed in double quotes.
 
I would have never figured out to enclose the varibale names with $POST[].  Do you have an explanation why Sambar would need to have variables passed this way?
 
Mike
-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/


Reply via email to