ziedinjsh Posted August 19, 2012 Report Posted August 19, 2012 mysql_query("insert into links (title, desc, link, img_to_upload, date) values ('$title', '$desc', '$link', '$photo', '$date')") or die(mysql_error()); visu laiku bļauj 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 ''title', 'desc', 'link', 'img_to_upload', 'date') values ('besiiiiii ' at line 1 kā tad vēl var saglabāt??? Quote
ziedinjsh Posted August 19, 2012 Author Report Posted August 19, 2012 ak.. mjā.. nomainīju desc pret citu un viss ok Quote
malinens Posted August 19, 2012 Report Posted August 19, 2012 (edited) varēji arī nemainīt, bet desc vietā darīt tā: <pre class="prettyprint">...title, `desc`, link,...</pre> Edited August 19, 2012 by malinens Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.