06-20-2011, 02:54 AM
[eluser]kev[/eluser]
Hi everybody,
Let's i have my site with the following URL
products is the Class and product_info is the method. If I add a single quote next to product_info like below:
I get some errors like this :
is there some kind of fix to prevent this from happening?
Hi everybody,
Let's i have my site with the following URL
Quote:http://www.mysite.com/products/product_info/1
products is the Class and product_info is the method. If I add a single quote next to product_info like below:
Quote:http://www.mysite.com/products/product_info'/1
I get some errors like this :
Quote:A PHP Error was encountered
Severity: Notice
Message: Undefined index: product_info'
Filename: controllers/products.php
Line Number: 258
is there some kind of fix to prevent this from happening?