pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

yancho private pastebin - collaborative debugging tool What's a private pastebin?


Posted by Yancho on Tue 4 Dec 14:55
report abuse | download | new post

  1. $source = "select give_source('POINT(".$sp.")',1000,200)";
  2. $target = "select give_target('POINT(".$ep.")',1000,200)" ;
  3. $sql = "
  4.  
  5.        SELECT gid, astext(the_geom) as wkt, length(the_geom) AS length
  6.        FROM shootingstar_sp
  7.        ('streets',
  8.          (
  9.          select gid from streets where
  10.          source = ( $source )
  11.          limit 1
  12.          )
  13.        ,
  14.        
  15.          (
  16.          select gid from streets where
  17.          target = ( $target )
  18.          limit 1
  19.          
  20.          )
  21.        ,
  22.        5000,
  23.        'length',
  24.        true,
  25.        true
  26.        );
  27. ";

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me so that I can delete my post