- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
<?php
if (isset($_POST["butonchik"])) {
if (isset($_POST["selectik"])) {
$query2 = "SELECT * FROM $tbVoting WHERE parent = ".$_POST["selectik"];
$result2 = @mysql_query($query2) or callError();
while($line2 = mysql_fetch_array($result2, MYSQL_ASSOC)) {
$id2 = $line2["id"];
$text2 = $line2["text"];
echo $text2;
echo $id2;
}
}
else {
echo "Выберите вопрос(ы)";
}
}
?>