- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
$query=mysql_query("SELECT `harak`
FROM `contacts`
WHERE db_name=`MSSQL2008R2`");
$row=mysql_fetch_array($query);
echo "$row['harak']";
$a[0]=array($sybd=$_POST['sybd']);
$a[1]=array($sybd1=$_POST['sybd1']);
$a[2]=array($sybd2=$_POST['sybd2']);
$a[3]=array($sybd3=$_POST['sybd3']);
$a[4]=array($sybd4=$_POST['sybd4']);
$a[5]=array($harak=$_POST['harak']);
$a[6]=array($harak1=$_POST['harak1']);
$a[7]=array($harak2=$_POST['harak2']);
$a[8]=array($harak3=$_POST['harak3']);
$a[9]=array($harak4=$_POST['harak4']);
$a[10]=array($harak5=$_POST['harak5']);
$a[11]=array($harak6=$_POST['harak6']);
$a[12]=array($harak7=$_POST['harak7']);
$a[13]=array($harak8=$_POST['harak8']);
$a[14]=array($harak9=$_POST['harak9']);
if (isset ($_POST['sybd']) or isset ($_POST['sybd1']) or isset ($_POST['sybd2'])or isset ($_POST['sybd3']) or isset ($_POST['sybd4'])
or isset ($_POST['harak']) or isset ($_POST['harak1']) or isset ($_POST['harak2']) or isset ($_POST['harak3']) or isset ($_POST['harak4']) or isset ($_POST['harak5'])
or isset ($_POST['harak6']) or isset ($_POST['harak7']) or isset ($_POST['harak8']) or isset ($_POST['harak9']))
{
echo "<table border=1>";
echo"<tr><td></td>";
foreach ($a[0] as $sybd) {
echo "<p><td>".$sybd."</td></p>";
}
foreach ($a[1] as $sybd) {
echo "<p><td>".$sybd1."</td></p>";
}
foreach ($a[2] as $sybd) {
echo "<p><td>".$sybd2."</td></p>";
}
foreach ($a[3] as $sybd) {
echo "<p><td>".$sybd3."</td></p>";
}
foreach ($a[4] as $sybd) {
echo "<p><td>".$sybd4."</td></tr></p>";
}
foreach ($a[5] as $sybd) {
echo "<p><tr><td>".$harak."</td></p>";
echo "<p><td>nnn</td></tr></p>";
}
foreach ($a[6] as $sybd) {
echo "<p><tr><td>".$harak1."</td></p>";
echo "<p><td>ffjfj</td></tr></p>";
}
foreach ($a[7] as $sybd) {
echo "<p><tr><td>".$harak2."</tr></td></p>";
}
foreach ($a[8] as $sybd) {
echo "<p><tr><td>".$harak3."</tr></td></p>";
}
foreach ($a[9] as $sybd) {
echo "<p><tr><td>".$harak4."</tr></td></p>";
}
foreach ($a[9] as $sybd) {
echo "<p><tr><td>".$harak5."</tr></td></p>";
}
foreach ($a[10] as $sybd) {
echo "<p><tr><td>".$harak6."</tr></td></p>";
}
foreach ($a[11] as $sybd) {
echo "<p><tr><td>".$harak7."</tr></td></p>";
}