Importing Issue â€™
Posted 12 April 2006 - 03:37 PM
Ive been importing all the records for a clients site into my database and ive just exported and then imported them into the clients database but its not working very well...
Its adding things like donâ€™t when it should be a '
Any ideas if i can easily solve this?
Posted 12 April 2006 - 03:55 PM
Posted 12 April 2006 - 04:09 PM
From that the tables and data were extracted as a .sql file and imported into the clients database, again via phpmyadmin.
Any ideas how to fix the problem of those special characters.
Posted 12 April 2006 - 04:56 PM
<?php $search = array( '/[\x07\x95]/', '/\x85/', '/[\x91\x92]/', '/[\x93\x94]/', ); $replace = array( '-', '...', '\'', '"', ); $data = preg_replace($search, $replace, $data); ?>
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users