close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

html and java script to Php?

Thread began 2/15/2012 1:01 am by hostmaster336780 | Last modified 2/15/2012 5:58 pm by hostmaster336780 | 2374 views | 25 replies |

hostmaster336780

html and java script to Php?

My Website is html and Java Script ( www.therazorblade.com ) I need to know if there is any way to convert to Php and also if I can use Data Assist in my website. Can anyone help I am not to good with code so anything will help

Sign in to reply to this post

Jason ByrnesWebAssist

you will need to change the page extension form .html to .php.

in order t ouse Data Assist, you will first need to have a data base. if your site pages use the .php extension, you will be able to use data assist on them.

Sign in to reply to this post

hostmaster336780

I do have a database set up on my server with all my products on it already but how do I switch my website over to Php? I'm sorry, I do not know Php coding so is there any easy way to do it? also my hole website is one file.

Sign in to reply to this post

Jason ByrnesWebAssist

all you need to do to switch to php is to change the file extension from .html to .php

Sign in to reply to this post

hostmaster336780

I did the save as, as a Php and tried to use data assist and it did not work, it did create all the pages separate but not in my website so I copied and pasted the code into the pages of my site and when I loaded up on my server my site would not load at all.

Sign in to reply to this post

Jason ByrnesWebAssist

copying and pasting the code is not a good idea.

let data assist create the pages, and use the pages that it creates. you can apply your site design to them after the pages are created.

Sign in to reply to this post

hostmaster336780

Than how come it won't make the pages IN my website is there any way I can do it? and when i save as a Php the source code online still says that my site is html...

Sign in to reply to this post

Jason ByrnesWebAssist

you need to have your site definition properly configured to create the files in your site.

see the "Defining a Dynamic Site in Dreamweaver" tutorial on the learning resources page:
resources.php?utm_campaign=Forum_header&utm_medium=Forums&utm_source=WebAssistForums


"and when i save as a Php the source code online still says that my site is html..." I'm not sure what you mean by this, can you elaborate please?

Sign in to reply to this post

hostmaster336780

My hole website is one Html Page, All 25+ pages on my site is on my index.php file and data assist makes the pages on all diff. files. I have a MySql database with all my products already on it. So I'm trying to integrate data assist directly into my site so it doesn't look like a add on. and I used the save as to make my website a Php but in the source file online the doc type is still Html.

Sign in to reply to this post

Jason ByrnesWebAssist

if you want to use the files created by Data Assist in the one main index page, you would need to use the Framework Builder extension to include them as plugins.


I still don't understand what you mean by:
"and I used the save as to make my website a Php but in the source file online the doc type is still Html."

the doc type wont change. using the. Using the .php extension only tells the webserver that the file may contain PHP code and should be processed by the PHP engine before sent to the client browser to execute the server side code.

the source code you see in the browser will still be HTML code. Some of that HTML code may be generated dynamically at run time by the php processor, such as retrieving info from a database and displaying it on the page.

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