[wplug] Need suggestions

Evan DiBiase edibiase at mac.com
Sat Oct 20 12:47:50 EDT 2001


In my opinion, PHP would be trivially easy to learn for you. Quick, what 
does the following function do?

function blackbox() {
	$conn = mysql_connect("localhost","username","secret)
		or die("Could not connect to MySQL database.");

	$select_db = mysql_select_db("test", $conn);

	$result = mysql_exec("SELECT snake_id FROM info WHERE type='python'");

	$num = mysql_num_rows($result);

	echo "$result pythons in database.<br>";
}

Pretty easy to figure out, I hope :-)

So, if you're looking to just develop something as opposed to learning a 
new language, I suggest PHP. It's easy to learn and should provide 
everything you need to do what you want.

-Evan

On Saturday, October 20, 2001, at 12:07 PM, Romano, Christopher wrote:

> I am really not doing this to learn another language.  I just want to 
> design
> this for this guy and am willling to learn another language to do it.  I
> know VB, C, and C++.  Is PHP easier to learn then Perl or Python?  I 
> heard
> that Perl isn't the easiest language but that's only what I heard.
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug




More information about the wplug mailing list