Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Robert] SELECT FROM Databasename without prefix

Quote Reply
Re: [Robert] SELECT FROM Databasename without prefix In reply to
That is just so you can create a database object :) It could be any table name (Links, CatLinks, Changes, Users, whatever), and then you just pass along the SQL you want to run (as I said, you only want to do this when you don't care about sensitization, as it won't "bind" the variables, so someone could try to do SQL Injection if you accepted user input.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread SELECT FROM Databasename without prefix Robert 6673 Apr 21, 2017, 3:52 AM
Thread Re: [Robert] SELECT FROM Databasename without prefix
Robert 6564 Apr 21, 2017, 4:28 AM
Thread Re: [Robert] SELECT FROM Databasename without prefix
Andy 6549 Apr 21, 2017, 6:19 AM
Thread Re: [Andy] SELECT FROM Databasename without prefix
Robert 6533 Apr 21, 2017, 8:21 AM
Thread Re: [Robert] SELECT FROM Databasename without prefix
Andy 6529 Apr 21, 2017, 8:27 AM
Thread Re: [Andy] SELECT FROM Databasename without prefix
Robert 6528 Apr 21, 2017, 8:29 AM
Thread Re: [Robert] SELECT FROM Databasename without prefix
Andy 6527 Apr 21, 2017, 8:30 AM
Thread Re: [Andy] SELECT FROM Databasename without prefix
Robert 6457 Apr 21, 2017, 9:47 AM
Post Re: [Robert] SELECT FROM Databasename without prefix
Andy 6289 Apr 22, 2017, 12:02 AM