Hi guys!
I using a custom php configuration on dreamhost and works fine with
standalone php files.
But i can't get it working with cakephp(Cakephp works fine without the
custom php.ini but i need it to increase te max upload size)
The thing is when i try to use the custom config with
Hi Brian, i assume that each course have an user_id right? so when you
list, edit or view the courses just use a condition to search all the
courses of the current user... ex:
$cond = array('Course.user_id' = $Current_user_id);
$this-set('courses', $this-paginate('Course', $cond));
Brian Lee
You could calculate the time difference on the fly with mysql TIMEDIFF
function
[http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_timediff]
instead of store it in the db
And this [http://www.gidnetwork.com/b-16.html] may help to store the
time difference.
Use reset or button NOT submit type for the cancel button.
input name=Cancel value=cancel type=reset or input name=Cancel
value=cancel type=button
Nancy escribió:
So, I added a submit and a cancel button to my ajax form and it
doesn't matter which you press, it always returns the submit