Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP






SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Variables Not Passed From Url Or Form To Page


I use a Mac at home running OSX 10.2, and use the Apache PHP MySQL trio for developing and testing sites. I've had very good experiences with this setup and have had no major problems till now.

I noticed recently that variables added to the end of the url (the get method, ...url/page.php?var=value) are not passed to the script within the page. Forms using either the get or post method have the same problem. For example, a page named "foobar.php" containing this: Code:




View Complete Forum Thread with Replies
Sponsored Links:

Related Messages:
Eliminating Passed URL Variables For Multiple Listings On A Page
I have a page with a list of several users, each hyperlinked to another page of 'more info' about that user. The hyperlink contains the UserNumber, UserRegion, and UserStatus, and the receiving page picks up the data in the passed URL. This works well, but I'd like to eliminate the passing of these variables in the URL.

One way is to make a graphic ('More Info') that can be clicked to submit a form. Each 'More info' graphic from the dynamically created page could hold the UserNumber, but how can I pass several variables with a single click? On some pages, there can be 100+ users, and I hate to have 100+ separate forms and hidden fields.

I thought of using session variables, how can I know which user was clicked to set the session variables?

View Replies !   View Related
PHP Not Populating Form Variables Passed Through POST Or GET
I"m running:

Windows Xp SP2
Apache2
PHP5
MySQL4

Everything seems fine and dandy, and I can do scripting on server side, but for some reason I cannot get data from a form to be put into a variable.

I have a simple form in an html page which submits, and in the php script that handles the input, none of the data in the form is going into the variables.

My php.ini file does have all the GPC's in place(ie variable_order, the way they get processed).

View Replies !   View Related
Access Denied Because The Variables Are Not Being Passed Eveythime The Page Is Loaded.
When you login and click index.php or CompanyInfo it says Access denied because the variables are not being passed eveythime the page is loaded. Here is my index.php Quote:

<link rel="stylesheet" href="theme.css" type="text/css">
<?php
require ("config.php");
$login = $_POST[login];
$password = $_POST[password];

/***********************************************************
***
***************************************/
/*Check database to make sure Login and Password were correct,if they were then Mainpage is displayed*/
/***************************************************************
*************************************/
$result = mysql_query("SELECT adminlogin AND adminpasswd FROM Admin WHERE adminlogin='$_POST[login]' AND adminpasswd='$_POST[password]'") or die("Database not working");........

View Replies !   View Related
Form Processing - Get The Target Page To Process The Form Variables
I have a form embeded in a html page. The form comprises of 3 inputs (2 <select>, and a submit button). The action is set to a php page. What I am trying to achieve:

I would like to be able to get the target page (php page) to process the form variables in 'if.. else' statements and direct the visitor to the relevant page which contains the information that has answers for their queries. Example:

variable1=="small" (entered from a <select> input)
Variable2=="truck" (entered from a <select> input)

this info is submitted to process.php

I would like 'process.php' to combine the 2 variables and send the visitor to a page called: small_trucks.htm or small_trcuks.php (either extension will do). Note that the final pages the visitor to be directed to are unique pages and need to be displayed in the form of pages and not IFrames. If you are familiar with this, would you kindly create a code for the above example..? and would you also be able to tell me where to insert that code in the php page..?

View Replies !   View Related
Pass Form Variables To Second Page And Re-submit Form
This is probably a mixture of PHP and javascript required, but i'm trying to pass form variables entered in page1.php to pass to page2.php and the form to re-submit from page2.php with the values entered in page1.php.

Is this possible, and how would i go about it?

View Replies !   View Related
URL Passed Variables
I've written an application that passes variables back and forth through the URL as the user bounces between pages. We decided that we want to "hide" what those variables are, so the user can't arbitrarily change them to make things happen that shouldn't. So, we've encrypted the variable string. Instead of seeing:

index.php?startDate=2001-01-01&endDate=2002-01-01&building=1

They instead see:

index.php?1e826a92f309b8271c0091e7a8d92839af3b1b918

This works great, however, if they manually enter:

index.php?startDate=2001-01-01&endDate=2002-01-01&building=1

It still works, which is bad. I'm currently accessing the encrypted string with $_SERVER['argv'][0]. Register Globals is OFF. I guess I need a way to ignore every variable passed EXCEPT argv[0], or somehow unset argv[] after I check argv[0] to see if it is decryptable. I guess I could rename the variables, but they could still pass them through the URL if they discover the name somehow.

