[PHP] email variabele aanpassen

Pagina: 1
Acties:
  • 27 views sinds 30-01-2008

  • Fubaruba
  • Registratie: Juli 2001
  • Laatst online: 23-04-2025
Ik heb de variabele

code:
1
$mail = "hallo@test.nl"


dit moet worden

code:
1
$mail = "hallo=test.nl"


Ik krijg niet voor elkaar hoe ik de apenstaart moet vervangen door een =-teken...
Kan iemand me misschien op weg helpen?

  • CrashOne
  • Registratie: Juli 2000
  • Niet online

CrashOne

oOoOoOoOoOoOoOoOoOo

replace?

Huur mij in als freelance SEO consultant!


  • NMe
  • Registratie: Februari 2004
  • Laatst online: 15-04 22:07

NMe

Quia Ego Sic Dico.

http://php.net/str_replace
http://php.net/preg_replace

Take your pick. Daar had je zelf trouwens ook best achter kunnen komen met 2 seconden Googlen ([google=replace character php]), dus doe ik je topic op slot.

'E's fighting in there!' he stuttered, grabbing the captain's arm.
'All by himself?' said the captain.
'No, with everyone!' shouted Nobby, hopping from one foot to the other.


Dit topic is gesloten.