Hello,
I'm new in PHP and MYSQL..
I need a small help...
Here is what i got:
CONDITIONS
<form action="update_conditions.php" method="post" >
<table class="maxWidth" cellspacing="0">
<tr><td >Method</td><td>Commisions</td><td>Proccess Time</td><td>Min Deposit</td><td>Max deposit</td></tr>
<tr>
<td> <input type="checkbox" name="ud_bank_wire" value="<? echo "$bank_wire"?>" /> Bank Wire</td>
<td><input name="ud_b_w_com" class="update_by" type="text" value="<? echo "$b_w_com"?>"></td>
<td><input name="b_w_proc" class="update_by" type="text" value="<? echo "$b_w_proc"?>"></td>
<td><input name="b_w_mim_d" class="update_by" type="text" value="<? echo "$b_w_mim_d"?>"></td>
<td><input name="b_w_max_d" class="update_by" type="text" value="<? echo "$b_w_max_d"?>"></td>
</tr>
</table>
UPDATE_CONDITIONS
<?php
include 'db.php';
/*ID and NAME*/
$ud_id=$_POST['ud_id'];
/*UPDATE*/
/*CONDITIONS*/
$ud_bank_wire=$_POST['ud_bank_wire'];
$ud_b_w_com=$_POST['ud_b_w_com'];
$ud_b_w_d=$_POST['ud_b_w_d'];
mysql_query("UPDATE presentation SET bank_wire='$ud_bank_wire', b_w_com='$ud_b_w_com', b_w_d='$ud_b_w_d' WHERE id='$ud_id'") or exit(mysql_error());
require('../Forex_Brokers/updated.php');
mysql_close();
?>
I need to make it somthing like that:
If (Method) Bank Wire is checcked = Show (on other page) details: commissions, proccess time, min deposit and max deposit.
So if this box is checcked it will show details and if not dont show any thing.
I hope i explane it well :-/
Thanks to all!