Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Trouble Executing PHP Scripts

svp28svp28 Member Posts: 1
I am looking for assistance in executing PHP scripts.

I am running the scripts locally in the C:InetpubwwwrootLocalTest.

XP Pro
Dreamweaver MX

I successfully ran a "hello world" script.

I downloaded a simple calculator and tried to run it. I recieved the following:

Notice: Undefined index: n1 in c:inetpubwwwrootlocaltestsimpcalc.php on line 34

n1 is the value of the first number in the calculator.

What does undefined index mean?

Can you point me in a direction?


  • bashar80bashar80 Member Posts: 32

    I'm not sure whether its an array or normal variable. php has property that makes variable declaration implicit, i.e. u can use variable directly without declaring it. However, i forgot how to declare one explicit and how i made it implicit again. If the problem continues, i can search for u.

    Good luck

  • Shawn CarterShawn Carter Member Posts: 0

    __ // // free ebooks and video tutorials about [ R PL/SQL Visual Basic .NET Python Objective-C Visual Basic C Perl Swift Assembly MATLAB C# PHP JavaScript C++ Java Delphi Go Scratch Ruby Kotlin ABAP VBScript LabVIEW Awk SAS Fortran ML Alice Clojure Scheme F# COBOL Dart FoxPro Prolog Hack Rust Crystal Ada Transact-SQL Erlang Apex D Scala Lua Lisp Julia Logo Bash ] __________

Sign In or Register to comment.