RE: [PHP] Damn escaping... Grunf...

2005-03-21 Thread YaronKh
Hi

Try using  instead of '
Meaning you should write:

Print (a href =\http://www.dte.ua.pt/cv/email=?.$recordSet-fields[0]. \ 
br /);



-Original Message-
From: Mrio Gamito [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 21, 2005 12:50 PM
To: php-general@lists.php.net
Subject: [PHP] Damn escaping... Grunf...

Hi,

I want this code to display peoples' names within an hyperlink.
I'm tired of trying different ways, read all about it in PHP's manual, 
but i can't get it there.

You can visit http://www.dte.ua.pt/cv
In the rightmost column it is suposed to apear two name below Links, 
but... it doen't, becuase i can't straight the escaping :(

Any help would be apreciated.

The code follows my signature.

Warm Regards,
Mrio Gamito

--

// select names to display in the right column
   $recordSet = $conn-Execute('SELECT name FROM users');

   while (!$recordSet-EOF) {
print ('a href=\'http://www.dte.ua.pt/cv/email=?' . 
$recordSet-fields[0] . '\'' . 'br /');
$recordSet-MoveNext();
   }

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



Re: [PHP] Damn escaping... Grunf...

2005-03-21 Thread Mrio Gamito
Hi Yharonkh,
Thanks a lot.
It really did the trick :)
Regards,
Mrio Gamito
[EMAIL PROTECTED] wrote:
Hi
Try using  instead of '
Meaning you should write:
Print (a href =\http://www.dte.ua.pt/cv/email=?.$recordSet-fields[0]. \ br 
/);

-Original Message-
From: Mrio Gamito [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 21, 2005 12:50 PM
To: php-general@lists.php.net
Subject: [PHP] Damn escaping... Grunf...

Hi,
I want this code to display peoples' names within an hyperlink.
I'm tired of trying different ways, read all about it in PHP's manual, 
but i can't get it there.

You can visit http://www.dte.ua.pt/cv
In the rightmost column it is suposed to apear two name below Links, 
but... it doen't, becuase i can't straight the escaping :(

Any help would be apreciated.
The code follows my signature.
Warm Regards,
Mrio Gamito
--
// select names to display in the right column
   $recordSet = $conn-Execute('SELECT name FROM users');
   while (!$recordSet-EOF) {
print ('a href=\'http://www.dte.ua.pt/cv/email=?' . 
$recordSet-fields[0] . '\'' . 'br /');
$recordSet-MoveNext();
   }

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