| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11
Comments:
<0> for testing purposes <1> ok <1> its showing page cannot be displayed :S <0> page? i'm talking the SQL client.. <0> command line interface, or what have you <1> ok got it working <0> what was it? <1> i dont have that as it is remote... im doing it on php my admin :| <1> "#1054 - Unknown column 'adam' in 'where clause'" <1> i did - SELECT `user`, `p***`, `name`, `address`, `email`, `ip`, `http` FROM `login` WHERE 'user' = adam <0> where user = 'adam' <1> yeah i changed that now <0> you've got the wrong thing quotes <1> and it wokrs <1> *works <0> ah
<0> ok <1> but still doesn't work on the php page :| <0> even with the hard-coded user as adam? <1> yep <0> have you used SQL before on this host? <0> also, have you ever seen an error on this host? <0> i'm wondering if it's blocked/disabled -- and/or error reporting is turned low or off <0> sup tyler <1> yes ive used sql before on this host <1> ive seen errors when i done bad :$ <0> okay, paste your script to a pastebin i guess <0> www.pastebin.com <0> see if there's something else <1> http://pastebin.com/582886 <0> ok, sec <1> oki :) <0> if i may i recommend something.. use ' for array keys, etc... and " instead of ' where you have ' <0> also <0> well, nm <0> but do the first <0> another question, are you even getting to the DB query part? it it at least echoeing Name :,e tc? <1> yeah echoing name and that <2> how do i get a form to submit on page load? <0> fedt; what in the hell purpose would that serve? <1> fedt - meta tags? <2> how though? <0> that's like asking can i drive my car without getting in and starting it <0> or something <1> lol <0> doesn't make practical sense <1> jon! back to my problem :P <0> if you wanted to just submit something to another page, just, as orlux said, use a header "Location:" re-direct <0> orlux; did you switch around the ' and "? <1> where abouts do i do that? <0> specifically in your $query and mysql_query calls <0> $query = "SELECT `user`, `p***`, `name`, `address`, `email`, `ip`, `http` FROM `login` WHERE `user` = '{$user}' LIMIT 0, 30"; <2> can it be done though...? submit a form when the page loads? <1> now it says "Parse error: parse error, unexpected T_STRING in /home/smickus/public_html/2/1.php on line 13 <1> " <0> mysql_query("$query"); <1> line 13 being "$query = "SELECT `user`, `p***`, `name`, `address`, `email`, `ip`, `http` FROM `login` WHERE `user` = "adam" LIMIT 0, 30 ";" <0> right <0> gotta swtich around adam, too <1> ok <0> and wheny ou're using a variable it's ok to go ahead and ='{$variable}' <0> in that specific scenerio <1> ok, now it just displays Name: User: again. <3> now you're under control <3> and now you do what they told ya <0> orlux; take out the LIMIT clause for now <3> wtf is ";" <1> ok. <0> didn't even notice that. <3> and what's with the doublequotes all over the place? <0> actia;;y <3> "foo = "zam"" <0> he was quoting his query inside "" <3> the string ends before the z <0> stfu jed <3> oh, okay <0> i already pointed that **** out :)
<1> and now...? <0> you tell me <1> its the same as it was earlier... <0> what the hell man <0> paste it again <0> paste line 13 and 14 <0> oh, and fedt.. <1> http://pastebin.com/582907 <0> as far as i can *imagine*... it's possible... presumably through JavaScript <0> but.. you gotta tell me... what practical purpose would that serve <0> orlux; not `adam`, but 'adam' <3> tom morello is god <1> ok, still just displays Name: User: <0> oh wow <0> i just now noticed <0> you're not fetching the results <0> why the hell are you not fetching the results <0> i'm too stoned to notice <1> because im tired :( <0> god damnit <0> www.php.net/mysql <0> read <0> thanks <0> norally <0> normally <0> if your host wasn't supressing errors <0> you would have realized $row wasn't defined <0> which is why that was the very first question i asked you <0> was your error reporting level <1> thanks jon. :) <0> it's better to have it all the way on and not supress a thing when you're beginning a project <0> you're welcome <1> works now. for 'adam' at the moment anyway <4> hah, he's still doing that? <0> and my dumb *** was helping him :) <4> haha <0> not noticing he was missing the key player <0> i was sitting here thinking it was some frivilous error i was overlooking.. not an entire function missing <0> oh well <1> yeah i got this before with sessions... forgot to start the session. i miss big chunks. <0> it's alright ;) <4> damnit <4> this city needs 24 hour bus service <1> now i can go to bed <1> night <4> poor idiot <4> I knew that when I asked this <4> <1> after i've set a cookie of a person's username - how can i take information from a database about that person? <4> <4> orlux: uh, what do you mean? do you know how to use the database you're using? <4> <1> Zenethian - yes i know how to use the database <4> I knew he was lying. <0> where you need to go Z <0> crack house? <4> Essentially. <0> brb Wendy's <4> Borders. :-) <0> oh <0> i was gonna sayi'd take you to the crack house if you hooked me up <0> ;P <0> jk <0> bbiaf <4> Borders, the only place I can go to get high (on caffeine) and drop $200 and carry everything out in one arm. <5> can you get high on caffeine? <5> i just get the ****s <4> haha <4> if you drink enough of it <4> you get a buzz <4> and then a headache <4> like I have no <4> now <4> for pounding ****ing four cups of coffee in like 20 minutes. <5> the more i drink, the more i piss outa my ***
Return to
#php or Go to some related
logs:
earthmother05 i.girl4u
sevdigimin kokusunu #chat-world #kl #php #india #kl site:www.quotesdb.info cupid69
fedora core 2 no screen found
|
|