mysql_escapef

3 posts by 2 authors in: Forums > CMS Builder
Last Post: June 19, 2012   (RSS)

Re: [Toledoh] mysql_escapef

By Jason - June 19, 2012

Hi Tim,

I took a look. The only difference between the two is that products_a uses the where clause:

products = '4'

and products_b uses

products = 4

If you hard coded in the single quotes into products_b, would you get the same result? Another thing you could try would be:


'where' => "products =".intval($itemsRecord['num']),

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] mysql_escapef

By Toledoh - June 19, 2012

That second option seems to work Jason! Thanks!
Cheers,

Tim (toledoh.com.au)