PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sat Jul 04, 2020 12:39 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Sat Mar 01, 2008 2:19 pm 
Offline
Forum Newbie

Joined: Fri Sep 07, 2007 6:42 am
Posts: 23


Last edited by kiko on Mon Mar 03, 2008 2:59 pm, edited 1 time in total.

Top
 Profile  
 
PostPosted: Sat Mar 01, 2008 2:53 pm 
Offline
DevNet Master
User avatar

Joined: Thu Mar 15, 2007 6:28 pm
Posts: 2765
Location: Redding, California
IDs are meant to be a one-time occurance.


Top
 Profile  
 
PostPosted: Sun Mar 02, 2008 5:54 am 
Offline
Forum Newbie

Joined: Fri Sep 07, 2007 6:42 am
Posts: 23


Top
 Profile  
 
PostPosted: Sun Mar 02, 2008 6:01 am 
Offline
Breakbeat Nuttzer
User avatar

Joined: Wed Mar 24, 2004 8:57 am
Posts: 13098
Location: Melbourne, Australia
I don't really understand what it is you're trying to do, but just make the IDs different so they are unique.

Syntax: [ Download ] [ Hide ]
$i = 0;
while($disp=mysql_fetch_array($disp_de))
{          
  echo '<tr><td>';
  $dis= $disp['pp_desc'];
  echo "<p id=\"desc_$i\">".$dis."</p>";
  echo '</td></tr>';
}


Top
 Profile  
 
PostPosted: Sun Mar 02, 2008 10:51 am 
Offline
Forum Newbie

Joined: Fri Sep 07, 2007 6:42 am
Posts: 23


Top
 Profile  
 
PostPosted: Sun Mar 02, 2008 10:01 pm 
Offline
Forum Newbie

Joined: Fri Sep 07, 2007 6:42 am
Posts: 23
Anyone? :(


Top
 Profile  
 
PostPosted: Mon Mar 03, 2008 10:46 am 
Offline
Briney Mod
User avatar

Joined: Mon Jan 19, 2004 7:11 pm
Posts: 6446
Location: 53.01N x 112.48W

_________________
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.


Top
 Profile  
 
PostPosted: Wed Mar 05, 2008 6:13 am 
Offline
Forum Newbie

Joined: Fri Sep 07, 2007 6:42 am
Posts: 23
Hi, does any know how to slove this problem? :? Thanks.


Top
 Profile  
 
PostPosted: Wed Mar 05, 2008 9:09 am 
Offline
Forum Regular
User avatar

Joined: Fri Apr 01, 2005 5:37 pm
Posts: 974
Location: Bay City, Michigan


Top
 Profile  
 
PostPosted: Wed Mar 05, 2008 12:00 pm 
Offline
Forum Newbie

Joined: Fri Sep 07, 2007 6:42 am
Posts: 23


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot] and 42 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group