close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Notice: Undefined index on Results & Details

Thread began 2/02/2012 10:41 am by gary.brett434358 | Last modified 2/02/2012 1:20 pm by gary.brett434358 | 734 views | 2 replies |


Notice: Undefined index on Results & Details

Hi there, I have edited DA wizard created pages by changing recordset to allow tables to be joined and display correct fields from menu/lists.

When I run my code through an online sql validator & the recordset query window all appears good but viewing both results & details pages return an error on all fields where there are joins... I think!

( ! ) Notice: Undefined index: CaseStatusName in C:\wamp\www\xxxtblcases_Detail.php on line 105
( ! ) Notice: Undefined index: ContactID in C:\wamp\www\xxxtblcases_Detail.php on line 109
( ! ) Notice: Undefined index: CaseType in C:\wamp\www\xxxtblcases_Detail.php on line 121
( ! ) Notice: Undefined index: CaseReferral in C:\wamp\www\xxxtblcases_Detail.php on line 145

If I add

<?php error_reporting (E_ALL ^ E_NOTICE); ?>

to each page it suppresses the errors and the pages run but I dont feel comfortable that something under the bonnet isn't quite right. Anyone have any ideas why the created php pages return the error? All other fields display as expected. pages attached if it helps.


Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

those errors are occuring because the columns:

are not included in the select statement of the recordset, so are not defined

the CaseStatusName column, you have created an alias for:
tblcasestatus.CaseStatusName As CaseStatusName1

the others are just not included.

if they are not included in the select statement, you cant output them to the page.

Sign in to reply to this post


Hi Jason, spot on again. I was creating the correct recordset query but when I closed the query window it kept reverting back to the previous code. I just assumed the changed were saved and written to the page. Looking closer it was throwing out one of the inner joins due to it being on its own line in the code.

Moving it down a line sorted it out immediately, wont get caught out like that again.


Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...