Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent illegal column names with PHP for MySQL #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ginanjarfm
Copy link

Great thanks for your works. Unfortunately, to prevent illegal column name I should update the codes. You can merge this if you don't mind. Thanks.

@blag001
Copy link
Contributor

blag001 commented Nov 26, 2015

Duplicate of #71 / #70


As said there : #70 (comment)
It'll be a good idea to make this change for the whole project and not making 10 pull request to patch one by one every query (which is the best way to miss one or more and go in funny debugging party...)

If you've got some time, it'll help us ;-)

@worthy7
Copy link

worthy7 commented Nov 26, 2015

yay.

@blag001 blag001 mentioned this pull request Feb 20, 2016
@MartynasJanu
Copy link

This line must be fixed also:

$orderClause = " ORDER BY ". $columns[(int)$orderValue['column']]['data'] . " " . $orderValue['dir'];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants