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

DW LiveView/Test Server Not showing php file

Thread began 1/11/2011 9:47 pm by brendafos379366 | Last modified 1/12/2011 2:31 pm by brendafos379366 | 1221 views | 2 replies |

brendafos379366

DW LiveView/Test Server Not showing php file

I am working on a DataAssist project and that is going well. But I am puzzled by a problem I'm having with displaying recordsets on a php page in DW LiveView or localhost using Mamp.

I have a php page which work fine until I put in the recordset. Then no longer seems to run the php code. I add the recordset and open bindings and put the items into the web page, but after I save it it no longer show up in Live View or local test. In fact with Live Code or Firebug it does not see any of the code except the opening html tag. The php pages created by DataAssist are working in LiveView.

I use a MAC and I have Mamp running no problem and the data is working otherwise?

Would someone who is better at PHP than me look at this file, because I think that the php tags may be in the wrong place in the code.

I've tried rebuilding the page an doing the Recordset as an insert and other things????

Attached Files
breakfast.php.zip
Sign in to reply to this post

Dave BuchholzBeta Tester

try changing this part of your sql statement

php:
AND MenuItem.MenuItemCategoryID = "1"



to

php:
AND MenuItem.MenuItemCategoryID = 1



you don't need quotes around numbers and this is the 1st thing that strikes me as the cause of your issues

Sign in to reply to this post

brendafos379366

That fixed it.

That fixed it. Thanks a million. Really, what a great world where you can post a problem to your peers and someone can make a suggestion which fixes something.

You guys at WebAssist are great.

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

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