Getting the value of a button from a php script and posting the value to MySQL database -


I'm working on it for days, I've searched Google again and again but I do not think so properly Find I have the Menu tab, which is a php script as follows:

   & lt; "; / button & gt;"; }? & Gt;  

The result of production is:

  Billing Custom Customer Product  

When I select one That means the billing opens this #mypanel

Every time I choose an item ie Billing, the value "billing" should be posted in the panel, where I query MySQL using this value Can be database. And for the rest of the same item

Any advice will be highly appreciated Thank you in advance.

& lt; Button Type = 'There is no such thing as radio' & Gt;

& lt; Use input type = 'radio' value = 'value' & gt;

Try this:

Li & gt; & Lt; Input type = 'radio' value = '". $ Line [' name '].' '/' Gt; & Lt; Div class = 'title' & gt; & Lt; A href = '# mypanel' & gt; ". $ Line ['name']." & Lt; / A & gt; & Lt; / Div & gt; & Lt; / Li & gt; ";

In addition, there is no reason to do this in whole place: ". " Let string be string only. That is the string best. / P>


Comments