CAN JAVA SCRIPT OR OTHER LANGUAGE PRODUCE A HTML PAGE AUTOMATICY WITH MY DATABASE?
I want to build up a website. I have a massive database. Its impossible to make thousands of Html pages. Can Java script make them automatically from my database?
Plz help me.
No trackbacks yet.
HOW CAN WE SET HOME PAGE TO INTERNET EXPLORER BY USING JAVA SCRIPT OR HTML.?
How can we set home page to world wide web explorer by using java script or html.
HOW TO CREATE A LOTUS NOTES CALENDAR ENTRY VIA EXTERNAL EMAIL W/ LOTUS SCRIPT?
March 9, 2010 - 4:28 pm
Posted in Script | 2 comments
I’m working with an external web-based application that schedules training sessions.
We want to improve integration with the Lotus Notes running on
employee desktops.
What I’d like to do is, when we create an automated email
confirmation with class signup, create a script or have the actual email document create an appointment entry for the time of that class.
I [...]
HOW DO I HOST A SCRIPT ELSEWHERE, THEN USE HTML CODE TO EMBED IN MY SITE?
I run a website from an on the web template system, so I can’t upload a script with these requirements:
cPanel recommended + PHP+ MySql
Is there a way to host this script elsewhere, then use an HTML code to embed it in my template site? This would help me to keep a new service on my [...]
HOW DO YOU PUT A SCRIPT INTO THE HTML ON FRONT PAGE?
March 5, 2010 - 4:18 pm
Posted in Adsense | 2 comments
I have a script for a “conveyor belt of photos” but when I pop this script into my webpage html on Front Page the actual script code shows up on my webpage. I do not know why. Thanks for your help!
WHATS ANOTHER NAME FOR A MOVIE SCRIPT?
March 5, 2010 - 4:18 pm
Posted in Script | 2 comments
I do not know another word but I mean the word by word document that you can look up online. Im looking for the “script” for an American Crime. I know this doesnt make sense i hope someone understand.
CAN ANYONE HELP ME TO CONVERT MAINFRAME JCL TO UNIX SCRIPT?
I need to convert the JCLs to unix/Linux scripts. Can someone help me with any guidelines about this or any link/document. I do not want any tool/software to do so. Thanks.
HOW I ADD HTML/JAVA SCRIPT IN THE BOTTOM OF EACH BLOGGER POST?
I want to show a Ad banner (not Google Adsense) in the bottom of each post( not in post ). Note that this code is in Java script. You might also give some useful links for this topic.
HOW DO I TRANSLATE PICTURES TO HTML SCRIPT TO EMBED ON A FORUM.?
March 1, 2010 - 4:29 pm
Posted in Adsense | 4 comments
I am on this forum for buying and selling motorcycle parts. Some people are able to insert pics in to their posts. All I can figure out is how to insert a link to a web site, but the actual picture does not show up. I have tried everything that I know [...]
I GOT A GREAT FORM FIELD SCRIPT BUT I DO NOT KNOW HOW TO PREVIEW IT BEFORE SUBMISSION?
xer0blast sent me this select field script where two values are passed through, one is an image and another is text. But I am not good with php/java yet and need help displaying the image and the text in a preview.
Here is the script:
value1
value2
function showValues()
{
if (document.getElementById(’elmnt1′).value == ‘1′) {
image = ”;
text = [...]
HTML: HOW DO I WRITE DOCUMENT.LOCATION AS A LINK?! ?
document.writeln(document.location);
i’ve got this code, and i need to know how to write it so that the current page i’m on is displayed as a link instead of a text box from which i have to copy it from
btw, does this code work with iframes…if i place this code within the brackets for an iframe, how [...]









January 10, 2010 - 5:20 pm
I think that you’ll want to look into languages like PHP and ASP.
I don’t think JavaScript can do what you want, as it operates on the client side, not the server (where the database is). If you’re proficient in JS though, PHP shouldn’t be too big of a step to learn. Plus it’s free.
January 10, 2010 - 6:10 pm
I don’t think so. You must embed the codes (Javascript or VBscript) to a scriptting programming language like ASP (Active Server Pages)
January 10, 2010 - 7:09 pm
Javascript wont be able to do it because it is a client side language. You can definitely do it with PHP, Perl or another server side language.
You will need a script that access the database using some queries and then display the returned data in whatever way you want.
January 10, 2010 - 7:51 pm
You need a server side scripting language. javascript runs on the users browser so once the page is there its too late to change the content (not really but conceptually).
Have a look into PHP. it is open source (free) and the most widely used language. it also has many extensions for database connections. The purpose of php is exactly what you’ve said, you cant make thousands of html pages so php and othes like ASP and JSP dynamically create them.
January 10, 2010 - 8:10 pm
Yes, if you use it with PHP. You should just use PHP, though.
January 10, 2010 - 8:28 pm
While it would be possible, it is a very bad way to of doing this. Javascript is client side, so any of your connection settings (server, username, password) would be exposed to the client. Not to mention the HUGE risk of make SQL injection trivial for anyone who can right click > view source.
Another reason is performance, making many round trips to a database from the client to generate an HTML page would be very time consuming and very hard on the database. Because you would not be able to cache the results in Javascript, you would be calling the database to construct the page every time someone views it.
What you want is a server side language (PHP, C#, etc…). Any of these languages will allow you to create dynamic pages.
For example, if you have a parts table and want to view details of a part:
In HTML pages, you go to parts_details_XXX.html (requiring lots of HTML pages)
In PHP (or others), you go to parts_details.php?id=XXX (requiring one PHP page)
While creating a website with this functionality is not easy a simple thing to do, it is highly perferable and a much better solution to lots and lots of HTML pages.