undefiened index error in mysql modification script

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

glennmckenna
New php-forum User
New php-forum User
Posts: 1
Joined: Thu Jul 17, 2014 8:06 am

undefiened index error in mysql modification script

Postby glennmckenna » Thu Jul 17, 2014 8:12 am

I'm trying to make a page to modify mysql entries but i get this error
oh may i add that i does work even with those errors

Notice: Undefined index: inputdate in C:\xampp\htdocs\comp-test\modify.php on line 21

Notice: Undefined index: inputcomp in C:\xampp\htdocs\comp-test\modify.php on line 21

Notice: Undefined index: id in C:\xampp\htdocs\comp-test\modify.php on line 21
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

hear are link to the source codes:
https://www.cubbyusercontent.com/pli/modify.php/_89c2a8b03ad049c3a7000a1f0a08c137

https://www.cubbyusercontent.com/pli/admin.php/_dfe24d50c2b840579cefd7245a37eabf

landi
php-forum Active User
php-forum Active User
Posts: 311
Joined: Thu Mar 15, 2012 3:59 pm

Re: undefiened index error in mysql modification script

Postby landi » Tue Aug 05, 2014 11:17 am

Well since no one else responded: I'm not really comfortable opening random urls. Would you mind posting the first 40 lines of C:\xampp\htdocs\comp-test\modify.php?
- A


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 1 guest