| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Comments:
<0> i see <1> anyone? <2> GarethTheGreat: you have a syntax error in your query <3> Trazz: if you like exceptions php5 has them, php4 doesn't <1> where? <0> so the extension is php and not html ? <1> it ran fine in phpmyadmin <2> GarethTheGreat p***word is missing a ` <2> because phpmyadmin doesn't use the ` around column names. mysql doesn't need them <3> GarethAdams: end of 5-th line <0> whats ur age group friends ? <3> thegladiator: linux doesn't care about file extensions <1> i think that was a problem with pasting it <4> !tell thegladiator about u <0> i see <2> thegladiator: most of my friends are between their 20s and 40s
<0> you* <5> WIll PHP have GOTO? I've been out of the loop for awhile but know it was being worked on <1> i can't find a missing ` <1> SELECT * FROM aspiefriends_users WHERE `user_id`='3' AND `username`='testuser' AND `p***word`='ae2b1fca515949e5d54fb22b8ed95575' <1> that's the query it spits out <2> GarethTheGreat: is user_id a string or an integer? <3> GarethAdams: it was AND p***word` in your pasted thing <1> i know <1> but that was me screwing up pasting it <2> GarethTheGreat: if user_id is a numeric field, remove the '' from around the 3. <6> you don't need backticks around your field names <2> GarethTheGreat: and ditch the backticks like kodekrash said <0> are you proffesional people ., thats what I wanted to knw <2> SELECT * FROM aspiefriends_users WHERE user_id=3 AND username='testuser' AND p***word='ae....blah' <0> are you trained in PHP or learnt it on your own ? <4> thegladiator: most efveryone here probably learned on their own <3> thegladiator: define professional <2> thegladiator: i've learned it on my own, but yes i'm a professional. i've been working in software development since i was 12. <6> yes, what itrebal said <0> i see <1> still not working <4> b1n0ry: you too? :) <3> b1n0ry: how old are you now? <0> proffesional is like ---> somoene who do php for work mostly <2> Igareok22: i'm 25 <6> thegladiator: 'proffessional' is not a word <1> SELECT * FROM aspiefriends_users WHERE user_id=3 AND username='testuser' AND p***word='ae2b1fca515949e5d54fb22b8ed95575' <4> kodekrash: it gets the point across <1> that's my query now <3> b1n0ry: hmm and you don't know refactoring ? <0> well professional <2> Igareok22: i don't know concepts i've never needed to use <0> kodekrash, thats a bit harsh really <6> thegladiator: not really <4> b1n0ry: refactoring is, from what i've googled, changing things from $var = "something"; to $var = 'something'; <0> kodekrash, in case you thought thats being smart . sorry if that hurts <0> kodekrash, well it is <3> b1n0ry: probably you used them without knowing about it, go back and read my definition of refactoring <2> itrebal: reformatting code, it would look like. i figure if you format it right the first time, it's unnecessary <4> b1n0ry: indeed <3> here we've got the ideal programmer :) <1> SELECT * FROM aspiefriends_users WHERE user_id=3 AND username='testuser' AND p***word='ae2b1fca515949e5d54fb22b8ed95575' < is it certain that this query has a syntax error? <4> thegladiator: if you try, and you see how you can make it better, and you do it by hand - wont the next time you try it will be better? <6> lol <4> actually, i really do... <3> GarethAdams: it's a MySQL query ? <1> yes <0> well no comments really <1> http://pastebin.com/549959 <1> that's my PHP code <2> Igareok22: if you're not one of those people who just sits in front of a blank editor and says "i'm going to make a program that does x" it's not a problem. most shops have coding standards that must be adhered to that already determine how you name variables, call functions, cl***es, etc. <3> GarethTheGreat: I'm affraid 'p***words' might be a reserved mysql word <3> p***word actually <0> i hope you guys do have a life outside the box ! if this is how you treat someone who comes for some help <1> you sure about that? <2> Igareok22: it can be used as a field name, though not recommended
<0> well anyways i must calm down <4> thegladiator: i dont see what you've asked for <0> sorry again <3> thegladiator: you just have to stop acting like trolling :) <2> thegladiator: what is your -technical- php question? <0> i was asking ih you are all professional people <0> like I am trying to build a website <4> b1n0ry: i should probably create some standards for me to adheare to <2> thegladiator: some aren't and some are. if you're talking about people who write php for a living, then some are and some aren't. <3> thegladiator: if you want to hire someone, go to www.rentacoder.com :) <0> I was wondering if PHP is for me , if I can learn it etc in short span <1> hmm, just turned on error reporting here <1> Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in <2> thegladiator: http://www.w3schools.com/php <0> i wish I could hire :) , I am as jobless as joblss can be <2> GarethTheGreat: yeah, that too, p*** the result not the query <4> thegladiator: i recommend you write a website, and try to make the best PHP you can muster, and eventaully it will be awfull code, and you see that - and then you rewrite it, in better code - and eventually you become a good coder, and you're set <3> itrebal: i wish it would be so easy <4> thegladiator: thats what i did - when i rewrote my 1st website, loading time went from 4 seconds, to less than 1 <0> thanks <0> I see <2> that's pretty much how i learned it, too <1> b1n0ry: i just figured that out <1> i hate making stupid mistakes like that <4> (though, it did take many many months... maybe even a year) <0> its like all I have is a frontpage knowledge and I have not tried to go beyond <0> so I dont have a clue as to where to start <2> GarethTheGreat: but still, for consistency and standards, you should take the other advice to reformat your query <4> gotta go,c ya <0> PHP is so popular so I thought I'd give a try <0> ciao itrebal <1> b1n0ry: i already have reformatted it <0> why ? <2> thegladiator: http://www.w3schools.com/php <-- free tutorials <0> i am planning to create websites for hobby <3> thegladiator: i'm not a fan of php but i won't risk advocating another language in this channel :) <0> thanks I am right there <7> Hi! http://metalcave.ovh.org :) <2> ok, i g2g for a bit. later on folks. <8> Mortis_kruuul: What about it? <2> mmmm... advertising... <7> yes, it is advertising, sorry <8> That's okay <0> thanks guys gtg <8> The site's in Polish <8> and therefore it ****s <8> also, the design is lame <7> we are translating it to english <2> nforbes: i would agree. only 1% of the people here can probably read it and know what it says. <2> nforbes: and the grey on black text huts my eyes <8> Yep <9> hi, a company has ip addresses 200.66.233/24 <9> what does it mean <7> i need good stats (entries from diffrent countries) <6> Jad: /24 = 24 bit block <2> Jad: it means that the first 3 octets of their ip address are 200.66.233 and they have a 24 bit subnet block <2> Mortis_kruuul and you need someone who knows how to do layout and graphics design <10> kodekrash!!! <11> Hi! http://metalcave.ovh.org :) <6> Stormchaser !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! <9> ah, so they own 200.66.233 to 200.66.255 or smth? <12> Greetings. I'm trying to validate a serial number with a regex and preg_match. My regex is /\d{1,8}/ but it isn't working. It's returning 1 match always, even if I enter an 11-digit serial code. <3> Jad: this is not a php question <2> Jad: no, they own 200.55.233.1 - 254 (i think) i don't have my subnet calc <8> Yes <8> sort of <10> kodekrash: Where have you been, doode? <8> 200.66.233.0 through 200.66.233.255 <13> hi, any one recommend me a good (best) PHP editors for Linux ? <6> Stormchaser: busy/ish
Return to
#php or Go to some related
logs:
addon arm 8100 #perl courier-imap ldap win2k3 #gentoo #suse XMLIO_ArrayElement.h
#asm ubuntu ipv6 need ipv4 #debian ignasoft media player
|
|