This is probably one of the sillier things to ask for help on, but I just could not find the answer by searching the net..
There are two almost identical scripts, the only thing that separates them is the sql query and the variable names. They get run on the same page, one beneath the other...
What they do is grab a bunch of data from the database, store them in an array, then after shuffling the rows in the array it outputs one random row. Now this works perfectly on both scripts, but out of nowhere this number (1) appears at the end of one of the scripts...
Why?
![]()
It usually helps to type out the problem, because it gives a new perspective, so I might figure it out right after posting this, but right now I'm at a loss![]()
Yes, I have checked all the regular newb problems that I know of...




Reply With Quote