279 Posted Topics

Member Avatar for gandhikr

First created a php file named for example "process.php" Set this file as your action within the <form> tag The options you made do not have values: [CODE]<select name="cmcenquiryform"> <option value="Joining Courses">Joining Courses</option> <option value="Franchisee">Franchisee</option> <option value="Corporate Training">Corporate Training</option> <option value="Others">Others</option> </select>[/CODE] Retrieving the form values using php is very …

Member Avatar for hemgoyal_1990
0
142
Member Avatar for ajwei810192

>> Line 28 and 29 - When this page is shown, are you sure they even got values? First check the HTML source code and if that doesn't show that there is nothing, perhaps write a function that alerts the values when the form is submitted using javascript. ~G

Member Avatar for Graphix
0
134
Member Avatar for Graphix

Hello everybody, I am currently developping a GUI interface game for windows XP. I am currently having difficulty changing the background of a EDIT box created with CreateWindowEx(). It's default background is white (which is the color I want). But the user is not supposed to be able to adjust …

Member Avatar for gashtio
0
4K
Member Avatar for sugikrish

As most people, I don't like downloading files from the internet without knowing what might be inside. Either explain your problem better, or post some code. A screenshot is useless. ~G

Member Avatar for rajarajan2017
0
96
Member Avatar for 1337group

You have only shown us the html, I assume <ul class="armenu"> is the menu and then 4 lines further, the <ul> you placed there represents a dropdown right? I think you are using CSS to make the dropdown menu, but you have not posted any? Anyway, the embedded <ul> you …

Member Avatar for 1337group
0
137
Member Avatar for Pityu

The small piece of code you gave, has some pretty strange coding: Line 1 - edit is a constant??? Line 5 - Where, is this even a keyword or function ????? Anyway, you can use the id retrieved from the GET and use that in the query that updates: [CODE]$id …

Member Avatar for sourcebits
0
109
Member Avatar for saika

[code=html] <script type="text/JavaScript"> var line; var word; var word2; var word3; test = ''; word1 = "How"; word2 = " are"; word3 = " you?"; line += word1; line += word2; line += word3; document.write(line); </script> [/code] Will result in: [code=html] How are you? [/code]

Member Avatar for rajarajan2017
0
89
Member Avatar for cloud09

Line 2 - You have three equal operators (===), this is not allowed, use == to compare two variables Line 5 - You dont need the ; in front of the } You can use this method to show HTML, although it is better to use the [URL="http://php.net/manual/en/language.types.string.php"]heredoc syntax[/URL] or …

Member Avatar for cloud09
0
135
Member Avatar for Graphix

Hey everybody, I currently making a program that needs to activated on startup. So after extensive googling I decided to do it the registry way. However, creating a new value or editing an existing value, is not working. Could you explain how to edit and/or create a value in a …

Member Avatar for Graphix
0
275
Member Avatar for Graphix

Hello everybody, I am currently developping a virus scanner for Windows, and was searching for a virus database. Eventually I found a database which contains around 1000 virus names, however none of the virus names has the extension .exe . Is this extension neglected? Or does the virus have various …

Member Avatar for PhilliePhan
0
131
Member Avatar for RisTar

"visible" is not a property of the object. Use the following to hide the element: [CODE] document.getElementById("errorBox").style.visibility="hidden"; [/CODE] [url]http://www.w3schools.com/CSS/pr_class_visibility.asp[/url] ~G

Member Avatar for almostbob
0
171
Member Avatar for tsachin1

You can not and will not be able to open files on the computer of your visitor, this is due to security reasons. Do you know what you could do if you could acces the files on the visitor's computer? > Read their personal files > Plant a virus > …

Member Avatar for vitana
0
168
Member Avatar for Graphix

Perhaps I am blind, but I can't seem to find the "Start a new Tutorial" button or a option in the dropdownlist of the form that pops up when you click the button "Start a new Thread". How do you start a new tutorial? ~G

Member Avatar for diafol
0
174
Member Avatar for sainiweb

