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!

<td><input name="ud_b_w_com" class="update_by" type="text"  [B]value="<? echo "$b_w_com"?>"[/B]></td>

Where these data collected from and there should be

[B]<?php[/B] echo "$b_w_com"?>

The above(yours) are two seperate files or written in a single file?

This data is collected from my DB Table= conditions.

Checked = Bank Wire
Commisions = 1%
Proccess Time = 1 day
Min Deposit = 50 $
Max Deposit = No limits

****
How can i insert into my db(table=conditions) that checkbox is checked?

If it's checked it will display data also =commisions, proccess time, min deposit and max deposit.

And if it's not checked it will be blank (do not display)

***

I hope i explane it well

Any way thanks for trying to help me..

Still I can't get you, where is the input for the fields to insert into database, I mean whether you are going to type in the textbox or what?

Ok, forgot my previous code.

How can i do this:

Insert into my db that checkbox is checked?

If it's checked it will display data also =commisions, proccess time, min deposit and max deposit.

And if it's not checked it will not display nothing.

Thanks for helping me.