68 Classifieds Forums

Maffo Latest News characters

This is a discussion on Maffo Latest News characters within the v4 Modules / Modifications forums, part of the Help & Support category; When I tried to enter this phrase " L'or en bar " in Maffo latest news I receive an error ...


Go Back   68 Classifieds Forums > Help & Support > v4 Modules / Modifications

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 11-12-2008, 09:27 PM
hel68c's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Canada, Quebec
Posts: 164
Rep Power: 6
hel68c is on a distinguished road
Default Maffo Latest News characters

When I tried to enter this phrase " L'or en bar " in Maffo latest news I receive an error

Quote:
Notice: Query failed: 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 'bar', '', 'Y', '', 'admin', NOW() )' at line 9 SQL: INSERT INTO class_news ( nNewsTitle, nNewsContent, nPublish, nNav, author, dateadded ) VALUES ( 'L'or en bar', '', 'Y', '', 'admin', NOW() ) in /home/hobbycla/public_html/includes/classes/database/mysql.php on line 135
Do you have an idea how to filter those character?

__________________
Serge
HobbyClassified.com
V4.08 Developper
Reply With Quote
  #2  
Old 11-13-2008, 07:47 AM
Maffo's Avatar
The Master
 
Join Date: Mar 2006
Location: British in Argentina
Posts: 1,399
Rep Power: 41
Maffo is a jewel in the rough
Default

Hi, try using entities instead of appostrophe marks.

I should really write this into the program.
For now please see http://www.w3schools.com/tags/ref_entities.asp
__________________
Super Mod v4 Is out and ready for download. DEMO
Purchase V4 Super Mod BETA at Reduced Price

Visit Me @ Classified-Sofware.co.uk

**Important** - All modules with the exceptions of the Bulk Upload System will be removed from my modshop on Tuesday September 30th. If you require a module you must get it before that date.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Latest News Module modification hel68c v4 Modules / Modifications 9 09-22-2008 12:16 AM
Maffo NEWS Mod Maffo v3.1 Modules & Modifications 90 07-30-2008 09:20 AM
Maffo News Module For V4 Maffo v4 Modules / Modifications 2 05-19-2008 10:57 AM
Maffo News, Archiving. david80 v3.1 Modules & Modifications 6 06-07-2006 10:45 AM
Latest News Eric Barnes v3.0 Questions & Support 0 03-27-2006 02:46 PM


All times are GMT -4. The time now is 02:18 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22