PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
GeXus wrote:Jcart, Yes that does work.. where FALSE does not.. thanks!
Could you explain how the @ works? Thank You.
Like I said already, it supresses the error so you can handle the error however you please. In your case, if the file didn't exist you'd get a warning saying file does not exist, therefore we use the @ to hide this error.
GeXus wrote:Jcart, Yes that does work.. where FALSE does not.. thanks!
Could you explain how the @ works? Thank You.
Like I said already, it supresses the error so you can handle the error however you please. In your case, if the file didn't exist you'd get a warning saying file does not exist, therefore we use the @ to hide this error.