在php中接收单选框值

I have 2 following radio boxes in a form,

 <label><input type="radio" onclick="this.form.submit()" name="shfaq<?php echo $i; ?>" value="1" id="radiobuttonsondazh_0" <?php if($result['live']==1) echo 'checked'; ?> />Po</label>
 <label><input type="radio" onclick="this.form.submit()" name="shfaq<?php echo $i; ?>" value="0" id="radiobuttonsondazh_1" <?php if($result['live']==0) echo 'checked'; ?> />Jo</label>

How can i recieve the value of the radio button once the form is posted (in PHP) and the radio name its not same for all results?

Radio button lets the users select only one of the available choice. It is grouped by the radio button name. When you post the form, you will get only one value for the radio group. Keep the name of the radio buttons same and you will get the correct value for that name (i.e 1 or 0).

The radio button name should be same. Like this:

<label><input type="radio" onclick="this.form.submit()" name="shfaq" value="1" id="radiobuttonsondazh_0" <?php if($result['live']==1) echo 'checked'; ?> />Po</label>
<label><input type="radio" onclick="this.form.submit()" name="shfaq" value="0" id="radiobuttonsondazh_1" <?php if($result['live']==0) echo 'checked'; ?> />Jo</label>

Then you can receive the value of the readio button in php like this:

<?php
  echo $_REQUEST['shfaq'];
?>

You have to distinguish the radio buttons by their value, in your example:

<label><input type="radio" onclick="this.form.submit()" name="shfaq" value="shfaq<?php echo $i; ?>" id="radiobuttonsondazh_0" <?php if($result['live']==1) echo 'checked'; ?> />Po</label>
<label><input type="radio" onclick="this.form.submit()" name="shfaq" value="shfaq<?php echo $i; ?>" id="radiobuttonsondazh_1" <?php if($result['live']==0) echo 'checked'; ?> />Jo</label>

Then in your code you check $_POST['shfaq'] to see which one was selected, either shfaq0 or shfaq1 (depends on your $i of course).