sql error plz help

Started on the old forum in July 2011 · view the original in the archive · old links redirect here

1 reply · 439 views · started 15 years ago · 1 min read

12345xmen Developer · 239 posts #1

hey friends my url give this error

SELECT * FROM news_mgt WHERE news_status = 1 and del_status = 0 and id = 38'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 ''' at line 1

when i use sql injection in my site.....

i search in google but dnt get where is error....

plz short out this .....

sql is

DROP TABLE IF EXISTS news_mgt; CREATE TABLE news_mgt ( id int(11) NOT NULL auto_increment, title varchar(100) NOT NULL, description text NOT NULL, news_status int(11) NOT NULL default '1', news_date date NOT NULL, del_status tinyint(4) NOT NULL default '0', PRIMARY KEY (id) ) ENGINE=MyISAM AUTO_INCREMENT=40 DEFAULT CHARSET=latin1;

thanks !

12345xmen Developer · 239 posts #2

thanks for no reply i solve it my self !

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close