Author Topic: WTF how does this work O.o + raphael question (js)  (Read 135 times)

gamerz300

  • Hero Member
  • *****
  • Posts: 1568
  • fu** this sh*t...
    • View Profile
WTF how does this work O.o + raphael question (js)
« on: September 25, 2011, 09:28:45 PM »
Ok the DB is based on days (0-365) each day has a number... however when i pull up using below with out the +3 i get lag of 3 days... i add the +3 perfection

HOW?

Code: [Select]
<?php
$data29 
mysql_query("SELECT * FROM history WHERE ID = $var") or die(mysql_error());
$info29 mysql_fetch_array$data29 );


$day9 date("z");

$num9 $day9;
echo 
$num9;
$num10 $day9-30;
for(
$i2=$num10$i2<=$num9$i2++) {

echo 
'' $i2 ' ' $info29[$i2+3] . ' </br>';
}

Pre done at home for ease of typing lol

Now this is f**ked up... Works but f**ked up...

Edit: hmm... seems to work fine with out the +3 on a web server lol...


raphael question

im using the analytics chart however when something is a steady number the line shoots to the top of the chart making is ugly and stupid looking...

im just wondering if anyone knows what part i need to edit to change it?
« Last Edit: September 25, 2011, 10:46:50 PM by gamerz300 »


If you register use gamerz300 as Referrer :P