Likes Received By nico_swd

  1. whiteblue1942 liked nico_swd's post in the thread when to use "echo" and when to use "print".

    I summed it up on another forum: http://www.programmingtalk.com/showpost.php?p=141047&postcount=6

    Mar 15, 2008
  2. Kerosene liked nico_swd's post in the thread Get variables from another php file without 'including' it?.

    ob_start(); include 'myvars.php'; ob_end_clean(); echo $var1;

    Mar 14, 2008
  3. smatts9 liked nico_swd's post in the thread does anyone know how to make this work.

    And the problem is...?

    Mar 13, 2008
  4. Silver89 liked nico_swd's post in the thread Extract txt from url html.

    Yeah... does it work now for you?

    Mar 12, 2008
  5. prilep liked nico_swd's post in the thread I can predict the future! Ask your questions now!.

    ^ Wasting time is the purpose of GC. I guess you're in the wrong section then...

    Mar 12, 2008
  6. craigedmonds liked nico_swd's post in the thread if and end if error.

    It should be: if ($TheMessage=="thanks"): And: else: (A colon instead of a semi-colon.)

    Mar 10, 2008
  7. sarahk liked nico_swd's post in the thread what's wrong with this statement?.

    You cannot compare values like that. Do it this way instead: $stock_idWidth = in_array($stock_ID, array(7, "C", 5)) ? 139 : 250;

    Mar 8, 2008
  8. zerxer liked nico_swd's post in the thread preg_match_all - Need some help.

    It's the same basically. But I prefer ~, so that I don't have to escape all slashes that I want to match. Let's take this pattern as...

    Feb 28, 2008
  9. PHPGator liked nico_swd's post in the thread preg_match_all - Need some help.

    preg_match_all('~\{([^\}]+)\}~', $string, $matches); print_r($matches[1]);

    Feb 28, 2008
  10. ruby90 liked nico_swd's post in the thread Extract strings from php.

    You could also use array_combine() (I try to avoid loops whenever possible) function extract_data($string) {...

    Feb 25, 2008
  11. Im The ONE liked nico_swd's post in the thread Curl Cookie Headers.

    Add this: curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

    Feb 24, 2008
  12. BoBByCooL liked nico_swd's post in the thread php and mysql results display.

    Google for "PHP Pagination". There are a lot of tutorials online.

    Feb 24, 2008
  13. James WP liked nico_swd's post in the thread Calling functions in required files.

    ^ The path must be correct, because require_once() would trigger a fatal error an exit the script before it gets to the part where it...

    Feb 24, 2008
  14. fcmisc liked nico_swd's post in the thread How to properly encode this string?.

    Use & instead of &. And it's not really a PHP question...

    Feb 22, 2008
  15. bquast liked nico_swd's post in the thread Stop file_get_contents..

    What error? You mean when it fails to open the site? http://www.php.net/operators.errorcontrol If that's not what you mean, be more...

    Feb 21, 2008
  16. terminator69 liked nico_swd's post in the thread PHP search error.

    There should be single quotes around: '%$productname%'

    Feb 21, 2008
  17. Unknown Member liked nico_swd's post in the thread Illness, what is this, how to heal fast?.

    And what kind of help do you expect from members here that can't even make these tests? Take wild guesses? Email you some meds?

    Feb 19, 2008
  18. lordadel liked nico_swd's post in the thread PHP variable which can mean any value.

    Err... I'll take a wild guess and point you to the preg_match() manual page, which I think is what you want. After re-reading a couple...

    Feb 14, 2008
  19. adamjblakey liked nico_swd's post in the thread Multiple deleting using checkboxes.

    I'm not sure if you're one of these, but I think it was you. I saw some people using functions that automatically clean all $_POST,...

    Feb 14, 2008