Jump to content

ehutchison

New Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Everything posted by ehutchison

  1. check out this page for information on minyear and max year. also, be sure to make sure you validate the information. http://book.cakephp.org/view/189/Automagic-Form-Elements
  2. correct, but be sure you have the debug level properly set. should be in app/config/core.php Configure::write('debug', 1); Using debug is similar to doing a print_r(); with <pre></pre> tags
  3. So if I understand you correctly.. I will assume you have a 'home' page and a 'about us' page. When your on the 'about us' page you want it to highlight the 'about us' link, and if on the 'home' page, you want it to highlight 'home' somehow?
  4. Im a cake person myself As everyone has said, pick the right tool for the right job.
  5. I am not sure how you began your developement. Did you start locally, and move it to a webserver later? If so, check your /app/webroot/index.php file. Inside that file are some important path related variables which will need to be changed.
  6. From what I understand with cake, there are two ways to do a query. The cake way http://book.cakephp.org/view/73/Retrieving-Your-Data using the find command. <?php $result = $this->Postjob->find('list', array('conditions'=>array("Postjob.title LIKE'=>'%'.$title.'%'))); ?> The other method, which should not be used often in my opinion http://book.cakephp.org/view/456/query <?php $result = $this->Postjob->query("SELECT * FROM WHERE Postjob.title LIKE '%".$title."%'"); ?> I hope this helps.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.