Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 10 of 10
Search took 0.04 seconds.
Search: Posts Made By: greenhat
Forum: PHP 12-22-2012, 02:42 PM
Replies: 3
Views: 389
Posted By greenhat
Question Get drop down selected value without submit.

If anyone can help, I am green on PHP. I need to get the value of a drop down menu selection within a form tag without submitting the form. $_GET does not seem to work. I want to display a list of...
Forum: PHP 10-19-2012, 11:27 PM
Replies: 3
Views: 320
Posted By greenhat
Get mysql result.

I have a string field in the users table called role. I want to show different forms based on five different role types. The code will get quite lengthy. Rather use a switch than a bunch of if...
Forum: PHP 10-19-2012, 07:17 PM
Replies: 3
Views: 320
Posted By greenhat
Get mysql result.

This may be the most simple thing to do in php. Forgive me, I am from the .net world where all this is simple. all I want is what this query is:

session_start();
...
Forum: JavaScript programming 09-22-2012, 12:39 AM
Replies: 7
Views: 430
Posted By greenhat
Html

here is the HTML right now


HTML

<h3>Try Our Calculator!</h3>
<table id="example1">
<tr>
...
Forum: JavaScript programming 09-22-2012, 12:16 AM
Replies: 7
Views: 430
Posted By greenhat
Still no good.

The else statements cause it not to display the value at all. I got rid of to.fixed(). document.getElementById("grandTotal").innerHTML only shows if I:

Change it to a string
change it to...
Forum: JavaScript programming 09-21-2012, 09:22 PM
Replies: 7
Views: 430
Posted By greenhat
Should not be this hard.

All i am trying to do is get a total and update an element
Forum: JavaScript programming 09-21-2012, 06:57 PM
Replies: 7
Views: 430
Posted By greenhat
Can't change Value of a Global Variable

I need help with this calculate script. In the first function, I cannot seem to assign a value to the global variable grandTotal for whatever reason. I want a span with id grandTotal to display it....
Forum: MySQL 09-14-2012, 04:55 PM
Replies: 1
Views: 461
Posted By greenhat
Access Error

Please help with this connection problem.

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'myuser'@'localhost' (using password: YES)


<?php
function connectTo() {...
Forum: JavaScript programming 09-10-2012, 11:48 PM
Replies: 2
Views: 312
Posted By greenhat
Awesome

That worked out terrific. Thanks a bunch.
Forum: JavaScript programming 09-10-2012, 07:57 PM
Replies: 2
Views: 312
Posted By greenhat
How do you add values from separate functions?

Can someone help. Why is this code not adding/updating the two values from these functions?


<script type="text/javascript">
var LHtotal;
var AHtotal;
var LMtotal;
var AMtotal;
var...
Showing results 1 to 10 of 10

 
Forum Jump

All times are GMT +1. The time now is 06:52 AM.