I've went over this code a number of times but I can't see where the issue lies. I'm trying to make the age text field numeric only however it won't validate If someone can point what I'm doing wrong here it be greatly appreciated :) <!doctype html> <html> <head> <meta charset="utf-8"> <title>Java Script form</title> <link href="styles/main.css" rel="stylesheet" type="text/css"> <script type="text/javascript"> function validateForm() { var name_val= document.getElementById("input_name").value; if (name_val ==null || name_val =="") { alert("Please enter your name"); return false; } var age_val= document.getElementById("input_age").value; if (age_val ==null || age_val =="") { alert("Please enter your age"); return false; } var prof_val= document.getElementById("input_profession").value; …

Member Avatar
Member Avatar
+0 forum 6

Can a navbar created in PhotoShop be converted to a drop down list via CSS / JavaScript in DreamWeaver?

Member Avatar
Member Avatar
+0 forum 2

I want to make a recipe website.In that I had added the add to favourite button.If i click my favourite button the recipe which i clicked will add to favourites.I i re-click it will remove from my favourites.It is controlled by the status field in the favourites table in sql.How could I do this?

Member Avatar
Member Avatar
+0 forum 2

Hello DaniWeb Family, A few years after obtaining my Master's in Business, I decided to completely change careers and go back to school for web design and development. I've recently completed a 2-year program where I studied VB, ASP.NET, C#, Java, SQL, Server 2008, Photoshop, and Dreamweaver among other courses. I love designing and building the front-end of the website as well as writing programs and applications and building databases for the back-end. What I'd like to do now is build a database-driven dynamic website similar to Expedia.com but for a different industry. Is this do-able at my newbie level …

Member Avatar
Member Avatar
+0 forum 8

Hello, my website is created almost intirely in php, its dynamic and we have everything working under mysql database. It has printable cuppons for free, the coupons are inside a form, everything works perfectly. Now im trying to find a (php preferably) script that will count how many times that "print coupon" button has been clicked so i know how much of them have been printed. it can be by inserting it (the amount of clicks) in a database table. i believe it is called a Button Hit counter, but since it already has an action, 'cause it prints, i …

Member Avatar
Member Avatar
+0 forum 3

**Hi 2 All,** I am getting problem with email images. The TD width and height is fixed but the image is coming dynamically from databse which might be bigger or smaller. If I apply **overflow:hidden** also, the image is showing up like squized or streched. Is dere any solution to apply fix to the image. Specially in outlook. As we all know emailers wont support external links or .js for security reasons as they are going to block it. Thanking in advance.

Member Avatar
Member Avatar
+0 forum 2

Im working with dreamweaver, coded in php On one of my pages, i'm trying to add 2 different print buttons each one printing a differrent portion of the webpage. For example, one print button is printing the first paragraph and the other print button is printting the second paragraph. I did the print css for both button and i linked each to its respective print css but the second print css overrules the first one and so i end up having TWO print buttons with the Same css... What do i need to do? THANKS!

Member Avatar
Member Avatar
+0 forum 1

how to create xml file from a database table using vb.net I tried a code but it doesn't retrive values from the database table How to resolve this And my code is: <%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" Debug="true" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <% @Import Namespace="System" %> <% @Import Namespace="System.Data" %> <% @Import Namespace="System.xml" %> <% @Import Namespace="System.Data.SqlClient" %> <% @Import Namespace="System.xml.xmlNode" %> <Script runat="server"> Sub Page_Load Dim connectionString As String Dim connection As SqlConnection Dim adapter As SqlDataAdapter Dim ds As New DataSet …

Member Avatar
Member Avatar
+0 forum 2

how to retrive values from database into a table using vb.net?????? I tried but i don't have either output?????? How to do this??? and my code is: <%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <% @Import Namespace="System.Data" %> <% @Import Namespace="System.Data.SqlClient" %> <script runat="server"> sub Page_Load() Dim con As New SqlConnection Dim cmd As New SqlCommand con.ConnectionString = "Data Source=IMMANUEL-PC\SQLEXPRESS; Initial Catalog=dbkarthi; UID=test; PWD=test1;" con.Open() cmd.Connection = con cmd.CommandText = "select * from det" Dim lrd As SqlDataReader = cmd.ExecuteReader() End …

Member Avatar
Member Avatar
+0 forum 5

Not sure which one to choose – Dreamweaver or Visual studio? Want to know whose market position is stronger and which is more effective? Read this article to make an informed decision. Introduction Everyone wants the best available tool to get their jobs done, especially when it comes to Web Development. You want to get the best possible results out of the best tools. If you ask people to choose between Visual Studio and Dreamweaver, the majority of the people will vote for Dreamweaver because of its multifunctional features. In this article, I am going to mention some important features …

