Jump to content

Endorphin

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Everything posted by Endorphin

  1. I would like to thank both of you for your help with this. It's very much appreciated.
  2. Thanks for the quick reply requinix, as I said I am new to PHP but I will read through the link. Many Thanks
  3. Hi All, I'm sure there is an easy solution for this but I am unable to find it. I am new to PHP and after a little help... the via data is stored in a database in this format... |51.105166,-1.695971|51.011055,-2.1068|50.945233,-2.617664|||| I'm trying to find a way of loosing the last comma if there are 1 or more entries, any ideas guys. What I'm getting is : var points = [{location: '51.105166,-1.695971'},{location: '51.105166,-1.695971'},]; What I'm after is: var points = [{location: '51.105166,-1.695971'},{location: '51.105166,-1.695971'}]; <?php if($via != null){ echo "var points = ["; foreach($via as $point){ if($point != ""){ echo "{location:"; echo " '".$point."'"; echo "},"; } } echo "];\n"; } ?>
  4. Hi All, I have been looking for hours for a solution but no joy so far. I have a contact page with different names on, each name has its own contact button. I am trying to find a way to produce a standard popup contact form but send it to the required name, address and individual subject line. I don't really want to use the mailto function, I'm sure there must be an easy solution but my skills are very limited. Any help would be appreciated. Neil
×
×
  • 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.