Page 1 of 1

plz help me

Posted: Thu Feb 06, 2003 4:37 am
by forgun

Code: Select all

$pathї] = 
array(
$_POSTї'T1'] ,
$_POSTї'T2'] ,
$_POSTї'T3'] ,
$_POSTї'T4'] ,
$_POSTї'T5']
);
$kaysї] =
array(
$_POSTї'kay1'] ,
$_POSTї'kay2'] ,
$_POSTї'kay3'] ,
$_POSTї'kay4'] ,
$_POSTї'kay5']
);
$type = $_POSTї'D1'];
  check($type,$kays,$path);
function check($type , $kays , $path) {
	foreach ($kays as $val => $kay) {
		for ($i = 0 ; $i <= $val ; $i++) &#123;
			if ($kay) &#123;
				echo "<span lang="he">&#1497;&#1513;&#1504;&#1492; &#1496;&#1506;&#1493;&#1514; &#1513;&#1499;&#1495;&#1514;&#1492; &#1500;&#1513;&#1497;&#1501; &#1502;&#1497;&#1500;&#1514; &#1502;&#1508;&#1514;&#1495;<br/></span>";
			&#125;
		&#125;
	&#125; foreach ($path as $val => $tpath) &#123;
		for ($i = 0 ; $i <= $val ; $i++) &#123;
			if ($tpath) &#123;
				echo "<span lang= "he">&#1497;&#1513;&#1504;&#1492; &#1496;&#1506;&#1493;&#1514; &#1513;&#1499;&#1495;&#1514;&#1492; &#1500;&#1513;&#1497;&#1501; &#1491;&#1512;&#1498; &#1513;&#1500; &#1492;&#1511;&#1493;&#1489;&#1509;<br/></span>";
			&#125;
		&#125;
	&#125; sends($type , $kays ,$path);
&#125;
its give me all the time the error msg even id $path and $kays is not null

Posted: Thu Feb 06, 2003 10:40 am
by volka
its give me all the time the error msg even id $path and $kays is not null
what error message?

Posted: Thu Feb 06, 2003 10:45 am
by forgun
the error is the msg that is wirte on the script
but the prob
is
is the the vars $kays and $path
are not null the error (no any of php)is show and look like is not continue
to the next step to the function sends

Posted: Thu Feb 06, 2003 10:59 am
by volka
so for reproducing the error we need at least values for
$_POST['T1-5'], $_POST['kay1-5'] and $_POST['D1'].
Maybe even the code for sends();
If I'm in bad mood :twisted: I totally ignore posts with topics such as "doesn't work at all", "plz help me", "need quickly" and I think so do most people here...
Giving even the slightest clue might increase the probability of help a lot ;)

Posted: Thu Feb 06, 2003 11:15 am
by forgun
ok i will put bettr topic 10X