<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Script superenalotto ma mi da un errore]]></title><description><![CDATA[<p dir="auto">Salve a tutti i webmaster, ho creato uno script che raccoglie le ultime 18 estrazioni e che confronta i numeri più usciti, e quelli che non sono mai usciti, ma mi da un problema, ovvero non mi conteggia con precisione i numeri usciti più di una volta ignorando la doppia/terza/quarta uscita. Ad esempio il numero 90 che è uscito ben due volte, lo indica come uscito una sola volta, ma se lo cambio di posizione, allora lo conteggia. Strano non credete? Molto probabilmente c'è un errore nello script, che ho cercato in tutti i modi di scoprire.....ma non c'è stato nulla da fare. C'è qualche esperto webmaster che ha volglia di scoprire dove sta l'errore e aiutarmi a capire dove ho sbagliato? Si potrebbe poi fare in modo di inserire i numeri in un database invece di inserirli ogni volta nella pagina? Il database dovrebbe tenere solo 18 estrazioni ed eliminare automaticamente o manualmente l'estrazione oltre la 18° estrazione. Vi invio lo script qui di seguito. Grazie per l'aiuto!</p>
<p dir="auto">&lt;%</p>
<p dir="auto">a = 1<br />
b = 90</p>
<p dir="auto">ca = Array(16, 31, 41, 61, 65, 77)<br />
cb = Array(9, 15, 19, 38, 48, 77)<br />
cc = Array(18, 23, 31, 38, 47, 51)<br />
cd = Array(24, 30, 42, 54, 84, 85)<br />
ce = Array(19, 22, 49, 65, 70, 87)<br />
cf = Array(17, 38, 42, 50, 68, 86)<br />
cg = Array(9, 16, 31, 43, 49, 83)<br />
ch = Array(6, 24, 55, 67, 70, 75)<br />
ci = Array(18, 20, 46, 54, 57, 65)<br />
cl = Array(13, 16, 45, 58, 63, 72)<br />
cm = Array(25, 32, 64, 74, 85, 90)<br />
cn = Array(46, 49, 61, 69, 74, 82)<br />
co = Array(4, 23, 24, 35, 77, 79)<br />
cp = Array(5, 49, 71, 83, 85, 88)<br />
cq = Array(6, 29, 54, 62, 72, 80)<br />
cr = Array(10, 16, 36, 70, 71, 73)<br />
cs = Array(8, 26, 32, 44, 82, 86)<br />
ct = Array(3, 7, 48, 67, 87, 90)</p>
<p dir="auto">response.write "&lt;table border=2 width=700 height=500 align=center&gt;"<br />
for lotto =  a to b</p>
<p dir="auto">if lotto = 1 then<br />
response.write "&lt;tr&gt;"<br />
end if<br />
u = u+1</p>
<p dir="auto">s = 0<br />
for x = 0 to 5<br />
if x = 0 then response.write "&lt;th bgcolor=ffff00&gt;" end if</p>
<p dir="auto">if lotto = ca(x) or lotto = cb(x) or lotto = cc(x) or lotto = cd(x) or lotto = ce(x) or lotto = cf(x) or lotto = cg(x) or lotto = ch(x) or lotto = ci(x) or lotto = cl(x) or lotto = cm(x) or lotto = cn(x) or lotto = co(x) or lotto = cp(x) or lotto = cq(x) or lotto = cr(x) or lotto = cs(x) or lotto = ct(x) then</p>
<p dir="auto">response.write "&lt;font color=""red""&gt;"<br />
response.write lotto &amp; " "<br />
response.write "&lt;/font&gt;"</p>
<p dir="auto">else</p>
<p dir="auto">s = s+1<br />
if s = 6 then<br />
response.write lotto</p>
<p dir="auto">end if<br />
end if<br />
if x = 5 then response.write "&lt;/th&gt;" end if<br />
next</p>
<p dir="auto">if u = 10 then<br />
response.write "&lt;/tr&gt;&lt;tr&gt;"<br />
u = 0<br />
end if</p>
<p dir="auto">next<br />
response.write "&lt;/table&gt;"</p>
<p dir="auto">%&gt;</p>
]]></description><link>https://dev.connect.gt/topic/137072/script-superenalotto-ma-mi-da-un-errore</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 13:21:58 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/137072.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Oct 2010 09:05:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Script superenalotto ma mi da un errore on Fri, 22 Oct 2010 10:40:31 GMT]]></title><description><![CDATA[<pre><code>&lt;%


a = 1
b = 90 




ca = Array(16, 31, 41, 61, 65, 77)
cb = Array(9, 15, 19, 38, 48, 77)
cc = Array(18, 23, 31, 38, 47, 51)
cd = Array(24, 30, 42, 54, 84, 85)
ce = Array(19, 22, 49, 65, 70, 87)
cf = Array(17, 38, 42, 50, 68, 86)
cg = Array(9, 16, 31, 43, 49, 83)
ch = Array(6, 24, 55, 67, 70, 75)
ci = Array(18, 20, 46, 54, 57, 65)
cl = Array(13, 16, 45, 58, 63, 72)
cm = Array(25, 32, 64, 74, 85, 90)
cn = Array(46, 49, 61, 69, 74, 82)
co = Array(4, 23, 24, 35, 77, 79)
cp = Array(5, 49, 71, 83, 85, 88)
cq = Array(6, 29, 54, 62, 72, 80)
cr = Array(10, 16, 36, 70, 71, 73)
cs = Array(8, 26, 32, 44, 82, 86)
ct = Array(3, 7, 48, 67, 87, 90)





response.write "&lt;table border=2 width=700 height=500 align=center&gt;"
for lotto = a to b


if lotto = 1 then
response.write "&lt;tr&gt;"
end if
u = u+1

s = 0
for x = 0 to 5

if lotto = ca(x) then s = s+1
if lotto = cb(x) then s = s+1
if lotto = cc(x) then s = s+1
if lotto = cd(x) then s = s+1
if lotto = ce(x) then s = s+1
if lotto = cf(x) then s = s+1
if lotto = cg(x) then s = s+1
if lotto = ch(x) then s = s+1
if lotto = ci(x) then s = s+1
if lotto = cl(x) then s = s+1
if lotto = cm(x) then s = s+1
if lotto = cn(x) then s = s+1
if lotto = co(x) then s = s+1
if lotto = cp(x) then s = s+1
if lotto = cq(x) then s = s+1
if lotto = cr(x) then s = s+1
if lotto = cs(x) then s = s+1
if lotto = ct(x) then s = s+1


next


if s &gt;0 then
response.write "&lt;th&gt;&lt;font color=""red""&gt;"&amp; lotto &amp; "&lt;sup&gt;" &amp; s &amp; "&lt;/sup&gt;&lt;/font&gt;&lt;/th&gt;"
else

response.write ("&lt;th&gt;"&amp; lotto &amp; "&lt;sup&gt;" &amp; s &amp; "&lt;/sup&gt;&lt;/th&gt;")

end if



if u = 10 then
response.write "&lt;/tr&gt;&lt;tr&gt;"
u = 0
end if

next
response.write "&lt;/table&gt;"


%&gt;
</code></pre>
]]></description><link>https://dev.connect.gt/post/941509</link><guid isPermaLink="true">https://dev.connect.gt/post/941509</guid><dc:creator><![CDATA[fusionman]]></dc:creator><pubDate>Fri, 22 Oct 2010 10:40:31 GMT</pubDate></item></channel></rss>