ah
2009-05-21 02:27:31 UTC
On Sun, 17 May 2009 22:38:59 +0200, Thomas Mlynarczyk
online tutorials...hence my question.
I'm wondering if maybe if it's from some intermediary program, like a
sort of FrontPage for PHP that allows such syntax which is then
"corrected" on output.
I'm wondering if maybe it's merely from being a clueless-fuckwit.$username = 'Onideus Mad Hatter';
"SELECT `name` FROM `user_data` WHERE `name` = 'Onideus Mad Hatter'"
"SELECT name FROM user_data WHERE name = Onideus Mad Hatter"
And that's just wrong in SQL. Leaving out the backticks is okay here,
but strings must be quoted. If you saw it like this in a tutorial, then
the tutorial is wrong.
I've seen it "wrong" like that on quite literarily DOZENS of different"SELECT `name` FROM `user_data` WHERE `name` = '$username'"
... becomes"SELECT `name` FROM `user_data` WHERE `name` = 'Onideus Mad Hatter'"
"SELECT name FROM user_data WHERE name = $username"
... becomes"SELECT name FROM user_data WHERE name = Onideus Mad Hatter"
And that's just wrong in SQL. Leaving out the backticks is okay here,
but strings must be quoted. If you saw it like this in a tutorial, then
the tutorial is wrong.
online tutorials...hence my question.
I'm wondering if maybe if it's from some intermediary program, like a
sort of FrontPage for PHP that allows such syntax which is then
"corrected" on output.
--
ah
http://www.gianturl.com?QnnvQaGyGV,V8j,Y3F3v8KgC4N7N,zv8,,9j,V3V9D,dK84f0j2s,n6L,TC7fxZHjJTk5x0y7FHlQ0,,65gBKd,7YqP5r,fCNw9nQ6fT,f,1SH5g3QKHByX1q7kP6,M,4rZFsQpq4S,,9yjZm,YSsd,bWs,4,5ksQ,1,c6bT,x3nl7rz,rvhDlxw0PQ1D,cy7wm3,8,V8Jf,qK6,L,pwSf9pY9,gfY9,twqy,dvZG1,8Ffgn,1bj9l1pb5r,,,dw4bB2,,m3w,mK,,n0lP7F6V1h,9F,7rct1rc,QPtw0,FLjgjM,q,LRm,k1l7r4FTd,7Rz72cVWcz5,wW0,w,TRg4hM9vTwmQ6,B3,3JSTQkJ0r3,M0FPf8xBVj,nc7,g,5rsGklSKxh,,,,h9J4lpWH1Td1pKDb2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