Php, Mysql, Mysqladmin install (Seriour problem)

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

Post Reply
User avatar
Posts: 312
Joined: Sat Apr 05, 2003 4:33 am
Location: Mansfield, UK

Post by bezmond » Tue Oct 05, 2004 12:04 am

Your code most likely relies on Global variables being set to 'on'

Is this your own personal code?


User avatar
Posts: 1256
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Re: Php, Mysql, Mysqladmin install (Seriour problem)

Post by WiZARD » Wed Oct 13, 2004 4:54 am

gop373 wrote:I think I have problem about setting.
When I run code I got message like this.
"Notice: Undefined variable: id in C:\Interpub\wwwroot\ASP\PHP_WORK\employee\edit.php online 1

Warning: Cannot modify header information-headers already sent by (output stated at C:\Interpub\wwwroot\ASP\PHP_WORK\employee\edit.php:1) in C:\Interpub\wwwroot\ASP\PHP_WORK\employee\edit.php on line 1

Notice: Undefined variable: id in C:\Inetpub\wwwroot\ASP\PHP_WORK\employee\edit.php on line 5
select * from employee where id=

Warning mysql_fetch_arrat(): supplied argument is not a valid MySql result resource in C;|Inetpub\wwwroot\ASP\PHP_WORK\employee\edit.php on line 8"

I didn't have an idea why I got the message like this because I clicked link Edit from index.php. I think the problem is setting (Php, mysql , phpmyadmin) because when I run this code in my old computer it work.

1 see your code and find ID variable. try use quotes like ` its help. You have a mistake in your SQL query.
2 try find what you send to browser firstly. I mean what you somehow send some to browser first and after that trying use header function

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest