Help - Search - Members - Calendar
Full Version: Disable "notice"
Zymic Webmaster Forums > Web Design & Development > Server Side Scripting > PHP
cassino games net
I would like to know if it's possible to disable the Notice feature:

"Notice: Undefined..."

tnks
NaRzY
This is an issue with your source code. You need to paste the entire line for us to be able to help you. Post your source too and we can assist.
cassino games net
Notice: Undefined offset: 1 in /www/zzl.org/c/a/s/cassinogames/htdocs/controler/paginacao.php on line 23

Notice: Undefined offset: 2 in /www/zzl.org/c/a/s/cassinogames/htdocs/controler/paginacao.php on line 23

Notice: Undefined offset: 3 in /www/zzl.org/c/a/s/cassinogames/htdocs/controler/paginacao.php on line 23

Notice: Undefined offset: 4 in /www/zzl.org/c/a/s/cassinogames/htdocs/controler/paginacao.php on line 23



page:

<?php
require_once 'model/jogo.php';

class Paginacao
{

public function paginas($resultados,$pagina,$qtde_result)
{
$coisa = new jogo;
$resultado_final[] = new jogo;

for($i=0;$i<$pagina;$i++)
{
$coisa = array_slice($resultados,($qtde_result*$i));
for($j=0;$j<$qtde_result;$j++)
{
$resultado_final[$j]= $coisa[$j];
}
}

return $resultado_final;
}

}

?>


that's a function that recevies the result of the table ($resultados) and return an array containing some part ($qtde_result) of the result for being shown in a page ($pagina).



some example:

this one returns a query: http://cassinogames.zzl.org/busca.php?busca=assembler

thanks for the help laugh.gif
NaRzY
Thanks for bringing this to our attention. Your account has been suspended due to breaking our TOS.
cassino games net
QUOTE(NaRzY @ Oct 11 2009, 06:47 AM) *
Thanks for bringing this to our attention. Your account has been suspended due to breaking our TOS.


Phishing / Scams Hacking (Tools, Shell's, ...) Pornography
Warez Nulled Scripts Pharmacy / 'Viagra'
SEO Spam / MFA Key Loggers Bit-Torrent Trackers / clients
vBulletin Invision Power Board Galaxy Tool
CStrike Web proxies RapidLeech
Chatrooms Habbo clones Webcams
Weather scripts


well... I think my site doesn't break your TOS: ".html, .htm or .php files with text, images and styles"

I've stored images, html. and php. files and used html to call flash contents! (if you had the ability to see this)

but, btw, thanks for nothing and good luck with your excellent service of host smile.gif
swordz
Just to explain - this site was suspended for linking to flash games, some of which the site owner may not have had copyright for.

Swordz
NaRzY
I was a little short with the details there. However, if you can prove you own everyone of your games, we will unsuspend you account.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.