Member Avatar
Member Avatar
-4 forum 5

i am just start to learn php and using dreaweaver for practice, i just want to know that like other languages can we debug php code if can then how we debug php code in dreamweaver or any other editor for php?

Member Avatar
Member Avatar
+0 forum 6

I need help. I tried embedding a SWF banner I made for my website and when I try to preview it in either IE, or Firefox it doesnt even show the file. I have even tried to export the file to the remote server but still nothing. Suggestions?

Member Avatar
Member Avatar
+0 forum 7

Hello everyone. I am building an Android app using Dreamweaver with the Jquery Framework and I am having trouble viewing source code of a given URL using javascript. I want the user to be able to type a url into a textfield, and then hit a button and have it display the source code of that URL. I would appreciate help anyway I can get it. Thanks so much in advance for your reply.

Member Avatar
Member Avatar
+0 forum 1

Hi, i have successfully made my registration and login page. Now i need help. When i click on login by using specific username and password that i had created, i want my next page to show details about that person, this details are stored in Mysql when they register and enter their information like age, company, address etc. I want this information to display when the user signs in with his/her username and i want something like a welcome label with their name on my page e.g. rob welcome to your profile so how can i actually get that name …

Member Avatar
Member Avatar
+0 forum 40

I am having trouble importing a properly working .gif file into Dreamweaver. I am in the process of learning how to code and in the meantime could really use some help with this. So far I have found the suggested code <img src="image.gif" alt="image" /> Is this the best way to go about getting a .gif to appear and actually play when the page is opened ? Any and all help is very much appreciated.

Member Avatar
Member Avatar
+0 forum 4

I have a GoDaddy account and I want to connect dreamweaver to the mysql server... but I keep getting errors... no matter what I do... can someone assist me? I called GoDaddy, they couldn't answer me so they blamed Dreamweaver...

Member Avatar
Member Avatar
+0 forum 8

I had a nice set of useful preferences set up such as code coloring preferences. One day they were just gone. I had not installed anything or done anything to cause it -- to my knowledge. Now I’ve re-updated many of my Dreamweaver preferences. I would like to save / export the preferences so that if they’re lost again by the system, I can reload them. I have tried searching for info on how to do this, and anything that seems close is not it. (For example, saving so-called Site Definitions seems to be something completely different.) If I’m missing …

Member Avatar
Member Avatar
+0 forum 2

[CODE]I'm currently redesigning my website in Dreamweaver CS5. My site was previously made in iWeb, which centered the page automatically in any browser at any resolution. When I preview my site in Safari using Dreamweaver, the whole page seems aligned left. Another issue (which I should probably also post in the JavaScript forum) is that a JavaScript menu bar I'm using is sticking even more to the left. Is there any way to align it center, then center the entire page?Any help is appreciated. If you need sample code, please say so.[/CODE]

Member Avatar
Member Avatar
+0 forum 11

This is really hard coding for uploading one images yes its working. but now i need to upload multiple images for code below: the link of that page is: http://dalilack.com/marketProductUpdate.php?packageId=15 you need to sign in: username: Molham password: Molham with capital <?php require_once('Connections/dalilack.php'); ?> <?php //initialize the session if (!isset($_SESSION)) { session_start(); } // ** Logout the current user. ** $logoutAction = $_SERVER['PHP_SELF']."?doLogout=true"; if ((isset($_SERVER['QUERY_STRING'])) && ($_SERVER['QUERY_STRING'] != "")){ $logoutAction .="&". htmlentities($_SERVER['QUERY_STRING']); } if ((isset($_GET['doLogout'])) &&($_GET['doLogout']=="true")){ //to fully log out a visitor we need to clear the session varialbles $_SESSION['MM_Username'] = NULL; $_SESSION['MM_UserGroup'] = NULL; $_SESSION['PrevUrl'] = NULL; unset($_SESSION['MM_Username']); unset($_SESSION['MM_UserGroup']); …

Member Avatar
Member Avatar
+0 forum 4

Dear All, I want to create a dynamic website with a database. Visual studio 2010, dreamweaver CS5, sql server management studio and all other requirements are installed (like IIS 7). I set the IIS server configuration in dreamweaver cs5. I check simple ASP codes like <%Response.Write ("The time on the server is: " & Time())%> in dreamweaver and its working fine. I created a database using sql sever management studio and then in dreamwever, I added the database through "custom connection string". Test connection was fine. Even i can see the data in database panel in dreamweaver. Then I set …

Member Avatar
Member Avatar
+0 forum 1

