Hi Ronald,
Sorry for the late reply.
What i mean is, if the words contains a single quote.
by the way the words will be used for retrieving data from the
database.
therefore, if there is a single quote in it, it will return an error message.
by the way, i have found a way to solve it by using the following code:
<?php
$keywords=str_replace(" ' ", " ' ' ", $words);
?>
by the way i have another question about passing parameter through the url.
Lets say, i have a web page consists of 2 frame section.
i need to get the querystring value from the main url to the
frame 1. this value will be used as a keywords for retrieving data from the data base. note that, inside the frame is another php file (it is not the same file name as main page file).
So I was thinking how to pass the parameter from the main url to the frame.
sorry for my bad explanation and english.
Please don't mind.
Regards,
Kencana