Page 3 of 4
Posted: Sat Jun 07, 2003 5:46 pm
by redhair
tip for newbs:
*Be patient!
*Analyse your (the) code untill you get it (error-free and safe).
*Try to write at least 1 sentence without spelling errors, when posting on forums (you will look rediculous if not, people might think 'i hope this guy's php is better then his english'.
*Don't panic when users start pointing at you,...and do not, i repeat...do not spam me on my icq/ private message, saying your sorry...
Posted: Sat Jun 07, 2003 5:50 pm
by I3lade
hmmmm im to much of a newbi to understand this hmmmmmmm ill try to figure it out but i hardly understood what php scott said lol, i got it but i didnt get how to fix it.. and as far as mysql.com thats to confusing for me lol
tutorial
Posted: Sat Jun 07, 2003 5:51 pm
by phpScott
We are all just trying to help you out
try
http://www.phpcomplete.com/tutorials.ph ... adTutorial
for a good intro into php.
Take the time to find some sample tutorials and code as you will learn alot from looking at other peoples code and trying to do simple modifications.
A good book or two might help as well.
phpScott
Posted: Sat Jun 07, 2003 5:51 pm
by I3lade
Yea i know im just to sucky as far a the transiton ill look into that thats probably my problem
Posted: Sat Jun 07, 2003 5:54 pm
by I3lade
well im totaly lost lol if theres anyone willing to take the time to help me fix this one, ill appricate it i dont understand how to make the tranistion... i think its just my var that i really need at the top in the Where cluase
Posted: Sat Jun 07, 2003 5:54 pm
by redhair
I need a where cluase in my select function, how do i use it?
ROFLOL
Posted: Sat Jun 07, 2003 5:55 pm
by redhair
Have you been smoking weed?
Posted: Sat Jun 07, 2003 5:57 pm
by I3lade
no i told you im a noob to php you got a problem with that ? if i knew php why the hell would i be posting here? This is lkike my 2cnd day actully doing it so if you dont want to help why do you keep positng? At least some people actually are willing to help me unlike u
Posted: Sat Jun 07, 2003 6:05 pm
by redhair
i was...and might still be able to give you some help (i never mentioned otherwise, don't be to fast on your judgement(s).). Actualy...i think you are quite amuzing! I go fetch a beer with it...
Posted: Sat Jun 07, 2003 6:12 pm
by I3lade
Well i just want to learn php, and have fun doing it. Also i wanan get this script to work lol unforutnly right now i dont get a lot of this... and i dont know what the heck is going on with my code right now
Posted: Sat Jun 07, 2003 6:16 pm
by redhair
Then start from top reading this thread...gather all the tips you have been offered, and ehhhrr...find yur varaileble
Posted: Sat Jun 07, 2003 6:21 pm
by I3lade
I think thats how this started lol i cant find my variable, i dont know if it should be user id, username or what? ill try rereadin everythin tho
I think I get it
Posted: Sat Jun 07, 2003 6:45 pm
by phpScott
I think I understand the varialbe that you probably want to use is what ever is the unique field in your table of users which by the sounds of it will be user_Id.
In almost all cases you will want to have a unique way to identify a particular record in each table. Any good basic tutorial on databases will explain this to you if you don't understand what I mean.
I'm I getting close to what you want.
You have several columns in your table and you want to know which column to use in you link to find the person who just logged in.
Not that it is any of my business really but i take it that english is not your first langauge.
Not that it is a problem or anything as we are a multi-cultural, multi-ethnic community here.
Now doesn't that sound like a very Canadain thing to say.
phpScott
Posted: Sat Jun 07, 2003 7:13 pm
by evilcoder
not too harsh now boys, i think he might be a bit simple.
How about you learn the basics of PHP before you try MySQL connections and database extraction.
You obviously need to learn alot of the small fry stuff, like what arrays are, what the while function is and a few of the other essential functions.
http://www.php.net // Read the documentation.
Posted: Sat Jun 07, 2003 7:27 pm
by redhair
o oh...