Jump to content

ideasforhumans

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ideasforhumans's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks a ton, man.
  2. So, I'm fairly new to PHP and I've been searching everywhere trying to figure out how the below is working. private function build_db() { $sql = <<<MySQL_QUERY CREATE TABLE IF NOT EXISTS test_db ( title VARCHAR(150), bodytext TEXT, created VARCHAR(100) ) MySQL_QUERY; return mysql_query($sql); } On the line where $sql is defined, what's up with the '<<<'? Thank you in advance.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.