06.09.2010, 20:15
Some people apparently think they are important enough to bump their own topic after 10 minutes.
That looks very inefficient in the first place. 5 calls to MySQL to get 5 pieces of data is too much.
Better fetch the row in its whole and then use sscanf/explode/split to assign the data to your desired variables.
If you don't want to do that, then show the function headers.
That looks very inefficient in the first place. 5 calls to MySQL to get 5 pieces of data is too much.
Better fetch the row in its whole and then use sscanf/explode/split to assign the data to your desired variables.
If you don't want to do that, then show the function headers.