I am using cake1.3
I have a table patient with id(primary key),personalno fields.
I have to set personalno=id+100.
That is before saving, personalno have to id+100. How can i get the id
value beforesaving or aftersaving. If aftersaving then how can i edit
table with single or more code.
thanks
-
I have Visit and Consult table both are related through table Patient.
i.e The visit and Consult table have foreign key patient_id. I have to
edit this two tables (Visit and Consult) on a single edit action.i.e
in edit view both tables data should display.
What model I have to use?
Thanks.
I have two tables 1)Patient2)Consulting. Consulting has foreign key
patient_id. But Patient would not have Consulting_id.
What relation should I use?
I have to ensure saving to Consulting table after each saving of
patient. i.e its essential to saving to Consulting table after the
saving Patient.
H
In my doctors table
I have to find using query like this
//
'SELECT id, name, '0' as status FROM doctors;'
//
How can I add '0' as status in afterfind or beforefind callback
functions.
If I dont think to direct run the query.
--
Our newest site for the community: CakePHP Video Tutorials
http://
In my patient form one blood group select box.
My view.ctp is as follows,
Can I place a function globally to return bloodgroup when id is
passed? If so what can I do for it?
Thanks.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Qu
As I am a beginner in CakePHP
my problem is How can I create common functions in a class like in VB
modules
and call this or is this conventional to CakePHP to allocate repeated
function in a class and call.
thanks
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.
lpers unless it's a repetitive, fairly
> > simple thing to do like links. Just write in raw javascript/jquery.
> > Debugging is easier, the examples for plugins work in a copy paste way, and
> > you get moving faster.
>
> > On 28 March 2012 12:09, alexkd wrote:
>
> &
Although a lot of discussions can be found in this group . A beginner
not able to understand how to implement ajax in project. And also cake
php.org says Ajaxhelper is deprecated. I dont understand which is the
new usage
I am using 1.3 cakephp my problem is how to replace my calc div with
calculat
According to the above code
How can I show a patient list in left side?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe fro
I hvae created default .ctp and one css. Its showing content and
headermenu. What I want is a left side list view of patients.While the
contents are changing with the selection of menu.
This is my default.ctp
docType('xhtml-trans'); ?>
css('styles'); ?>
Html->link(__('Visits', t
Hai,
I am beginner in cakePHP. I am creating a hospital project. In this in
addition to head(Menu) and contents I want a left side list of
Patients (a grid view). This patients view is needed in my all pages .
How can i design the layout.
Thanks.
--
Our newest site for the community: CakePHP Vide
Hai,
I am new to cakePHP. I want to display in my form 'Male' or 'Female'
instead of '1' and '0'.
In my view-index
Although i searche a lot. I ca't .
Please help me
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
Hello all
I am using CakePHP 1.3.
In my model validation I added wrong field which is not included in my
table. Yet the data is saved
without showing any error.
Here's my model
class patient extends AppModel
{
var $name = 'patients';
var $hasOne = 'Doctors';
var $validate = array(
'login' => ar
13 matches
Mail list logo