Hello i try to explain my situation,
I have a dynamic table so i need to build a dynamic radiobutton list and build a dynamic sql req.
First of all i build my table with radio button in a while
So the radio button is named rdYanViau ( in the html it's working no prob with that )
And in the same while i build a portion of my dynamic sql like that
So in my insert this variable give me the FieldName
and in the same while i build my $_POST variable for my sql sentence
This value is '".$_POST['rdYanViau']."'
After that i build my sql with those 2 variables, the problem is when i execute my sql insert where he's supose to insert my rdButton value ... it's insert the string '".$_POST['rdYanViau']."' who give me a 0 in the table, he's not getting the value of '".$_POST['rdYanViau']."' he's inserting the string in the table.
Here's the echo of my sql sentence :
my echo should look like :
How i can build this dynamic sentence and have the radiobutton value and not the string value ...
I hope you can understand my problem.
Yan.