Sorry Am i just beign dumb...blond ...english....male...etc....hahaah...but is'nt that the whole idea of """"RANDOM"""" i should not have to mix up me numbers??
MAdAxe
I can generate random numbers between 1 and 52 but i want 9 differing numbers my code is below how can i ensure that all nine numbers are differant
my $lower=1;
my $upper=52;
my $random1 = int(rand( $upper-$lower+1 ) ) + $lower;
my $random2 = int(rand( $upper-$lower+1 ) ) + $lower;
my...
OK IM BEING THICK the last two if statement are fighting with each other
if $colindex = 1 the it adds 1 so now $colindex = 2
but the next line says that
if $colindex = 2 the it subtracts 1 so now $colindex = 1
so $colindex will always equal 1 thus my colour stays the same any body got a...
I have preset "my $backcol = #262525; and my $colindex = 1;"
There is something wrong with my syntax but i cant work it out
MADAXE
foreach my $i (@data) {
chomp($i);
my ($TTITLE2,$NAME,$DATE,$POST) = split(/\|/,$i);
$backcol == #262525 if ($colindex eq 1);
$backcol ==...
CHEERS EARS
IM A BRIT IF YOU HADNT NOTICED GOT SOME NICE APPLES AND PEARS IF YOUR INTERESTED
OH BYE THE WAY TA IT WORKED GREAT
AND I MUST BE GETTING BETTER COZ I CAN C WHERE U IS AT AND HOW THE CODE WORKED. THANKS TO ALL OF U'S THAT HELPIN ME OUT.
MADAXE
Trying to increment a specific value on a specific line in an array by 1 everytime the page is viewed.
My code does not error but it does not work
MADAXE
foreach my $moddata2 (@data2) {
chomp $moddata2;
my ($TTITLE3,$COMMENT3,$NOPOSTS3,$PUSER3,$LOOKS3,$DATE3,$VUSER3,$ICON3,$tlink3) =...
ok im confused i need an href to exec my cgi but i need the name of the href to tell the script which file to grab. How does CGI.pm help me and how do i replace my href to make all this work
MADAXE
REALLY CONFUSED.....
I HAVE A PIECE OF CODE FOR READING A TEXT FILE AND EXTRACTING INFO BUT THE SCRIPT IS BEING SENT A URL POST I.E
<a href="lookatthread.cgi?link=March-27-2005+CGI IS NOT LOGICAL+33">
THIS TELLS MY SCRIPT WHICH FILE TO GO AND READ THE NEXT STEP IS
if ($ENV{'REQUEST_METHOD'} eq 'GET')
{...
Ive been thinking and im thinking that the url should be built like this
<a href="lookatthread.cgi?filename=$tlink">
but how do i extract the info in my cgi script
MADAXE
Im trying to build a forum on my site
i can create a new thread now when i click on the title of the new thread i want it to start a cgi script that will show the history of the thread all the posts which im storing in a text file a new line for each post and information about who posted and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.