/    Sign up×
Community /Pin to ProfileBookmark

Searching in data base

Dear All

i made seach page by php & used form to enter word
to searc in data base it’s working

but??!!
if i changed the encoding of the page from charset=ISO-8859-1″
to charset=windows-1256″ i can’t found any results of search

what’s the problem please help me ?
i want to search of the words but use charset=windows-1256″ encoding

Thanx ? ? ? ?

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@ShrineDesignsApr 10.2005 — ISO-8859-1 is a standardized character encoding, and i don't think windows-1256 is

if you use mysql, mysql uses iso-8859-1 by default for encoding stored data

or it could be that you are not escape curtain characters

i can search my site by similar means and it works in different encoding
Copy linkTweet thisAlerts:
@binmadhiauthorApr 14.2005 — i insert data in data base used ISO-8859-1

and in search page i used other charset

the encoding must be same in inserted data in database and search page

it's working now


thanks
×

Success!

Help @binmadhi spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...