|

|
|
» Project: CakePHP Programming Project | Bids | Average Bid | Project Started | Project Ends | Time Left | | 0 | N/A | 02 Jan, 2007 02:41:59 | 01 Jul, 2007 | 0 w 0 d 0 h 0 m |
| Project Starter: | phpbaby |
| Additional Links: | None |
| Maximum Bid: | $60 |
| Project Status: | Closed - The Expiry Time Has Elapsed |
| Description: | I need the following programmed in CakePHP. I need only an email with text to cut, paste and file somewhere to create this in CakePHP, and directions as to how to create and run the button described. Assume that functions ddlits(), qrz($choice,$find), runsql($sqry) and qtdis($qnm,$tuple) are written in PHP and supplied to you.
1. Create a button that will appear on all pages in an application at a particular location using CSS, and that does as follows.
2. Read 2 fields CHOICE and FIND.
a. The top one, CHOICE, is a drop-down list with the same 16 choices each time.
Function ddlits() returns the list of 16 literal values that are displayed.
b. The bottom one FIND is a text field with no default, so it is blank initially.
3. By special rules used only here, translate (2) into a list of (Query#,SQL Query) pairs.
Function qrz($choice,$find) = list of ($qnm,$sqry) pairs of Query# and Query.
4. Execute (3) and accumulate the results into []=(Query#,Tuple). That is, we have a function runsql($sqry) = list of tuples returned by query $sqry.
5. Translate (Query#,Tuple) => (Display,URL) by function qtdis($qnm,$tuple)=($display,$url) to create a list of links to display.
6. Display the (Display,URL) pairs as links.
I have to write what and store it where and do what to get the button to appear on the existing pages?
|
|
|
|