hello,
first sorry for my english
i want to convert my web from asp to php
in the asp web i have included con.asp page in the top of all my pages witch has the connection string and sql and ado and rs
and in each page i used functions like that
do while not rs1.eof = true …
to convert that in php i have to use this
while ($rs1 = mysql_fetch_array($results)) { …
but my problem is
this variable $results had different values and in the asp its declared in the included con.asp
but if i use that in php then the value in $results is not what i need
then i tried to use while(!$rs1->eof==true) and tried while(!$rs1->eof)
but that didn’t work
so i need any function that mean while($rs not eof) but don’t want use while ($rs1 = mysql_fetch_array($results)) { …
please help me
thank you