Hey. So here is my code... config.php <?php $localhost = "localhost"; $dbuser = "root"; $dbpass = ""; $dbname = "test2"; $connect = mysql_connect($localhost, $dbuser, $dbpass); mysql_select_db("$dbname", $connect); ?> regprocess.php <?php include"config.php"; $username = $_POST['username']; $email = $_POST['email']; $password = md5($_POST['password']); $insert = 'INSERT into users(username, email, password) VALUE("'.$username.'","'.$email.'","'.$password.'")'; mysql_query($insert); ?> register.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style type="text/css"> #apDiv1 { position:absolute; width:200px; height:115px; z-index:1; left: 34%; top: 195px; } #apDiv1 form table tr td { font-family: "Trebuchet MS"; } </style> </head> <body> <div id="apDiv1"> <form method ="post" …

Member Avatar
Member Avatar
+0 forum 2

I've recently found that 1and1, my host, doesn't allow for remote access to MySQL databases and tables, and access is only possible via a slow and cumbersome web UI. Is there any workaround? I don't want to have to spend ten minutes browsing PHPMyAdmin every time I need to timestamp an article I add to my site.

Member Avatar
Member Avatar
+0 forum 8

I use dreamweaver, PHP and MYSQL. I need some help and any is appreciated, I have alot of knowledge in html learnt from some college, little in php and none in mysql, I am self teaching php and mysql, so forgive me if the question is too easy. :) Ok so I have a database with many tables, " Table A that is the main table which has some details in it (long_description, short_description, type ), a primary key and 4 foreign keys ( table B ID, Table C ID, Table D ID and Table E ID). I have managed …

Member Avatar
Member Avatar
+0 forum 6

Hi good day. I am currently using Spry Textfield Validation on my forms. Whenever there is an error, the error message does appear and the field goes red. However, the entire form is shifted to the left a couple of pixels. If the user corrects the value in the field, the form goes back to the right. What is wrong with this? I am using the default code on DreamWeaver. Here are the concerned parts of the code: [CODE] <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script> <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css"> ... <tr><td>Password:</td> <td><span id="sprytextfield1"> <input type="text" name="password" value=""/> <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldMinCharsMsg">Minimum …

Member Avatar
Member Avatar
+0 forum 2

I'm wondering if any Dreamweaver users around can help me out. I'm new the program, having done most of my programming in Notepad++ until my new job and there are two features of Notepad++ that I would really like in Dreamweaver but can't seem to find if they exist (which probably means they don't). 1. Indentation guidelines 2. Tag highlighting - in Notepad++ when you click on a tag, bracket or brace it will highlight the tag and its start/close tag as well, and I've always liked having that visual aid. Anyway, thanks :D

Member Avatar
Member Avatar
+0 forum 4

Hi, New to wordpress and php so please bear with me. I am using WAMP as a testing server and Dreamweaver CS5 as a text-editor to manipulate the theme files. I have successfully set up a live local connection between WAMP, WP and DW and can view the live index.php file from the wp-admin folder after using the 'discover' the dynamic files on dreamweaver. My problem is that if I select the index.php files in the themes folder, I get the following error message and the link is broken: Fatal error: Call to undefined function get_header in C:\WAMP\www\wordpress\wp-content\themes\twentyeleven\index.php on line …

Member Avatar
Member Avatar
+0 forum 2

The #review section won't float left in Dreamweaver. For some reason when I use the float: left; command, the #review div stays underneath the #band_links div. I want #review to line up on the right side of the #share, #tracklist, and #band_links divs. I've tried everything I can think of but nothing has worked so far. Thanks in advanced! Here's the CSS I'm using: #review_container { padding-top: 1px; width: 750px; height: auto; margin-left: 100px; outline-style: solid; outline-color: #E0E0E9; outline-width: 1px; background-color: white; } #review_pic { width: 200px; height: 150px; margin-left: 5px; float: left; } #review_info { width: 500px; height: auto; …

Member Avatar
Member Avatar
+0 forum 14

Hi, i have been learning to build websites for the past year and mainly focus on server side coding, however for my next website i want to concentrate on the client side usability and search engines. I was wondering what the best way is to design a website before adding all the php etc... I usually build the website first in photoshop, slice it then export as web and devices, i then add the php after in dreamweaver. I was wondering if there was a better way to create better functionality and better results to search engines. Also, are most …

Member Avatar
Member Avatar
+0 forum 1

i have dreamwever cs4 and wamp 2.1 . to practice php programs i need to connect dreamwever cs4 to wamp 2.1. how can i connect? please any one tell me step by step instruction.

Member Avatar
+0 forum 0

Hi, I'm looking for some code to enable me to force a link in Sea Monkey to open in IE.

Member Avatar
Member Avatar
+0 forum 8

The End.