Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: lem72
  • Order by date
  1. lem72

    Getting information after a set string of characters

    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
  2. lem72

    Replacing ' , ( ) in a string with a space

    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("", "", "", "")...
  3. lem72

    Extracting data from $_POST

    ps my aim = gharrison72, msn = lem72@hotmail.com Cheers, Greg
  4. lem72

    Extracting data from $_POST

    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"...
  5. lem72

    Extracting data from $_POST

    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...
  6. lem72

    Extracting data from $_POST

    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...

Part and Inventory Search

Back
Top