09102007 1645 GMT-6 DST I didnt mean you David.... but that is cool. I like to see people making updates to their site to add more value to the customer.
Wade David Gresser wrote: > my website is guitargallerymusic.com I am in the process of re-writing it > from it's original source which I did in tcl and postgress sql about 10 years > ago to php and mysql. I wanted to add a people who bought this also bought > that deal. I need to generate the permutations of each order's items. > > > David > > > > > > Wade Smart <[EMAIL PROTECTED]> wrote: 09102007 > 1631 GMT-6 DST > > May we should start asking, "Please explain what your are going to do > with this?" to sniff out homework cheaters. > > :) > > Wade > > David Gresser wrote: > > thanks, no it's not homework. It's for my website. > > > > David > > > > > > James Keeline <[EMAIL PROTECTED]> wrote: --- > David <[EMAIL PROTECTED]> wrote: > > > > > Help! following up on advise I got from an earlier question, I've been > > > struggling with this for hours. I'm trying to generate a simple list > > > of unique pairs from a list of 4 items for example, I start with > > > $names = "david,dianne,phillip,phyllis" > > > > > > I explode them into an array but I can't figure out how to > > > generate the unique list of pairs. I don't want relults like > > > "david david" > > > > > > I've tried some recursive stuff but I keep winding up in infinate loops. > > > > You are probably trying to over-engineer the problem. Take a look at the > > example on http://us2.php.net/manual/en/function.array-rand.php since it > is > > almost exactly what you are looking for. PHP has a function for nearly > > everything. > > > > Just to be clear, this isn't a homework assignment, right? We get a lot > of > > that at the beginnings or endings of school years in this group. > > > > James Keeline > > > > > > > > > > > > > > [Non-text portions of this message have been removed] > > > > > > > > Community email addresses: > > Post message: [email protected] > > Subscribe: [EMAIL PROTECTED] > > Unsubscribe: [EMAIL PROTECTED] > > List owner: [EMAIL PROTECTED] > > > > Shortcut URL to this page: > > http://groups.yahoo.com/group/php-list > > Yahoo! Groups Links > > > > > > > > > > > > > > [Non-text portions of this message have been removed] > > > > Community email addresses: > Post message: [email protected] > Subscribe: [EMAIL PROTECTED] > Unsubscribe: [EMAIL PROTECTED] > List owner: [EMAIL PROTECTED] > > Shortcut URL to this page: > http://groups.yahoo.com/group/php-list > Yahoo! Groups Links > > > >
