Passing Values By Get

Pages: 1, 2
free web hosting
Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming

Passing Values By Get

jlhaslip
Don't forget that the form variables need to be "submitted" before they contain values. Before the form is correctly submitted, the variables would be initiallized as NULL.

Reply

hitmanblood
QUOTE(jlhaslip @ Apr 16 2007, 03:42 AM) *
Don't forget that the form variables need to be "submitted" before they contain values. Before the form is correctly submitted, the variables would be initiallized as NULL.


Well I am aware of that fact and in fact I have some form variables which are chosen from the list so there is no way that they wouldn't get initialized. The main problem is between form connection and my php script as I see it.

Reply

Blessed
can you post your code so i can see it

Reply

hitmanblood
QUOTE(Blessed @ Apr 16 2007, 01:48 PM) *
can you post your code so i can see it


Check the first page.

Reply

matak
QUOTE(hitmanblood @ Apr 16 2007, 06:26 PM) *
Check the first page.


well hitmanblood, you didn't post any of your code. in order for anyone to help, you should post both your PHP and HTML code here so that we can see what's the problem more easily. also use code tags to wrap code.. smile.gif

Reply

hitmanblood
QUOTE(matak @ Apr 16 2007, 07:01 PM) *
well hitmanblood, you didn't post any of your code. in order for anyone to help, you should post both your PHP and HTML code here so that we can see what's the problem more easily. also use code tags to wrap code.. smile.gif


I am not really keen on reveling my code however when I try to echo or print variables after GET methods none of them will show up. That means that it is not problem somewhere later on in the script bu rather in the passing variable value to the php script from the html form.

Reply

matak
QUOTE(hitmanblood @ Apr 16 2007, 09:50 PM) *
I am not really keen on reveling my code however when I try to echo or print variables after GET methods none of them will show up. That means that it is not problem somewhere later on in the script bu rather in the passing variable value to the php script from the html form.


ok i understand that you don't wont to reveal your code. but then again you need to understand that it is really hard for anyone to guess what is wrong with your script when you don't want to show it. i honestly don't belive that you wrote code that is so much valuable so that it can't be shown. maybe your script is full of usernames and passwords which you can't publish, so that would make sense... anyway, i hope that transfering to trap17 and PHP 5 will do the trick wink.gif

 

 

 


Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Similar Topics

Keywords : passing values

  1. Php An Js Window.open Pages Trouble. - I need a way to set hidden input values to the new window. (3)
  2. [php](simple) Using Functions To Combine Values In A Form - Really simple example on how to combine values with function (2)
    I just learned this simple method on how to use functions to combine two values from a form. First
    we create ourselves a simple POST form CODE <form method="POST"> Name:
    <input type="text" name="nickname"> Location: <input
    type="text" name="location"> <input type="submit"
    value="Input"> </form> Now we add this php to that same file CODE
    <?php $nick = $_POST['nickname']; $location =
    $_POST['location' ...
  3. Include And Values - (3)
    hi everybody, i am new to php programming, i have this code in page number 1: CODE <?php
        $pages = array(                 'number1' => 'number1.php',
        'number2' => 'number2.php',     'number3' =>
    'number3.php',                 'number4' => 'number4.php',
            );             if (isset($_GET['page']) &&
    isset($pages[$_GET['page']]))                 {
                        include(...
  4. Converting Characters In A Variable To Individual Values In An Array - turning variables into arrays (2)
    Say I have a variable such as $nav_item and it had to contents Home . IE: CODE
    $nav_item = 'Home'; How would I make so that $nav_item was an array and
    had the following contents? CODE $nav_item = array ('h', 'o',
    'm', 'e'); With the case changing (ie H would become h and U
    would become u ) EDIT: Okay found out that I could change the case with
    array_change_key_case ($nav_item, CASE_LOWER); ...



Looking for passing, values

Searching Video's for passing, values
advertisement



Passing Values By Get



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE