Re: Apostrophe issue Programming Web Development by as.bhanuprakash … is to make sure you store only one kind of apostrophe in your database no matter what the user enters. So… value in the database do a str_replace() to strore appropriate apostrophe. Also in the search module, take the user input and… do a str_replace() to change the possible apostrophe to the desired one. Then use this in your query… Re: Apostrophe issue Programming Web Development by loligator … is to make sure you store only one kind of apostrophe in your database no matter what the user enters. So… value in the database do a str_replace() to strore appropriate apostrophe. Also in the search module, take the user input and… do a str_replace() to change the possible apostrophe to the desired one. Then use this in your query… Apostrophe Issue Programming Web Development by vinithktp Hi All, I am facing an issue with apostrophe. Please look in to my code [CODE]String ss1="…] Output: St: Mary Not able to display letters after the apostrophe. Kindly help me to resolve this issue. Thanks in advance… Re: Apostrophe Issue Programming Web Development by vinithktp Hi Henzard, Thanks for the quick response Its look better. Got this output inside the text box : [COLOR="Green"]St: Mary s School.[/COLOR] [I]//Apostrophe is not displaying [/I] Got this output on next page: [COLOR="green"]St: Mary s School.[/COLOR] [I]// Special character  displaying instead of apostrophe[/I] Apostrophe - How to find the key location. Hardware and Software Microsoft Windows by FreeFolios New to laptop keyboard. I cannot work out how to operate the key board to bring up an apostrophe as used in for example - she+s My laptop is second hand so I have no manual. regards, FreeFolios. Cyprus Re: Apostrophe - How to find the key location. Hardware and Software Microsoft Windows by FreeFolios Re: Apostrophe - How to find the key location. -------------------------------------------------------------------------------- Quote: Originally Posted by … Apostrophe issue Programming Web Development by loligator …'s Music is entered into the database using the alternate apostrophe (John’s Music), no results will show. How can I… Re: Apostrophe issue Programming Web Development by sneldog I had the same issue. Found this really helpful link. It's not as complex as the answers seem to make it. I just substituted the proper escape code for the apostrophe and it works fine. [url]http://www.codecodex.com/wiki/Escape_sequences_and_escape_characters#PHP[/url] Apostrophe when reading from d/b Programming Software Development by newbie14 … inserting a string value into my mysql db which had apostrophe with no problem because I do this when inserting. [CODE… Apostrophe in search field Programming Web Development by cobberas … --> [/CODE] If the user enters a keyword with an apostrophe, the whole page goes blank. I've checked that Magic… Apostrophe in filenames Programming Software Development by floatingshed … works beautifully. Unless one of the mp3 files has an apostrophe in the file name, in which case Python changes it… Select 'apostrophe' from database to display in form's field Programming Web Development by bouhbob Hi, I used mysql_real_escape_string to insert a data with apostrophe, in the database, using php. This works. But when …not work. What happens is that the data before the apostrophe is displayed in the field, but what is after the… apostrophe is displayed outside of the field. Any idea? Does … Re: preg_replace an apostrophe is not working... :( Programming Web Development by SKANK!!!!! …... i get a mysql syntax error if i enter an apostrophe in the form i dont understand do i have to… line one.. blah blah but it starts right where the apostrophe is inserted into the database... it doesnt work cause of… the syntax error. the apostrophe is bad to let people use OR do i have… Re: Select 'apostrophe' from database to display in form's field Programming Web Development by bouhbob … again what is displayed is only what's before the apostrophe. Indeed I think you're right, it seems that 'mysql_real_escape_string… Re: Select 'apostrophe' from database to display in form's field Programming Web Development by bouhbob Info: the first image that display here is the "Picture 2" that I talk about. So on this image, the first time the data from the database displays is the first echo, not in a field. And the second time is the echo in the field. The data is in the field until there is an apostrophe or a weird punctuation point I guess. filtering apostrophe on my php Programming Web Development by sickpuppy18 … my database and as you all know inputted data with apostrophe's gives an error whenever queried i was thinking on… the strings so that it would be able to accept apostrophe's.Anyone have ideas how to do it.Also i… Need help not loading a String if it contains an apostrophe Programming Software Development by Wolf CCMLG … not supposed to load any words if they contain an apostrophe. I am loading them in as strings, and I cannot… how not to load the string if it contains an apostrophe. Here is my code. Thanks. [CODE]class Dictionary { private: ifstream… Re: Need help not loading a String if it contains an apostrophe Programming Software Development by Wolf CCMLG … 3 to 6 characters long and must not contain an apostrophe if(word.length() > 2 && word.length() <… Re: Need help not loading a String if it contains an apostrophe Programming Software Development by Wolf CCMLG … 3 to 6 characters long and must not contain an apostrophe if(word.length() > 2 && word.length() <… preg_replace an apostrophe is not working... :( Programming Web Development by SKANK!!!!! …. can anyone help me. im actually trying to let th apostrophe be okay heres the code its not working. some mysql… Re: preg_replace an apostrophe is not working... :( Programming Web Development by cwarn23 If you want to add the apostrophe then try this: [CODE]preg_replace("/[^`a-z,. \'\-\d]/i", "", $height)[/CODE] mysql where clause and apostrophe Programming Databases by MDanz …. I'm sure it has something to do with the apostrophe and back slashes [code] $search = "q test'yes"… Re: mysql where clause and apostrophe Programming Databases by MDanz [QUOTE=debasisdas;1604869]try this [CODE]SELECT * FROM block WHERE name LIKE '%q test''yes%' ORDER BY id DESC[/CODE][/QUOTE] $search = "q test'yes"; typing out the search term manually won't solve the problem. if the user uses an apostrophe when searching it should fetch results. Re: mysql where clause and apostrophe Programming Databases by mwasif If magic quotes are on then you don't need to use mysql_real_escape_string() to escape apostrophe. What actually is saved in the database? Is it [I]q test"yes[/I] or [I]q test\"yes[/I]? Writing excel worksheet apostrophe coming through OLEDB problem Programming Software Development by sebastian3 … excel worksheet through OLEDB/Excel 8.0 provider where an apostrophe is coming in every cell before the value. When the… Re: Writing excel worksheet apostrophe coming through OLEDB problem Programming Software Development by kRod This may help>>> http://www.google.com/#hl=en&sclient=psy-ab&q=microsoft.jet.oledb.4.0+apostrophe&oq=oledb+4.0+ap&aq=0mK&aqi=g-mK3&aql=&gs_l=hp.3.0.0i5i30l3.0.0.1.125.0.0.0.0.0.0.0.0..0.0...0.0.C-DPYOs_k5I&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=be92a6bf3be444e8&biw=1024&bih=600 Storing apostrophe's into a database as ’ or ' Programming Web Development by mark.giles.14 Should apostrophe's be stored from a form into a database as ’ or as is ' If Im pasting articles into a database from another website do I need to convert the string on posting or leave them as it is. Re: Storing apostrophe's into a database as ’ or ' Programming Web Development by mark.giles.14 How would I go about sanitizing ?. Also a lot of earlier records in my database pre changing mysql to mysqli now show with weird symbols instead of apostrophe's any idea how to rectify that problem as below ?. O�Shea Re: Apostrophe Issue Programming Web Development by Henzard Try an escape character like "\" as in String ss1="St: Mary\'s School."; Re: Apostrophe Issue Programming Web Development by Henzard Also have a look at this [url]http://forums.sun.com/thread.jspa?threadID=5346419[/url]