View Replies !   View Related
Variables Passed Between Functions
I have a function that fills the value field of a form with 2 possible variables but they are not getting set so when you view source you just see value=""

I also try echoing these variables to see if they are getting set but they are not.  Is it becuase they need to be set to global? Code:

View Replies !   View Related
Passed Variables In Included Files
I'm looking for a guide on how variables are handled in included files. A pitfall I've run into is that if I define a variable, then include a file, the variable can be displayed on the included file. But if I try to call that same variables on the included page within a function, the variable is undefined. Example: PHP Code:

View Replies !   View Related
Can Session Variables Be Passed Between Two Different Servers?
can session variables be passed between two different servers?

I have on page1.php on server1

<?session_start();
$_SESSION['User'] = 'chleng'
?>

<a href="cdr.chleng.com/voip_user_menu.php" target="_self">
cdr detail
</a>

Code:

View Replies !   View Related
Session Variables Use The Passed SessionID?
I found quite a few docs on the web that talk about this problem. However, none of them have solved the issue for me.

<?
session_start();
$_session['mysession'] = "hello";

header ("Location: newpage.php");
exit();
?>

in newpage.php the session variable will not be set.
I found another doc that said to try this
header("Location: newpage.php?PHPSESSID=".session­_id());

I haven't tried it yet. Do I have to do any additional code in newpage.php to use the passed sessionID?

View Replies !   View Related
PHP5.1 Bug, Only Variables Can Be Passed By Reference
Updating to 5.1 I get an error from some files "Only variables can be passed by reference" It seems to be some discussions going on about that error Looks like a bug when using array_pop() as I do within the files creating the error But I am not sure that array_pop is the only culprit.

View Replies !   View Related
Keeping The Variables From Form To New Page
On a web page that I am working on there is a lead generator on the left side that asks for the persons name, phone number and email address. Currently when someone fills in that information and clicks "continue" it will send an e-mail as well as inputs that data into mySQL database.

What I want it to do is just that but then take the person to a continued form asking more questions, but without them having to re-fill in their name/phone/email. Basically this "continued form" can be accessed seperately, so it cannot be something where the continued form only works once someone fills out the mini form on the left side of any page on the site. Code:

View Replies !   View Related
Session Id Or Possibly The Variables Aren't Getting Passed
I'm having a problem with using sessions in my php application. It seems that the session id or possibly the variables aren't getting passed on to the pages that follow. I can't seem to figure it out. Here is some test code that I made to see if I could figure out the problem: Code:

View Replies !   View Related
Problem With Form, Variables, And Refreshing The Page
I use php 4 and mysql.

I am quite new to php. I have looked high and low for a solution to
this problem. It has to do with my lack of understanding of variables,
I think.

I have created a simple php file that has a form at the bottom where
the user can enter data that will update the page he is on. When the
user click the submit button the data is copied into the table and the
web page shows the new record along with the others, as it should.

However, if the user later refreshes the web page, the data in the
last form is entered again into the table.

To prevent this I have tried something like this:

