Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Substitution and checking expression

$
0
0

Hi,

I have a flash movie that calls a PHP script to send an email. The problem is that sometimes the variable comes like this: "Email:joe@domain.com"

How can I check and chop the "Email:" part of the variable?

And how do I remove any trailing and ending spaces after?

And - sorry for asking so many questions - do I exit the script if the result variable is null?

Kind regards,

 

Kepler


Viewing all articles
Browse latest Browse all 13200

Trending Articles