Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Weird quirk with PHP

New Here ,
Sep 27, 2006 Sep 27, 2006
So I made an address book using PHP and DW8. Something strange happens when I enter an individuals name in. The persons last name is "Anderson" but I found that I only need to enter "Anders" for this error to occur:

Joe AndersPHP Notice: Undefined variable: row_companies in c:\inetpub\wwwroot\contacts\details.php on line 155

I have no problems with the dozensof other names and companies I have entered but this one gives me the issue. Any ideas?
TOPICS
Server side applications
207
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 28, 2006 Sep 28, 2006
LATEST
Eiolon wrote:
> Joe AndersPHP Notice: Undefined variable: row_companies in
> c:\inetpub\wwwroot\contacts\details.php on line 155

It means that your script is trying to use a variable called
$row_companies. Without knowing the rest of your script, it's only a
guess, but since "Joe Anders" doesn't exist, you're probably getting an
empty recordset.

--
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines