Page 2 of 2

Re: lil question

Posted: Wed Nov 05, 2008 6:24 am
by Ivana
i'm actualy not a guy and i havn't been sleeping.
this teacher is just not able t explain anything well.
i'm one of the only ppl out here that actualy pays attention to class.

Re: lil question

Posted: Wed Nov 05, 2008 7:54 am
by papa
Don't blame the teatcher, if you're interested in learning there're tons of tutorials which will explain the basics for you. I bet 99.9% of the PHP programmers here are self thought.

Re: lil question

Posted: Wed Nov 05, 2008 8:14 am
by aceconcepts
I would agree with Papa's percentage. However, one of the biggest problems remote helpers are faced with is overlooked simplicities that could screw up an entire script. In most cases, when testing resources are exhausted, the solution lies in a spelling mistake or something equally trivial.

Re: lil question

Posted: Wed Nov 05, 2008 10:08 am
by Ivana
alright :D thanks alot for the helps :):D

Re: lil question

Posted: Wed Nov 05, 2008 2:26 pm
by noondaysun
I don't, personally, like the insert into x (col1, col2...) values (val1, val2...) sql syntax, rather I find it easier to use

Code: Select all

insert into x set col1=val1, col2=val2
Makes it easier not to mix values in your columns and values segments. Just remember to escape values.
as for the php mysql_query() would probably be the easiest