Jump to content


Check out our Community Blogs

marases

Member Since 26 Feb 2012
Offline Last Active Aug 06 2013 07:10 PM
-----

Posts I've Made

In Topic: Hello!

04 May 2012 - 05:20 PM

Hello Static, welcome to this loving community! It'll be great to see you around.

In Topic: Select Dates Where Months Is The First 3 Months

04 May 2012 - 05:19 PM

Are you using PHP and mySQL or what?? Like WingedPanter said the solution is very wide!!

In Topic: Html Help?

04 May 2012 - 05:17 PM

Hahaha, just forget about IE! :D

In Topic: Random Numbers Problem

04 May 2012 - 05:10 PM

I agree with

I second winged, we need to see more code, it looks like somehow you are changing $rand value somewhere,
could it be you have another $rand variable around ?

a quick test could be making sure that rand(10000,99999); gets executed only once ( might it be in a function called many times ? )

you could also change $rand varname, since is soundy to be used somewhere else, you might call it $oneTimeAssignedVariable for example, and change the var name in only these 3 lines you mentioned ( echo, insert and cookie )

total replacements 4 :
if the problem was conflict with another var called the same in any scope that problem would be solved with this.

if the problem is the rand() called more than once it will persist, then you should check the code and make sure that line is the very first and is executed only once.


I agree with him, but could you also provide some other relevant code? But my best advice change the variable name.

In Topic: parameter not define

06 April 2012 - 01:30 PM

precisely, that is the issue. PHP couldn't find that element in the $_REQUEST array.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download