Search:
Type: Posts; User: Nightwolf629
Search:
Search took 0.03 seconds.
-
November 20th, 2008, 09:26 AM
the URL does not set the variable itself. You need to pull it out of the $_POST or $_GET array first.
In this case you are using GET.
<?php
if (isset($_GET['name'])){
$name =...
-
November 20th, 2008, 08:58 AM
Its is reloading the page, but it shouldn't be. It should just be going to 'portal-submit-rpc.php'.
It is important to note that even though the page looks like it just reloads... the...
-
November 19th, 2008, 09:26 AM
there is nothing on that page that could redirect to the first one.
here is the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
-
November 18th, 2008, 12:59 PM
I am having a strange issue with this form built in PHP and html:
<form name="submit_call" id="submit_call" method="post" action="rpc/portal-submit-rpc.php" >
<?...
-
October 27th, 2008, 10:40 AM
THANK YOU!!!!!!!!!!!
that fixed it... wow, i feel like a fool wasting all this time over a case sensitivity issue.
thank you SOOOOOO much PeejAvery, you are a lifesaver!
-
October 27th, 2008, 09:03 AM
I tried your code, needed to make 1 small change (the final else did not need a comparison).
But sadly, I had the same result.
IE6 works fine with it, but Firefox will not.
-
October 25th, 2008, 10:33 AM
Seems like a lot of things could cause that.
Not sure what it could be myself, but this was suggested for this error on another forum:
1) Check all qualifiers (all owners and tables and...
-
October 25th, 2008, 10:21 AM
Ok, looks like the http request object is being created ok.
I proved this with the alerts, but I still have the same issue.
So i figure something else must be wrong with the rest of my...
-
October 23rd, 2008, 04:20 PM
i think this is what you want:
if (isset($_GET["Ex"]))
{
if ($_GET["Ex"] == "false") echo "</pre>";
}
-
October 23rd, 2008, 04:17 PM
-
October 23rd, 2008, 04:01 PM
I was returning the ro object in the second example i posted before.
i just copied in your code and it still does not work.
Still works in IE6 though, nothing in firefox.
... im at...
-
October 23rd, 2008, 02:49 PM
correct,
the "else if" that is used to set the variable to 0 would no longer be needed
-
October 23rd, 2008, 01:35 PM
Ok, you have me pretty confused now...
Did you try anything I suggested?
Are you still having a problem?
...Im pretty sure you never even asked a question.
-
October 23rd, 2008, 01:23 PM
That will work, but there is a simpler way.
The problem is that if the checkbox does not get marked, the p# does not get a value.
The easy fix is to declare p3-p10 as =0 in the begining of...
-
October 23rd, 2008, 12:06 PM
Come on now... I would have figured you would get this part on your own. Its pretty much the same problem you just fixed.
Add up the values of all your checkboxes, and you get 34.
You need...
-
October 23rd, 2008, 10:00 AM
as for the calculate button,
replace "return (total_price);" with this:
document.getElementByID('total_price').value = total_price;
-
October 23rd, 2008, 09:56 AM
the name property determines the radio groups, not the id
<fieldset name="General">
<legend class="alignleft">General</legend>
<p>
<input name="General" id="General_0"...
-
October 23rd, 2008, 09:06 AM
I am familiar with php, but I have never used perl
In this case though, you want to go with PeejAvery's suggestion, and use a multi-dimensional array.
you cannot use the $j variable in the way...
-
October 23rd, 2008, 08:52 AM
Sorry... don't know how i missed that about the checkboxes.
Anyways, the id for each element must be different.
So you shouldn't have 4 radio inputs with id = "General"
maybe try: id =...
-
October 23rd, 2008, 08:23 AM
actually... now that I look at it again,
you would need to run sub-queries for the SUM()'s
you can't just tack on a where statment after them.
SELECT B,C,D,E,
((SELECT SUM(F) FROM...
-
October 23rd, 2008, 08:12 AM
One problem I notice is your where statement for the second SUM():
where A= 'George' and A ='Kevin'
this will always be 0, because 'George' does not = 'Kevin'
you are probably looking for:
...
-
October 23rd, 2008, 07:50 AM
First of all, getElementById will, well, get the element by id.
all of your elements are described by the name property, but they have no id property.
Secondly, the checkboxes that have the...
-
October 23rd, 2008, 07:18 AM
Thank you for your help PeejAvery
first I tried this:
function createRequestObject() {
var ro;
try {ro = new XMLHttpRequest();}
catch(e) {
-
October 22nd, 2008, 03:25 PM
This AJAX works fine in IE 6, but nothing happens in Firefox
This is the html of the page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
|
Click Here to Expand Forum to Full Width
|