problem of transmitting variable from page to another page.

problem of transmitting variable from page to another page.

am 02.12.2005 12:08:25 von Mohamed Yusuf

------=_Part_41345_14051395.1133521705280
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I am transmitting variable from one of my pages and I would like to match
that variable into mysql data. it won't return data.
my code is this.

echo "| |";
if ($j == Z) {
break;
}
} ?>
this code in my index page prints alphabetical letters from A-Z. and I woul
like to transmit that variable into my alpha.php page and select mysql
database what ever the value of $j is, but i have problem I can't figured
out what is wrong. can somebody help me.

------=_Part_41345_14051395.1133521705280--

Re: problem of transmitting variable from page to another page.

am 03.12.2005 13:51:20 von El Bekko

Mohamed Yusuf wrote:
> I am transmitting variable from one of my pages and I would like to match
> that variable into mysql data. it won't return data.
> my code is this.
>
> > echo "| |";
> if ($j == Z) {
> break;
> }
> } ?>
> this code in my index page prints alphabetical letters from A-Z. and I woul
> like to transmit that variable into my alpha.php page and select mysql
> database what ever the value of $j is, but i have problem I can't figured
> out what is wrong. can somebody help me.
>
Try

for ($j=A; $j <= Z; $j++)
{
echo "| |";
if ($j == Z)
{
break;
}
}
?>

I'm using a similar thing, except my data comes from a database and then
refers to a page. And it works fine (check
http://icstrategy.midgetforhire.com/Strategies.php). If this doesn't
work, it's odd :P

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php