PHP Classes

give example how to store and retrieve variables

Recommend this page to a friend!

      Storage  >  All threads  >  give example how to store and...  >  (Un) Subscribe thread alerts  
Subject:give example how to store and...
Summary:Package rating comment
Messages:18
Author:synthetron
Date:2010-05-28 12:11:34
Update:2010-06-01 09:12:29
 

 

synthetron rated this package as follows:

Utility: Insufficient
Consistency: Not sure
  1 - 10   11 - 18  

  11. Re: give example how to store and...   Reply   Report abuse  
Picture of synthetron synthetron - 2010-05-29 13:42:52 - In reply to message 10 from synthetron
trigger_error ('objectNameNotFound', E_USER_ERROR);


u didnt include this function

  12. Re: give example how to store and...   Reply   Report abuse  
Picture of Domenico Pontari Domenico Pontari - 2010-05-29 14:51:34 - In reply to message 11 from synthetron
That's not the name of a function, that's an error message.
Please read the PHP documentation: http://php.net/manual/en/function.trigger-error.php

  13. Re: give example how to store and...   Reply   Report abuse  
Picture of synthetron synthetron - 2010-05-30 05:57:12 - In reply to message 12 from Domenico Pontari
i dont c the error message

  14. Re: give example how to store and...   Reply   Report abuse  
Picture of synthetron synthetron - 2010-05-30 05:59:28 - In reply to message 13 from synthetron
can u add also

delete_object()

  15. Re: give example how to store and...   Reply   Report abuse  
Picture of Domenico Pontari Domenico Pontari - 2010-05-30 09:18:00 - In reply to message 14 from synthetron
deleteObj function created

  16. Re: give example how to store and...   Reply   Report abuse  
Picture of synthetron synthetron - 2010-05-30 09:26:55 - In reply to message 15 from Domenico Pontari
tx


where can i see the result of

trigger_error ('unableToDeleteOjbectFile', E_USER_ERROR);

is it not better to replace by alert popup?


now it just stops there without any clue



  17. Re: give example how to store and...   Reply   Report abuse  
Picture of Domenico Pontari Domenico Pontari - 2010-06-01 08:54:07 - In reply to message 16 from synthetron
That's the reason because I use trigger_error function: you can define your custom set_error_handler and display an alert popup or a simple error message, stop or continue the elaboration, shooting fireworks and whatever you want.

  18. Re: give example how to store and...   Reply   Report abuse  
Picture of synthetron synthetron - 2010-06-01 09:12:29 - In reply to message 17 from Domenico Pontari
can u give urs and put in the zip?

that makes ur package complete

 
  1 - 10   11 - 18