Mi portugues is very rusty, but I think the solution is:

$url = "<a href='alterar.php?value=" . urlencode($row->nome) . "'>";

and then print $url where ever you want. Notice the quotes and single quotes around the url.

You can learn more about this on php.net/urlencode

Cesar


Carlos Eduardo wrote:


alguem poderia me ajudar na seguinte duvida..
em uma pagina php tenho esse campo nela.
<a href=alterar.php?value=$row->nome>
para ele jogar o conteudo da linha nome para a proxima pagina
alterar.php..
mas ele joga apenas por ex:
se o nome é carlos eduardo
vai apenas
carlos , tudo que tem depois do espacamento nao vai para a pagina
alterar.php.
alguem poderia me ajudar com isso ?
Agradeço desde já


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



Reply via email to