FROM ANOTHER ANGLE

From what i know, what i see, what i think, share with you all. You are welcome, as long as you are open-minded enough.

Tuesday, 9 August 2011

MYSQL - mysql_real_escape_string error

›
Warning: mysql_real_escape_string() [function.mysql-real-escape- string]: Access denied for user 'SYSTEM'@'localhost' (using...
Thursday, 14 July 2011

CakePHP preg_match Error

›
Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash... If you have met a warning similar with a...
Monday, 27 June 2011

CakePHP Update ACL

›
Let's say we have created new controller(s). For authentication and security purposes, we will need to update the acl. If we are lazy to...
Wednesday, 22 June 2011

CakePHP - Parse Data From Controller To View

›
Let's say $a = '123', in index() in users_controller. If we want to use the $a in users/index, we can use set() and compact(): ...
Monday, 20 June 2011

CakePHP Trap: findAllBy() and find('all', ...)

›
I have a variable $productId. Comparing these two functions: 1. $pricelists = $this->PricesProduct->find('all',array('c...
Monday, 13 June 2011

CakePHP Login Redirection

›
Let's said we want page to be redirected to Reservation index page after a User's login to the website, we can therefore create the ...
Thursday, 9 June 2011

CakePHP Drop Down List - Same value for 'keys' and 'values'

›
By default, when we use the form helper to generate a [select] drop down list, the [value] of each [option] is the [id] of the particular ta...
›
Home
View web version

About Me

Ban Ban
Chenderiang, Perak, Malaysia
I have just graduated from university, like to think a lot, always asking how and why, and ready to accept or reject different kinds of views, opinions and critiques. I am also a vegetarian. Please forgive me for my poor language.
View my complete profile
Powered by Blogger.