HELP HELP HELP! PHP versus MySQL (with Apache)

Mar 25, 2009 14:30

EDIT (3:22pm, 3/25/2009):

Nevermind D: I totally didn't know i could write something like

$result = mysql_query("SELECT * FROM tbl_auth_user;");

And just throw up a huge WHILE loop for the whole damn table to just print the contents.

Now i can figure out how to shoot the contents of the table into $_POST. variables and compare them, as a method ( Read more... )

Leave a comment

Comments 3

niteskunk March 26 2009, 00:36:49 UTC
I giggled a bit when I saw what you were doing wrong :D It's fun to learn new languages, in a sick kind of way, eh? :3

I suggest looking into mysqli... It uses object-oriented stuffs as opposed to what you're using now [basically, makes things a little easier for you to code -and- to read]. Check it out! Object-oriented stuff is pretty easy to pick up on, and it'll make your life exponentially easier.

Reply

zaisan_itachi March 26 2009, 15:20:06 UTC
I'm actually using the "WAMPserver" collection of tools as my sandbox to play around with.. i'm liking it so far. I got a fancy MySQL GUI pack that makes it easier to control my DB's and tables, but i really like all the nifty web interfaces that come packaged with WAMP. Makes it very easy to remotely service PHP and MySQL, add entries to tables, etc. It gets easier all the time ^-^

Reply

zaisan_itachi March 26 2009, 15:20:44 UTC
All i all though, i write all my stuff raw into notepad.
I've tried Vi/Vim, i've tried UltraEdit.. but nothing is as comfortable to me as notepad.exe

Reply


Leave a comment

Up