close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Field value not displaying

Thread began 7/18/2014 9:34 am by iainmacdonald331081 | Last modified 7/18/2014 1:00 pm by Jason Byrnes | 878 views | 11 replies |

iainmacdonald331081

Field value not displaying

This one is driving me mad, as it seems such a basic thing.

I have basically slightly modified a database table to include a couple of extra fields. The database supports a few different sites, two of which are basically identical.

But for some reason the new fields don't seem to want to echo out on one of them.

If you look here:

http://lodges.goodsafariguide.com/africa/africanhorsebacksafaris/

Down at the bottom there is a section 'Safari Awards History'.

The text 'Best Mobile Safari Operator in Africa' used to be a single field 'Category' in a table, 'nominations'. I have now split the countries / continents out, so the 'Category' text is:

Best Mobile Safari Operator

And the country / continent text is in a new field, 'Nom_Country'.

So it all works correctly in that link.

But if you look at this one:

http://www.goodsafariguide.com/lodges/africanhorsebacksafaris/

The 'Nom_Country' field does not display.

Its literally the same page, and I have even resaved it and uploaded it, but still isn't showing.

I have attached copies below of the two files. This one seems a real head scratcher as there doesn't seem much scope for things to go wrong.

I also double checked they were both looking up the same database, which I know they are.

Any ideas? Thank you!

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

iainmacdonald331081

See below.

Sign in to reply to this post

Jason ByrnesWebAssist

see PM

Sign in to reply to this post

iainmacdonald331081

Seems OK here.

Sign in to reply to this post

Jason ByrnesWebAssist

still getting authentication failed:

Response: 530 Login authentication failed

it will not accept the username and password you provided.

Sign in to reply to this post

iainmacdonald331081

See below:

Sign in to reply to this post

Jason ByrnesWebAssist

ok, i can log in, but i need a little help please.

what page should I be looking at that contains the problem recordset?

Sign in to reply to this post

iainmacdonald331081

Hi Jason - I think I've realised what it was - there's a URL rewrite which threw me, so I had added the new field to ../lodges/index.php when it should have been to ../lodges.php.

Sign in to reply to this post

Jason ByrnesWebAssist

yeah the recordset on the /lodges.php page did not include the Nom_Country column in the select statement.

I added it to the select statement to fix the problem.


$query_rsNominations = sprintf("SELECT NominationID, Category, Year, Finalist, Winner, LodgeID, Nom_Country FROM nominations WHERE LodgeID=%s AND (Year='2014' OR Year='2013') ORDER BY Year DESC, CATEGORY ASC", GetSQLValueString($ParamLodgeID_rsNominations, "int"));

Sign in to reply to this post
loading

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

Content

rating

Layout

rating

Ease of use

rating

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...