NYCPHP Meetup

NYPHP.org

[nycphp-talk] new problems

Tracy tech_learner at yahoo.com
Thu May 22 00:48:07 EDT 2003


Hi,
too bad i made u search for the book, i thought, the code should help along with the tutorials on O'reiley and devarticles. anyways....
 
ok, if u are game to try a small example, i would like to try to break this table into two. one that holds the "only" selected option and one that holds >1 options with the id field in common. is this how u r proceeding? may be repeating your work to u.... 
 
if u r not very particular about the column names and can go with opt1, opt2, opt3 and so on, then u only need the initial table to be 
ID   OPT1
1    abc
when the user selects more than one, u can have the table extended. there is a tutorial by Ben Rowe where he describes how to include the details provided by the user at the time of registration. 
... "The last function allows us to customize what the session table stores. The session table stores a primary key, session id, username, userid and auth level (used for creating administrators, etc). But what happens when you want to store a persons first and last names so that you can quickly retrieve them? " ...
 
i guess u r in a similar position. take a look at the first 2 parts, that should help. http://www.devarticles.com/author.php?authorId=3
 
>I'm not sure what the structure of that relate-table should be.

i guess yr 2nd problem is partly answered too. i mean either of yr queries would find a solution.
 
Tracy



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Coming together is a beginning... 
   keeping together is progress... 
      working together is success !!!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20030521/2b52ddeb/attachment.html>


More information about the talk mailing list