>>> [EMAIL PROTECTED] 3/05/2005 2:23:17 a.m. >>>
In message <[EMAIL PROTECTED]>, Gordon Stewart
<[EMAIL PROTECTED]> writes

>#$op=$row['Operator'];
then you use the operator who happens to be in the final row in a link:
> <A HREF='?company=".$op."'>".$op."</A> listing.<BR>\n
then you 're-do' the final record
>while($row = mysql_fetch_array( $result )) {

Is there any need to collect all the "Operator"s, then only use the last
one?
<

Basically theres only ONE row to loop from.

- This part of the script, I am viewing an individual record...  

& I wont know the grouping it belongs to - until after it 'scans' the record...

- the title - I want to put a link - so people click on it - & then it finds 
the 'grouping' that the record belongs to..

I thought of something after I went to bed - 
- 
I coud assign the values (during the loop) - to temparary variables...

& then use the temporary values - to display the results (I can use the 
'grouping'  as many times as I like then...

Although that adds 20 or so extra lines of code.. - I'll fix it up tonight....

G





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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to