if($fname!="")
{
$fdatetime = date('Y-m-d h:i:s');
if(mysql_query("INSERT INTO comments(fname, femail, fcomment,
fdatetime)
VALUES('$fname','$femail','$fcomment', '$fdatetime')"))
{
$fname ="";
}
else
{
echo "could not insert the data, sorry!";
}

}

I thought $fname =""; in conjunction with if($fname!="") would solve
the problem, but no such luck.

The elements in the form are named fname. femail, fcomment.

One more question, instead of echo "could not insert the data,
sorry!"; I would rather like to post a message in a messagebox of some
sort. Is that possible

View Replies !   View Related
MySQl Errors Caused By Variables Not Being Passed (global)?
I can connect to database using some search criteria and it displays the results. I have 1 result per page and use pagination which normally works fine but because I am getting a SQL error it won't work....i just get this error message

QuoteYou have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND AND bedrooms >= 2 AND location = '' AND type = '' AND `key

I only get this error now becuase I set the variable of $min_bedrooms to 2. Before the message got up to near'' and stoped. Code:

View Replies !   View Related
Make A Button That Would Pass The Form Variables To Other Page
here's some code that's at the top of my page, a form later in the page posts the variables back to the same document and then updates the database. How do I make the page so that when the form is submitted it posts the info to the same page and then passes the same variables that were just put into the database to a page named view.php? or another way that would work was if there was a preview button next to the submit button that passed the variables, but the form action is set to PHP_SELF, so how would I make a button that would pass the form variables to view.php and not to itself?


Here's the code PHP Code:
<?php

View Replies !   View Related
Check Form Data Then Pass Variables To Next Page
i have a normal form when the user selects submit it calls the function on the same page to validate the form. My problem is when the form is validated how do i pass all those varables to another page where i can process that information further? Code:

View Replies !   View Related
Need Code To Find Last Page, And Passing All Form Variables
I need to be able to make some sort of php function to pull up the last page viewed so I can pass form varaibles to it etc, so the javascript function go.history(-1) wont work for this situation. After diving thru the php function dictionary for hours on end I'm at a loss for where to look, or what to look for.

Also I was wondering if anyone knew an easy way to pass all form variables on to the next page rather than forwarding each manualy. This isn't all that important, but would make the code more efficiant.

View Replies !   View Related
POST Variables - Strings Passed Back From A Credit Card Processor
I'm having real trouble making sense of strings passed back from a credit card processor to my site via <input> tags. the customer buys more than one product, I get the following in the passback: Code:

<input type="hidden" name="product_id" value="2" />
<input type="hidden" name="product_id1" value="1" />
<input type="hidden" name="quantity" value="5" />
<input type="hidden" name="quantity1" value="3" />

and so on. I need to match 'quantity1' to 'product_id1' etc. and then input them into the MySQL database into a table called 'orders'. Each product order gets its own row, but is linked by the client_id. I have set up the following 'foreach' loop, PHP Code:

foreach($_POST as $key => $value)
{
$title = preg_replace('/[^a-z,A-Z]/','',$key);
$str = "$title[0]$title[1]$title[2]$title[3]$title[4]$title[5]$title[6]$title[7]$title[8]";.

View Replies !   View Related
How Can I Retrieve All The Page Name With Arguments Passed To Itself?
How can I retrieve all the page name with arguments passed to itself?

Using Php_Self tag with the following URL:

http://localhost/workplaceGSA/index...m_total_count=7

returns:

http://localhost/workplaceGSA/index.php

I want http://localhost/workplaceGSA/index...m_total_count=7 as is.

View Replies !   View Related
Showing A Different Page When A Variable Is Passed
this is the code i have just now

<? include 'code.php' ?> //where variables are kept

<?
$welcome = $_REQUEST['welcome'];
$leave = $_REQUEST['leave'];
if ( $welcome )
echo $page['welcome'];
if ( $leave ) {
echo $page['leave']; {
} else {
echo $page['redirect'];
}?>

what i want to do is, if the variable passed is "welome" i want it to show a welcome page and if "leave" is passed i want it to show a leave page, and when no variable is passed i want it to redirect to a totally different page

like this:
index.php?welcome
Show welcome page

index.php?leave
show leaving page

index.php
redirect to a different page

View Replies !   View Related
Values In Form Not Passed Using Onclick ?
i have a php file name main.php i want to do a post and not a get since this action is to delete a row in the database. however, when i try to do a href onclick, the values are not passed to the main.php. why ? Code:

echo "You have " .$votesattach. " votes for this quote. Delete the Quote and Votes ?";
echo "<form name=send1 method=post action=main.php?action='deleteit'>";
echo "<input type=hidden name=action value=deleteit>";
echo "<input type=hidden name=which value=$delete>";
echo "<input type=hidden name=userno value=$userno></form>";
echo "<a href=main.php onclick=document.send1.submit()>YES</a>";}

how do i do pass values to the server using a post method ?

View Replies !   View Related
When A Value Passed In Form Or Q'string Is Empty..
I am trying to figure out how to deal with when not all elements
in a submitted form are filled out or when page expects a query string
and doesn't get one.. I tried the two conditionals below, but still got
errors:

$param= $_GET['msg'];

/*
if ($param != "") {
echo $param;
}
*/

if (isset($param)) {
echo $param;
}

query string is:

home.php?msg=selected records have been deleted from the database.

(referrer pg is not always pg sending query string.. so need to deal
w/when no query string is passed..)

View Replies !   View Related
Encrypting Variable Values Passed Thru A Link In A Web Page
I am working on a project in PHP / Mysql on linux platform. The project has a login page where any registered user is supposed to login before he/she can have access to some major functionalities in the project.

Since I need to check the authenticity of the user in other secured pages, I have to carry forward the username with which he/she has logged. As I am doing so, the username is appearing in the url. This of course is a major security lapse.

View Replies !   View Related
Image Upload - Using A Variable Passed From A Flash Page
i'd like to pass a variable using post into the following form (that is from php.net)
using a variable passed from a flash page (i'm competent in flash but a novice in php)how do integrate:

$folder = $_POST['folder']."/";

into the form so that when submit occurs the folder path is passed to upload.php :

<!-- The data encoding type, enctype, MUST be specified as below -->
<form enctype="multipart/form-data" action="upload.php" method="POST">
<!-- MAX_FILE_SIZE must precede the file input field -->
<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
<!-- Name of input element determines name in $_FILES array -->
Send this file: <input name="userfile" type="file" />
<input type="submit" value="Send File" />
</form>

View Replies !   View Related
Assign A New Value To A Variable Passed From An Html Form
I'm trying to assign a new value to a variable passed from an html form to a php3 script. I'm using an if statement to evaluate variable 3 to see if it is equal to a specific string, if it is I'm reassigning variable 2 to be variable2+variable 3.

if ($question3!="select days")
{
$question2=$question2+$question3;
}

This is the statement. It keeps giving me a parse error and I can't seem to find the right documentation to show me how to combine two string variables.

View Replies !   View Related
Hitting Back, Form Info Not Passed On
I have a form that will retrieve information from a database based on variables passed in a link. Order=17 would pass on the order number which is used to connect to a MySQL database. Now, if I hit back on a browser after opening one form page up already and click on a new link, say &order=18 the form will load blank without anything filled in, so basically it seems like it didn't connect to the database or didn't make use of the order=18. I call upon these using a GET method. Here's something that me be of issue, the form is filled in if this condition is met:

if ($_GET['firstTime']='YES' && $_SESSION['second']!= 'true')

View Replies !   View Related
Form Processing - Create A Form Processor With Processes The Form To A Page
I have searched the internet for this. I want to create a form processor with processes the form to a page which only certain people can access. I got everything down but the form processing. Does anyone have this code or can you lead me to the right direction?

View Replies !   View Related
How Can I Pass Variables From The 1st Php Page To The 2nd Php Page Without Using Cookies
How can i pass variables from the 1st php page to the 2nd php page without using cookies or passing through the URL from an <a HREF="2ndpage.php"> link? the variable consist of 200 characters. for example some code

//for example i get the variable $variable from the db.

while ($row = mysql_fetch_array($result,MYSQL_ASSOC))
{
<a href=&#392;ndpage.php'>
}

View Replies !   View Related
Form Variables To Session Variables
I am writing a small script that consists of two pages:  page one displays a bunch of values from a DB (ie. First Name, Last Name, Phone Number).  On this page you will find a form that follows this format:

<input type="text" name="edit_firstname" size="20" maxlength="35" value='Bob'>
<input type="text" name="edit_lastname" size="20" maxlength="35" value='Smith'>
<input type="text" name="edit_phone" size="20" maxlength="35" value='5552222'>

So when you see the page there will already be a 'default' value in each line (which is information extracted from a DB).  This works perfectly and has been tested thoroughly.

On the second page I have the following code:

$editfirstname = $_POST['edit_firstname'];
$editlastname = $_POST['edit_lastname'];
$editphone = $_POST['edit_phone'];

What I am trying to do is this:  the default value for edit_firstname from the form is 'Bob' by default, but the user can change this in the input field on the first page.  This value, whether changed or unchanged, should then be stored as edit_firstname and by calling up the function $_POST[''] on the second page I want to transfer the value to the variable $editfirstname. 

However, it seems that $_POST['edit_firstname'] and the other fields do not return a value at all, hence $editfirstname = '' or $editfirstname = 'NULL'.  I have never tried to do things this way before. 

View Replies !   View Related
Form Submission Script Does Not Seem To Get Any Of Form Variables
I am developing a backend system for accounting. I developed on Safari and when I tested it with Internet Explorer, the PHP script does not seem to get any of form variables. What is causing this? Could it have something to do with headers?

View Replies !   View Related
Passing Variables From Page To Page
I just need to know how to pass variables from page to page on my form.

View Replies !   View Related
Passing Variables From A Page To An ASP Page?
I have a site using a PHP CMS and I need it to use an ASP module from
another site but I would like to use a frame so it looks like it is
still in the same site.

I need to pass a username variable from a form in in the PHP webspace
(where the domain is pointing) to a page in an ASP webspace (using a
subdomain not related to the main domain).

I created a frame page in the php hosting with a 1px top frame and the
main frame pointing to the asp page but of course the variable is not
being passed.....if I put the ASP connection code on the frameset page
it doesn't recognize it because the hosting is a Unix/PHP hosting
only.

My question to you is:

Can a variable be passed from the php to the ASP webspace using some
other technique?

I just need to have the ASP module showing as if it is in the PHP.

View Replies !   View Related
Carrying Variables From Web Page To Web Page
I was reading about PHP variable scoping - it doesn't seem to support
carrying any variables from one web page to another - how is this
usually done? I have a lot of php variables created on my home page
that I need to make use of on other web pages - how can I do that?

View Replies !   View Related
Page Expired After Going Back From Del. Pageto Form Page Where Comment Is Submitted..
i've made a submit comment form with php and mysql, the form has an action to itself with a hidden var like this: input type=hidden action=add

When i delete a comment on the page i go to a page called delete.php3 and there is a link with a javaline which goes -1 back in my history..

When ive added a comment, the comments page contains action=add and when i delete a comment, i want to click on the link to go back to the comment page, but then, it doesnt work and it says:

Page has expired.

I wondered how to deal with this kind of problems........

View Replies !   View Related
Session Var Is Setting ONLY AFTER I Reload Page, Form Var Displays First Page Load
Page1 has a form that calls Page2. The beginning of Page2:
<? php session_start();
$s=$_POST['sSelected'];
session_register("s"); ?>

in the middle of Page2 I have a form varaible:
<?php echo $_POST['stateSelected']; ?>
<?php echo $_SESSION['s']; ?>

The form var displays the first time the page loads. The session var
displays only after reloading the page2.

View Replies !   View Related
Build A Page That Takes Form Data, Processes It In A Second Page
I'm trying to build a page that takes form data, processes it in a second page, then sends the user to a third,depending on data processing.

On the second page, I am trying to get the page to have some sort of "Loading" message while the backend processes the data, but I can't seem to get anything to work. Does anyone know how I can get that Loading message to display?

View Replies !   View Related
IF Else Statement - Form Being Submitted From Another Page And Being Directed To A Second Page
I have a form being submitted from another page and being directed to a second page. In this form is a checkbox called nonprofit. When checked the value is 1.

On the second page I have the following code:

View Replies !   View Related
Create A Form In HTML And A PHP Page For Validating The Data Entered Into The Form
I've tried to create a form in HTML and a PHP page for validating the data entered into the form and adding them into a MySQL database.

However, when i tried them out, it happens that after i press the submit button in the HTML page, it just show a blank page instead of what i expect. I've tried several times, but it is still the same and i don't know what is going wrong. Code:

View Replies !   View Related
Form Processor To Redirect To A Specific Page Based On The Selection Of A Radio Button On The Form.
I need to have a form processor to redirect to a specific page based on the selection of a radio button on the form.

It would be like this:

If selection is button "A" then goto A URL
If selection is button "B" then goto B URL
If selection is button "C" then goto C URL

I don't know how to code in php or when I would put such a statement.

View Replies !   View Related
Dynamic Form Fields/multiple Page Form?
It is for a friends out of print booksite, where visitors can request multiple books to be searched by adding one at a time to a cart (javascript), then once all added they submit to another form where they enter their personal details and all is sent through. The problem is at the moment they cannot change whats in the cart without refreshing the browser window and losing everything.

1) present for asking how many books they want to search for
2) display multiple rows of the same input fields depending on how many books they say they want to have searched for?i.e

title|author|publisher|etc
title|author|publisher|etc
title|author|publisher|etc

3) when these are submitted they could see these above the next part of the form where they enter their details with the option to go back and delete/amend.
4) send all the info to my colleague.

if so has anyone seen a similar script that I could take a look @ to see if I can hack it to suit my needs?

View Replies !   View Related
Error In Page When Checking Http_get_vars("myvar") And "myvar" Was Not Passed In URL String
PHP, coming from ASP coding

if (HTTP_GET_VARS['b']==1){
print "Yes";
}else{
print "No";
}

when "b" is not passed via
(http://www.mydomain.com?b=1

an error occurs and the "NO" is printed but an error is printed too.

How can I check for the value of "b" so that no error occurs if b is
not passed??

example

http=www.mydomain.com

$myvar=HTTP_GET_VARS['b']

causes an error because
"b" does not exist (ie. its not passed in the URL string.

$myvar maybe evaluated as NULL or Empty but the error is printed in
the page, anyway.

View Replies !   View Related
How Do You Pass Variables From Form To Form?
I have a web page that is a guest book listing. I want to show 5 guestbok entires at a time. Then there is a Next button at the top of the page. There is an onclick() that goes to a javascript Next() function.

The Javascript next function calculates the next five record pointers to pass back to this same web page by the get method. IE. If I am on entries 1 thru 5 then I need to pass 6 and 1o this screen and redisplay the next 5 entries. Code:

View Replies !   View Related
Variables From Another Page
I am working on something and was wondering if the following is possible... ( I have tried it and am getting a blank instead of the value required).

Do I have to declare the name variable in Page1... or is there a way to go around it?.. One solution could be sessions...but Is there another solution? Code:

View Replies !   View Related
Variables From Another Page
how to get a variable from another PHP page. Does someone know of a good tutorial for this? Is it easy enough that someone could just show me?

View Replies !   View Related
Transfer Variables To Another Page
I have a script that on the first page is a form for users to fill out, when they choose to submit the form it goes to another page that actually processes the form to my MySQL database. ATM I use statements like this to carry over those values:

$article_author = $_POST['news_author'];

Is there a better or more effecient way to do this? It's not too bad on a short form, but typing out all those lines for a long form is tedious.

View Replies !   View Related
Getting Variables From One Page To Another Without Globals
I have this problem getting one variable from one page to another. I don't want to use globals since they arent very good i've heard. (this is how i've done it in the past)
Now, i thought of doing a form post from every page and posting everything forward but it seems silly, also, i don't think i want to store all the information i used to keep as globals as cookies, it seems to me to be just as insecure.

This must be a common thing to do in php and so i'm kind of wondering how to get it to that other place? Is there some kind of special way to put it there?

View Replies !   View Related
Passing The Variables To More Than One Page
I have an initial page 'page_one.php' that sends the data to another one - 'page_two.php' using form. It sends a couple of variables collected from the user input. Now....'page_two.php' has header function before any html that is either skipped or executed based on the user selection. If it doesn't come to header everything is fine, but if it does - header redirects 'page_two.php' to 'page_three.php'.

Now, I want to be able to view all the selected variables in 'page_one.php' in my php code in 'page_three.php'. In another words, how do I pass the variables to page_three.php if it's not declared in action='...' located in 'page_one.php'?

View Replies !   View Related
Getting Variables From A Forwarded Page
im looking to include a page in my php file, for example http://othersite.com/foward/15052 (I think its with Header("")), forwards the page to othersite.com?viewmovie=15052&tempid=10101505050550505&autostart=0

I need to get the address into my php page, but I dont know where to start with this.

I need to then break up the variables, I could probably do that with explode, but everytime I go to the forward page it will change the viewmovie variables, so I gotta make it dynamicly break up the variables on the spot.

View Replies !   View Related
Carrying Variables Over To Another Page
I have been having problems with a page that pulls data from a mysql database, then allows a user to fill in extra data. The whole lot must then be carried over to the same page using a switching variable (here called $export), where it will be placed in a tab delimited file and saved.

The problem I have been having is that the page will not carry over the variables, and I am reluctant to use a html form, as I cannot have multiple results like the mysql_fetch_array function can (expecting >10 results). Code:

View Replies !   View Related
Variables Not Send To Next Page
I have a problem while building an intranet site for my work. When I try to send an variable called id to the next page as in : page.php?id=2 (where 2 is extracted from the database and placed in a while.

When I click the link the id is shown in the address bar, but the page isn't getting it. Anyone know how to fix this or what the problem is?

I'm runing Apache 1.3.33, PHP 5.0.5 and MySQL 5.0.15 with PHPMyAdmin (which is working properly) on a Windows 2003 Server.

View Replies !   View Related
Passing Variables From One Page To Another
I need to take a set of variables from a form, pass them to another form, and finally collect all variables submitted into a final form, where it can be submitted. For instance, the first page asks the user which "web package" they like..

they select and go to another page, which says, "You selected the ___ package, now select your favorite design." They select there design, hit continue, and go to the final page that says, "You selected the __package, __design, and it costs $__ dollars (hidden values) Then they hit submit and all that info is sent via email.

View Replies !   View Related

Copyright © 2005-08 www.BigResource.com, All rights reserved