- You need to use <BR> at the split(): - Also in order to get all the text, you need to set i = 0 in the for loop The code: [CODE]<html> <script type="text/javascript" language="javascript"> function set_padd(){ var tt = document.getElementById("span_padding").innerHTML; var txt = new Array(); txt = tt.split("<BR>"); alert(txt); …

Member Avatar for sainiweb
0
231
Member Avatar for niths

You forgot to post your code? We can't help you if you do not post it. ~G

Member Avatar for Graphix
-1
73
Member Avatar for Graphix

Hello everybody, I am currently having a problem with my Packard Bell computer that has XP Home Edition (SP2). I was starting live messenger when it could not connect and gave a windows error screen. Then I decided to restart the computer, but now I can't start it due to …

Member Avatar for Graphix
0
370
Member Avatar for AdRock

>> Line 20/27 - You can not use reserved words as a variable name - this includes "name". Change it into "name1" or something If it still doesn't work, try debugging it by placing various alerts in it, so you can see where it goes wrong. ~G

Member Avatar for theighost
0
213
Member Avatar for mejoyal

Unless you pay me, I (and I think everyone here) am not planning to write your code. You should read the sourcecode of the webpage and see wether you can find out how they do it. Also, a few tutorials on dropdown menu's: [URL="http://www.google.nl/search?q=dropdown+menu+html"]http://www.google.nl/search?q=dropdown+menu+html[/URL] You can also make your own …

Member Avatar for Graphix
0
74
Member Avatar for what_5626

>> Line 13 - The function does not return anything. Use: [CODE]ConfirmChoice(atm);[/CODE] >> The ConfirmChoice function - - Each webadress begins with http:// not http:\\ - You forgot [B]var[/B] in front of answer1 - Confirm returns [B]true[/B] or a [B]false[/B], although they are equal to 1 and 0, better use …

Member Avatar for Graphix
0
114
Member Avatar for glennn

You can avoid this by using: [CODE]$string = 'This is a double quote: " '; $string .= "\nAnd this is a single quote: ' "; echo $string;[/CODE] You should check your settings, as your code should echo " and not \" Also: this should be in the PHP forum. ~G

Member Avatar for glennn
0
87
Member Avatar for KevT

Please bore us with unsuccesfull code, so we can make it succesfull. That is the entire point of this forum. We are glad to help people with their own code, but we don't like writing code for people that don't show effort or order us to make the code. ~G

Member Avatar for KevT
0
139
Member Avatar for sicoev

If you followed the given instructions, placed all the files on the correct location and all the paths are correct, you should contact Galleria about the problem. We did not write the script so we can't help you with it. The chance that the code is incorrect is around 4%, …

Member Avatar for sicoev
0
95
Member Avatar for chathuD

You are correct: The function [CODE]getHours()[/CODE] Is not the same function as [CODE]gethours()[/CODE] Due to the fact that function names are case-sensitive. It is not so hard learning the standard classes. It is easier if you learn it in practice, for example making your own clock. ~G

Member Avatar for chathuD
0
153
Member Avatar for amithks

How did you add the css/javascript file? Did you put them correctly in the sourcecode (in the header)? Example: [CODE]<html> <head> <title>...</title> <script type="text/javascript" src="http://www.example.com/javascript1.js"></script> <link rel="stylesheet" href="http://www.example.com/style.css" type="text/css" media="all"> </head> <body> </body> </html>[/CODE] ~G

Member Avatar for Graphix
0
137
Member Avatar for footyboy87

Every AJAX code is JavaScript Not every JavaScript code is AJAX AJAX = set of functions used to interact with other pages on the same server To answer your problem: - Make a form with 11 text inputs and 1 button that onclick activates your function - Write a function …

Member Avatar for Graphix
0
65
Member Avatar for benqus

Your code is a bit confusing, you should really add spaces and comments on what the hell you are doing, even with the simplest things. Anyway, a few errors in your script: >> You are not allowed to end a [B]if () { ...code... } [/B] with a ; Adjust …

Member Avatar for Graphix
0
139
Member Avatar for Thoaren

Best results from the googling "cell adding javascript", first page: [URL="http://www.w3schools.com/js/tryit.asp?filename=try_dom_tablerow_insertcell"] http://www.w3schools.com/js/tryit.asp?filename=try_dom_tablerow_insertcell[/URL] [URL="http://www.trap17.com/index.php/Adding-Rows-Amp-Columns-Html-Table-Javascript_t34638.html"]http://www.trap17.com/index.php/Adding-Rows-Amp-Columns-Html-Table-Javascript_t34638.html[/URL] ~G

Member Avatar for Graphix
0
101
Member Avatar for xylude

You made a quote mistake: [CODE]<a href="#replyArea" onclick="addQuote('Got a random playlist on right now. All sorts of stuff... Miike Snow, Galactic, Danger Mouse, Bon Iver, Marlena Shaw, Dirty Projectors... [B]it's [/B]eclectic to say the least.');">Quote</a>[/CODE] Needs to be: [CODE]<a href="#replyArea" onclick="addQuote('Got a random playlist on right now. All sorts of …

Member Avatar for xylude
0
83
Member Avatar for greenglow

You got to be kidding me, do you seriously think we will even consider spitting through you code, trying to find the error! Post readable code...... How do you expect us to find char 11165. Either make it readable or we (well atleast I am not going to) can't help …

Member Avatar for Graphix
-1
232
Member Avatar for robroy

On the end of the script you need to put the following line: [CODE] window.onload=start(); [/CODE] And you can include the script the following: [CODE]<script type="text/javascript" src="tzcount.js"></script>[/CODE] ~G

Member Avatar for Troy III
0
1K
Member Avatar for C#Novice

- [B]Use CODE tags[/B] - This is not the asp(.net) forum - This is XML, and we dont know how you process it ~G

Member Avatar for Graphix
0
75
Member Avatar for masocha

How can we help you if you don't show the code? Also, if there is a problem with a program you used to generate code, you should contact the developer of that program. ~G

Member Avatar for Graphix
0
88
Member Avatar for servis

Perhaps this is new to you, but people don't like downloading stuff when it is not necersary. Could you just simply post the code instead of making it a attachment? Makes it easier for all of us. ~G

Member Avatar for Graphix
0
2K
Member Avatar for dylank

>> Line 9 - It should be document.loginForm.user.value >> Line 10 - It should be document.loginForm.pass.value >> Line 24 - The request is not yet ready. Use the following: [CODE] xmlhttp.onreadystatechange=function() { if ( (xmlhttp.readyState == 4) && (xmlhttp.status == 200) ) { document.getElementById('loginStatus').innerHTML=xmlhttp.responseText; } } [/CODE] ~G

Member Avatar for dylank
0
172
Member Avatar for rajeesh_rsn

After you [URL="http://www.google.com/search?q=javascript+refresh"]googled[/URL] your problem, you will probably find the solution in the top 5 displayed. The numer one page gives a great solution: [CODE]<!-- Codes by Quackit.com --> <a href="javascript:location.reload(true)">Refresh this page</a>[/CODE] You can apply that code onload, but the problem is that it becomes stuck in a loop. …

Member Avatar for Graphix
0
99
Member Avatar for sunaruna84

When you Google before you start posting here, you are also able to find the answer: [URL="http://www.google.com/search?q=changing+rightclick+menu+js"] http://www.google.com/search?q=changing+rightclick+menu+js[/URL] The top 3 of links that show at the top of the search: [URL="http://yura.thinkweb2.com/scripting/contextMenu/"]http://yura.thinkweb2.com/scripting/contextMenu/[/URL] [URL="http://deluxe-menu.com/popup-mode-sample.html"]http://deluxe-menu.com/popup-mode-sample.html[/URL] [URL="http://www.milonic.com/menusample27.php"]http://www.milonic.com/menusample27.php[/URL] ~G

Member Avatar for sunaruna84
0
188
Member Avatar for paptamas

>> I can't say this enough: [B]PUT CODE IN CODE TAGS, THAT IS WHERE THEY ARE MADE FOR![/B] >> I tested out your code, and to prevent the delay, you need to remove the alerts. >> Also, your problem is really vague, there is a td, which has a span …

Member Avatar for Graphix
0
206
Member Avatar for Philip435

[CODE]<div onblur="alert('You left the div!');" onfocus="alert('You focussed the div!');" style="width:300px; height:200px;"></div>[/CODE] ~G

Member Avatar for Graphix
0
56
Member Avatar for Lalit Chattar

[URL="http://www.google.com/search?hl=en&q=captcha+for+website&btnG=Search&aq=f&aqi=&oq="]Google[/URL] a bit before you start asking questions? The number 1 result is a website that holds all the information for captcha: [URL="http://www.captcha.net/"]http://www.captcha.net/[/URL] However, for some reason, you want to program your own: [URL="http://www.codewalkers.com/c/a/Miscellaneous/Creating-a-CAPTCHA-with-PHP/"]http://www.codewalkers.com/c/a/Miscellaneous/Creating-a-CAPTCHA-with-PHP/[/URL] ~G

Member Avatar for Graphix
0
104
Member Avatar for rayarman

I see you found a solution for it yourself. However the way you solved is a bit on a cumbersome manner. If you want a form to not be submitted, you just adjust the form tag: [CODE] <form action="" method="post" onsubmit="return false;"> ... ... The form ... </form> [/CODE] This …

Member Avatar for Graphix
0
333
Member Avatar for ssana

Always use code tags: [CODE] <?php $connection=mysql_connect('localhost',"a","aaa") or die(mysql_error()); $db='a'; mysql_select_db('a') or die (mysql_error()); //echo 'connection a successful';?> <?php $c=$_get['course']; $query="select * from ittraining where course like ' $c'"; $result=mysql_query($query) or die (mysql_error()); if($row = mysql_fetch_array($result)) {echo $row['course'] . " " ; echo $row['content'] . " " ; echo $row['clink'] …

Member Avatar for ssana
0
195
Member Avatar for by89

Math.floor rounds a number downwards to the nearest integer and returns that. [CODE]function updatesum() { document.form1.totalfat.value = Math.floor((document.form1.satfat.value) + (document.form1.monofat.value ) + (document.form1.polyfat.value)); }[/CODE] ~G

Member Avatar for Graphix
0
94
Member Avatar for StefanCP

You can just simply echo the links? I don't understand what can possibly go wrong? [CODE] $blogs = get_last_updated(); echo 'Most active mommies:'; echo '<ul>'; foreach ($blogs AS $blog) { echo "<li><a href=\"".$blog['domain']."\">".$blog['domain']."</a></li>"; } echo '</ul>'; [/CODE]

Member Avatar for StefanCP
0
143
Member Avatar for mrjoli021

You can use a interval to update the time every second. Also, every codeline needs to be closed with a ; [CODE]<html> <head> <script language="JavaScript" type="text/javascript"> function showDate() { var date = getDate(); document.getElementById("time_date").innerHTML = date; } function getDate() { var d=new Date(); var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December"); var hours = d.getHours(); …

Member Avatar for Graphix
0
102
Member Avatar for ausmaya

>> Always put code within code tags: [CODE] <!DOcTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>first java script example</title> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> [COLOR="Red"]<script type="text/javascript"> function calculateArea(Width,Height) { area=Width*Height return (area); } </script>[/COLOR] </head> <body> <form name="frmArea" action="#"> enter the width and height:<br/> width:<input type="text" …

Member Avatar for almostbob
0
124
Member Avatar for paddy100

There has been atleast 5 image upload questions on this forum. There are tons of image upload scripts on the internet. If you can't retrieve and insert rows from a database using PHP, you should probably read a beginners book like [URL="http://www.amazon.com/MySQL-Dummies-CDROM-Janet-Valade/dp/0764516507"]PHP & MySQL for Dummies[/URL]. A few helpful links …

Member Avatar for Graphix
0
103
Member Avatar for LoriM

Ok a small summary of your pages: Page 1 - Retrieves value out of third party API Page 2 - Receives the value from page 1 and displays a list of links Page 3 - Receives which link is pressed and passes the data to a database of some sort …

Member Avatar for LoriM
0
128
Member Avatar for stjohn999

>> Line 2 and 7 - You already defined "diffy" as an array in line 2, you can not declare it again. Use the following script: [CODE] <script type="text/javascript"> var numberArray = [696,039,231,909025,5325,326,983] ; var differenceArray = new Array(); for (var s = 0; s < numberArray.length; s++) { differenceArray[s] …

Member Avatar for Graphix
0
74
Member Avatar for doforumda

First of all: why would you use jquery for this simple request? Anyway... The variable xhr is not available in the second function, so it can't retrieve it's responseText. I don't have experience with jQuery AJAX, so I assume your syntax is written correctly (it seems like it is). ~G

Member Avatar for Hangfire
0
142
Member Avatar for loll_l

>> You want the form to be checked before submitted: Change the form tag into: [CODE]<form id="form1" name="form1" method="post" action="sendform.php" onsubmit='return isValid()'>[/CODE] And the submit button into: [CODE]<input type="submit" name="button" id="button" value="Submit order" />[/CODE] And the checkbox into: [CODE]<input type="checkbox" name="checkbox" id="checkbox" value="agreed"/>[/CODE] Then use the following javascript function: [CODE] …

Member Avatar for loll_l
0
172

The End.