I cannot validate my year select.
When posted it appears as :
data[Comunity][start][year]...
2009
Validation rule:
'start' => array(
'required' => true,
'allowEmpty' => false,
'rule' => array('checkYearValues', 'start'),
'message' => 'Please enter a year
My guess: Look for 'this->redirect' in app_controller, then all the
remaining controllers.
If that fails, maybe routes.php
On Sun, Dec 15, 2013 at 8:55 PM, Jason Page wrote:
> Hi gents,
>
> I've inherited a site doing something SEO suicidal, but I can't for the
> life of me find where it is do
I have attached an image for the first time so maybe it will help.
I just noticed the select errors are above the select yet the rest of the
errors appear below where they should be. Well I really do not care above or
below.., but they must line up for the sake of appearance.
This just looks
Was hoping someone can point out where I am going wrong here.
Just testing so code is rather sloppy.
Related to GeoIP City / Country Location. (data is in my database, not a web
call)
$address = $this->my_ip2long($_SERVER['REMOTE_ADDR']);
Calls this:
private function my_ip2long($ip
Hello Cakephp users,
I am just looking for someone that is familiar with Cakephp and can
help me figure out simple processes in CakePhp.
I am looking for help with things like:
~ uploading a image
~ saving a form to say products table, but saving images uploaded to a
product_images table.
You can use *Php storm* instead. It will provide the console configuration
for php and php-frameworks.
On Thursday, April 12, 2012 10:53:46 AM UTC+5:30, Reza Talamkhani wrote:
>
> Hi,
> I Need an IDE for CakePHP 2.1 that integerated with cake console and
> suggestion...
> I test eclipse, netbean
hi
may i recommend reading
http://book.cakephp.org/2.0/en/models/saving-your-data.html
set your data into an array (e.g. $data = array(‘data1’=>1,’data2’=>2);
$this->Model->id = $id;
if($this->Model->save($data)){
// success
};
On 12 Dec 2013, at 06:18, YOONG SINJIE wrote:
> May I know
Add select query at the end or your stored procedure to return resultset of
a table.
On Monday, December 2, 2013 2:42:57 PM UTC+5:30, Jorge Mariano Paz Flores
wrote:
>
> Hi does anyone knows how to execute a store procedure, all I get is empty
> result
>
> here is my code...
>
> in my model..
>
I have two tables called Employees and JobOrders , I want to make use of
the checkboxes where users can select Employees depending on how many
Employees are needed in a particular Job Order and then save it in the
database. How can I do this in CakePHP?
--
Like Us on FaceBook https://www.fac
Hi gents,
I've inherited a site doing something SEO suicidal, but I can't for the
life of me find where it is doing this, and I'm not even that familiar with
PHP, so it's turning out to be a nightmare. It probably doesn't help that
the site is 4 years old or so and has barely been updated in th
May I know , got other way to store the SQL statement, except the Save()
function ? I want to do some simple calculation, i want to store the result
at database. Anyone having any idea about it ?
public function add() { if ($this->request->is('post')) {
/// complete calculation
11 matches
Mail list logo