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

plot.php mysql #34

Open
chandra50 opened this issue Mar 6, 2016 · 0 comments
Open

plot.php mysql #34

chandra50 opened this issue Mar 6, 2016 · 0 comments

Comments

@chandra50
Copy link

In plot.php I get the following error:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '!, FROM raw_logs WHERE sessi' at line 1

// Get data for session
$sessionqry = mysql_query("SELECT time,$v1,$v2
                      FROM $db_table
                      WHERE session=$session_id
                      ORDER BY time DESC;") or die(mysql_error());

mysql version (in Ubuntu 14.04) is
mysql Ver 14.14 Distrib 5.5.47, for debian-linux-gnu (x86_64) using readline 6.3

Looks like this issue has been discussed earlier.
Could you please let me know the resolution.
Thanks.

@chandra50 chandra50 changed the title plot.py mysql plot.php mysql Mar 6, 2016
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

No branches or pull requests

1 participant