1
galda88
Notice: Undefined index: item in
  • 2005/3/29 19:32

  • galda88

  • Just popping in

  • Posts: 1

  • Since: 2005/3/29


Hi everybody i'm new in php and MySQL and i got the following error when running a page

Notice: Undefined index: item in d:\apache\www\prueba.php on line 4

Notice: Undefined index: cantidad in d:\apache\www\prueba.php on line 5


the initial code of the page prueba.php is:
<?php
session_start();
session_register('itemsEnCesta');
$item=$_POST['item'];
$cantidad=$_POST['cantidad'];
$itemsEnCesta=$_SESSION['itemsEnCesta'];
if ($item){
if (!isset($itemsEnCesta)){
$itemsEnCesta[
...
I think it shoulb be a configuration problem, but i don't know where to start.
I run it at my local server apache, MySQL and php, but in a web server it does correcthttp://www.webestilo.com/php/php12e.phtml that's where i took the example, pls help me :(

Login

Who's Online

191 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 191


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits