Jump to content

random character printing out


adam291086

Recommended Posts

ok i am having some trouble as some random tech is being echoed out

 

here is the array

 

Array

(

[0] => Array

(

[0] => 1

[EnteryID] => 1

[1] => 1

[ComputerID] => 1

[2] => www.bigtits.com

[Address] => www.bigtits.com

[3] => 1235399556

[Time] => 1235399556

)

 

[1] => Array

(

[0] => 2

[EnteryID] => 2

[1] => 1

[ComputerID] => 1

[2] => fdgfdgdfgdfg

[Address] => fdgfdgdfgdfg

[3] => 1235399556

[Time] => 1235399556

)

 

)

 

here is the code

 

$info = GetIMfromDatabase($StartTimestamp,$EndTimestamp);
$CurrentDate = $d."/".$m."/".$y;
$count = count($info);

if(isset($info))
{
echo "Information for the Date" .$d."/".$m."/".$y;
for ($i=0; $i<=$count; $i++)
{
echo "<br />"; 
echo $info[$i]['ComputerID'];
echo "<br />";
echo $info[$i]['From'];
echo "<br />";
echo $info[$i]['To'];
echo "<br />";
echo date("F j, Y, g:i a",$info[$i]['StartTime']);
echo "<br />";
echo date("F j, Y, g:i a",$info[$i]['EndTime']);
echo "<br />";
echo $info[$i]['Convosation'];
}
}
else
{
echo "Information for the Date" .$d."/".$m."/".$y;
echo "<br />"; 
echo "no information for that day";
}
?>

 

and the random text = January 1, 1970, 1:00 am

 

Its print the two dates fromt the array correctly but adding the random text

Link to comment
https://forums.phpfreaks.com/topic/145999-random-character-printing-out/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.