Hey I am having a problem, I have a variable:
$var = 123456/*-http://www.google.com
I want to store the information after the /*- into an variable (http://www.google.com)
How would get that information out of that string? I just don't know where to begin.
Cheers,
Greg
Hey guys,
I think this is really simple and my brain is just not reacting right, but I am having trouble looking through a string for the characters ' , ( and ) and putting it into a db.
Here is what I have:
$vowels = array("/'/", "/,/", "/(/", "/)/");
$replacements = array("", "", "", "")...
Do you use AIM, or MSN? I could show you the actual script if you wanted.
it changes:
<input name="carol@houseoffriendship.ca" type="checkbox" id="mailto:whatever"
value="checkbox" checked>
carol@houseoffriendship.ca<br><input name="words@best-view.com" type="checkbox" id="mailto:whatever"...
The 3rd option:
foreach ($_POST as $key=>$val)
echo $key . '=' . $val . '<br>';
Worsk almost perfectly, it replaces the .'s with _'s is there a way of getting around this? as they are email addresses where they can look like
greg.harrison@gmail.com and that shows up as...
help!
I want to do a while loop using $_POST. To extract data for example I want to do something like:
while ($i < sizeof($_POST)){
print $_POST[$i];
$I++;
};
Is this possible or something like this? I want to echo each of the contents of the $_POST without knowing what the actual value is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.