Display warnings with PHP [duplicate]

0

I am doing scripts for a store and I want to help with alerts, or rather messages that will be displayed after processing the forms. I want something more of the current type, would it be possible in PHP? Does anyone help?

header("location:" . $_SERVER["HTTP_REFERER"]);
-> O AVISO/MENSAGEM SERIA AQUI <-
exit;
    
asked by anonymous 16.06.2015 / 20:53

1 answer

-3

Current Type ... Jquery plugin gritter, very handy:

See here

And here

Call the plugin like this:

<script type="text/javascript">google.load('jquery', '1.5');</script>    
<script type="text/javascript" src="js/jquery.gritter.js"></script>'

Then use this:

$.gritter.add( { title: 'Atenção!', text: 'Erro ao executar tarefa no servidor!', time: 7000, class_name: 'gritter-light', image: '/img/erro.png', });
    
16.06.2015 / 21:26