Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2003 10:26:47 +1000
From:      JacobRhoden <jrhoden@unimelb.edu.au>
To:        Matt Heath <matt@thebigchoice.com>, questions@freebsd.org
Subject:   Re: Which server-side programming should i choose.
Message-ID:  <200307041026.47024.jrhoden@unimelb.edu.au>
In-Reply-To: <3F03FB8A.9080700@thebigchoice.com>
References:  <20030702201929.79497.qmail@web12604.mail.yahoo.com> <07e301c340ec$1159e770$1b41d5cc@nitanjared> <3F03FB8A.9080700@thebigchoice.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Even though this is getting waaay off topic...

  On Thu, 3 Jul 2003 07:46 pm, Matt Heath wrote:
  > Ever seen something like this :
  > $r = mysql_execute("select * from table_1 where id=$_GET[id];");

Actually people do do the same thing and perl and you know it :P Both perl and 
php support calling sql with parameters using ? to insert variables. If 
someone does not know what language to use at all, I would suggest php simply 
because its a good, quick, easy language to get started in without too much 
difficulty. (In lots of ways including not needing to understand cgi 
variables, and what the heck Content-type: text/html\n\n is, or learning how 
to include perl librarys to do all that stuff for you!) 

PS: I prefer perl but do and have used php frequently.

 - jacob
 
Jacob Rhoden            Phone: +61 3 8344 6102
ITS Division            Email: jrhoden@unimelb.edu.au
Melbourne University   Mobile: +61 403 788 386



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307041026.47024.jrhoden>