Hello everybody
I have two questions...the first is how can i store the word Artificial Inteligence as ArtificialInteligence in the database without any spaces and the second is how can i transfer the keyword when i do search from one page e.g. page1 to another e.g. page3....
If you know how can i make these please write me as soon as posible...
Thank you....
for the second question, try passing it in the URL, so generating links to it like:
page2.php?var=value&anothervar=anothervalue
in page2.php, don't forget to extract $GET:
extract($_GET);
This isn't nessescary on ALL servers, but it is a good idea
If you think that using "extract()" on the "$GET" array is a good idea and are going to do it, you should be aware that the manual says:
Do not use extract() on untrusted data, like user-input ($_GET, ...). If you do, for example, if you want to run old code that relies on register_globals temporarily, make sure you use one of the non-overwriting extract_type values such as EXTR_SKIP and be aware that you should extract in the same order that's defined in variables_order within the php.ini.