![]() |
|
#1
|
|||
|
|||
Recall table rowIm back.....
OK this is waht I call my table with... PHP Code:
But on 1 server its ok but on another it keeps repeating (recalling) the second row. Any idea why?????? |
|
#2
|
||||
|
||||
mysql_result() issueWhen you use the MySQL functions that return the entire row such as mysql_fetch_array() like you have in your sample code above, you should avoid using mysql_result() off the same query result resource.
I remember reading about it once before and I was trying to look for the note again in the MySQL docs but can't seem to find it right now. I will post again if I remember where I read that or if I come across some other information on it later... __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
|||
|
|||
|
Thanks JDS but I have solved it now
Took me a couple of hours but thats the learning curve. ![]() |
|
#4
|
||||
|
||||
|
So what was the issue actually?
I also found the note about mysql_result() finally. I should have looked for it at PHP.net instead of MySQL.com This is for anyone else finding this thread in the future: Quote:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
Recent GIDBlog
A Week in Kuwait by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trying to retrieve selective results from a table. | icsys | MySQL / PHP Forum | 9 | 18-Nov-2003 03:31 |
| form in a table cell | blelisa | Web Design Forum | 1 | 19-Aug-2003 09:14 |
| top of table | Charlie | Web Design Forum | 7 | 27-Mar-2003 02:21 |
| [Tutorial] MySQL Basics | nniehoff | MySQL / PHP Forum | 15 | 23-Mar-2003 19:42 |
| table question | smoky | Web Design Forum | 1 | 05-Jan-2003 02:45 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The