Jump to content

M477HEW

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by M477HEW

  1. I'm really new to PHP and am currently using the framework of an existing site to help me learn the ropes. I have the following line of code and I'm kind of stuck. I'm OK up to the ['long_descr'] but after that I am lost. Can anyone help me out and explain this line of code to me please? I'm particularly confused by the last half - ,0,20 etc. What do these numbers represent? $index=strpos(substr($data[0]['long_descr'],0,20),'same_as'); Thanks in advance for any help Matt
×
×
  • 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.