[PHP-WIN] converting a Recorset into an XML string

2003-01-25 Thread Octavio Herrera
; $valor_campo=$fila[$cont]; $xml.="<".$nombre_campo.">".$valor_campo."\n"; $cont++; } $xml.="\n"; $cont1++; } if($padre!="-1") $xml.="\n"; return $xml; } I hope this will be helpful for you OCTAVIO HERRERA -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: parse error, unexpected $end

2003-01-24 Thread Octavio Herrera
This is the source Code... Your Login or Password is Incorrect"; }else{ echo "\n"; for($a=0;$a<$filas;$a++){ $fila=mysql_fetch_array($rs); echo " \n"; echo " ".$fila["id"]."\n"; echo " ".$fila["name"]."\n"; echo " ".$fila["born"]."\n"; echo " ".$fila["occupation"]."\n"; echo " ".

[PHP-WIN] parse error, unexpected $end

2003-01-24 Thread Octavio Herrera
Hello, my name is octavio, Im new to this news group, I have a problem, Im getting the following error message: Parse error: parse error, unexpected $end in c:\appserv\www\octavio\user_data.php on line 63 What is this? I have looked all the source code and at the end of file there is nothing wron