hi

i am new to cake php . i don't know how to write controller, model, view
related to the below statements .

plz help to write the whole code .for this only. i have to take the
reference as this i will write the remaining code in my project.


if("$chkProfileType" == ""){$chkProfileType = "1";}
    $txtProfileName = stripslashes($txtProfileName);



    if("$MODE" == "2" && "$txtProfileName" == "")
        {
        //POPULATE PROFILE NAME
        if($PROFILE_ID > 0)
            {
            $rsProfile = pg_exec($conn,"SELECT strprofilename FROM
tblmusicprofiles WHERE lngprofile = $PROFILE_ID");
            $intProfileCnt = pg_numrows($rsProfile);
            if($intProfileCnt > 0)
                {
                $txtProfileName = pg_result($rsProfile,0,'strprofilename');
                }
            }
        }

i need like this

1). ex_controller.php

?????

2). index.ctp

?????

3).ex.php (model).

?????

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to