lil question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Ivana
Forum Newbie
Posts: 10
Joined: Mon Nov 03, 2008 5:05 pm
Location: netherlands

Re: lil question

Post 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.
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: lil question

Post 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.
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: lil question

Post 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.
Ivana
Forum Newbie
Posts: 10
Joined: Mon Nov 03, 2008 5:05 pm
Location: netherlands

Re: lil question

Post by Ivana »

alright :D thanks alot for the helps :):D
noondaysun
Forum Newbie
Posts: 4
Joined: Tue Oct 28, 2008 9:04 am

Re: lil question

Post 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
Post Reply