I have 2 php pages.
On Page 1 there is a table listing company names.
The company name contains a hyperlink to page 2 where it brings up the company details.
The problem I have is that if the company name is like Michael Mouse's Ltd then no information is brought up.
I know the problem is the inverted comma but I do not know how the solve it. At the moment I am manually changing the name to Michael Mouses Ltd to get around the issue.
on page 1 I have
[Company_Name])."
On page 2 I have
$companyname=urldecode($_GET[companyname]);
Thanking in advance for any help received
On Page 1 there is a table listing company names.
The company name contains a hyperlink to page 2 where it brings up the company details.
The problem I have is that if the company name is like Michael Mouse's Ltd then no information is brought up.
I know the problem is the inverted comma but I do not know how the solve it. At the moment I am manually changing the name to Michael Mouses Ltd to get around the issue.
on page 1 I have
[Company_Name])."
On page 2 I have
$companyname=urldecode($_GET[companyname]);
Thanking in advance for any help received