TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: THE NATURAL PHILOSOPHER
from: ANDY BURNS
date: 2020-09-11 19:50:00
subject: Re: Pi Hardware

The Natural Philosopher wrote:

>      $query = "insert into data set";
>      $flag=0;
>      foreach($fields as $name) //read variables and add to query
>          {
>          if($flag) $query .=',';
>          if(isset($_GET[$name]))
>              $query.= sprintf(" %s='%s'",$name,$_POST[$name]);
>          else
>              $query.= sprintf(" %s='%s'",$name,"");
>          $flag++;
>          }



--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.