mizako
Sep 2 2005, 06:28 PM
| | I am cleaning the erros of a php script with the line error_reporting(E_ALL); in the begginig of it. But i am becoming several notices based on the same issue: Notice: Undefined index: add in C:\xampp\htdocs\webshop\index.php on line 27 27: if($_POST['add']) 28: { I do not understad why i am becoming this error. Add is a variable sent with the post method by a formular. Add is not declared before the POST call in index.php but it should not. If anyone knows the answer it would be great so i can clean those notices. Thanks in advanced. |
Reply
Similar Topics
Keywords :
undefined index undefined index- Script Help Required: Undefined Variable
- A fault I cannot spot in PHP (3)
- Php Single Page W/ 'index.php?page=4' Stuff..
- Just read, cuz it's hard to explain.. (11)
There are alot of sites out there with the index.php as the main page right? (Namely all of them)
However when some coders create sites, they create separate entitites and pages with a ?page=4
modifier, or whatever page they want it to be. I don't know how to do that, because each page
is 'based' off of the index.php page, when I find an example, i'll post it here, but
Does anyone know how to do this? Panda Like I said, this is hard to explain, so when I get an
example, I"ll post it here. Panda...
Designing Index Page With Target
- - the table instead of using frame (13)
I have been reading up on search engine's ability to cache one's site and I realized that
FRAME is something these search engines don't really like. You can read it on Google's
search FAQ and just recently my page was cached by Yahoo after taking down my frame index page to no
frame page. So here is what I would like to do and I would like you super coders help. PHP seems
to be the best choice since when using INCLUDE command my index page includes not only my three
separate pages in one, but it helps to have content rather than showing only HTML FR...
Error When Using file_put_contents()
- failed to call to undefined function (4)
Hey all, I decided to write a script which writes some text to a file, but I have a problem when I
execute the script, I get a fatal error: QUOTE(homepage) Fatal error : Call to undefined
function: file_put_contents() in /home/cmatcme/public_html/afile.php on line 55 This is the
code I'm using to write the file: $ipfnsdoc =
"/home/cmatcme/public_html/afolder/afile.txt"; if (!is_readable($ipfnsdoc)) {
echo "File cannot be read"; $stopload = 1; } if (!is_writable($ipfnsdoc)) {
echo " \nFile can...
Looking for notice, undefined, index, notice, undefined, index