NYCPHP Meetup

NYPHP.org

[nycphp-talk] next challenge

Daniel Convissor danielc at analysisandsolutions.com
Wed Feb 23 10:25:23 EST 2005


Hi Joshua:

The list of gardens has the name of the garden as a hyperlink.  The link 
goes to the add/edit page and has the garden id as part of the query 
string:
  echo '<a href="edit.php?garden_id=' . $row['garden_id'] . '">'
       . $row['garden'] . "</a>\n";

Adding and editing items should be done via the same page/form.  Makes 
long term maintenance easier.

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409



More information about the talk mailing list