Home
My Faqts
Contributors
About
Help
News: Faqts.com
search
is now functional again. Thank you for your patience.
faqts
:
Computers
:
Programming
:
Languages
:
PHP
:
Common Problems
: Variables
+ Search
Enter your search terms
Submit search form
Web
faqts.com
Folders
There are no folders in this category
Share Your Knowledge
Ask a Question
Questions
Recently Asked Questions
import_request_variables not working in an include function
Passing a variable from a URL - I can echo variables from within the PHP file, but not from the URL.
Where can I find some detailed information on the use of such variables as %s ?
Is there a way of accessing mod_ssl variables (e.g. SSL_CLIENT_CERT) via Apache?
Resource identifier scope...
Random Questions
What are the default values of uninitalized variables in PHP?
I need to make a variable all lower case letters. How do I do it?
How can I use Global Variables? So they can be accessed between two php files?
getting Apache environment variables from PHP
getting Apache environment variables from PHP
How could I echo a variable which include "<? XXX ?>"
How can I use Global Variables? So they can be accessed between two php files?
How long a variable resides in memory, how can i remove it?
Now with PHP4, I can't no more pass variables in a URL http://ddd.ddd/ddd.php?toto=value ******* toto is always undefined ??
How can I get rid of "Warning: undefined variable" after receiving data from a form that doesn't contain data?
How to a make page with variables, so you could run index.php?type=file.name ; and if the file name is not specified, it will go to a specific page.
How can I reset or clear the value of an object?
What are the default values of uninitalized variables in PHP?
In my pageheader I call $category = "vari"; Where vari should be the filename minus .php3. How can this be done?
One variable in a page should be the filename itself. How to do this?
How to do something similar to : index.php?home vs. index.php?type=home
How must I manage a variable that has either a value or doesn't exist at all.
Regarding This Statement : include $type . '.php'; , lets say i want to include 2 extensions instead
How can I transform a string into the variable that has the name that string?For ex:the string results by concatenating other strings.String="name_2".
How to pass the PHP variable to Javascript?
getting Apache environment variables from PHP
FORM: If field1 is empty,then I want the information from field2 of a form to be filled into field1
How to change php variables to javascript variables?
Why do I get the error: undefined variable: QUERY_STRING for predefined variable $QUERY_STRING ?
I need to make a variable all lower case letters. How do I do it?
I have a var passed to a page with an inc. file. How to use var in func
How to write a variable which value contains a dollar sign? ie the content of $price is $98.00
I still don't understand *why* I get "undefined variable"; I'm posting two variables from a form; th
How can I pass a Javascript variable to a PHP variable?
Resource identifier scope...
Is there a way of accessing mod_ssl variables (e.g. SSL_CLIENT_CERT) via Apache?
Where can I find some detailed information on the use of such variables as %s ?
Passing a variable from a URL - I can echo variables from within the PHP file, but not from the URL.
import_request_variables not working in an include function
Unanswered Questions
How can I store a large number in a integer variable, value over 4 billion for bitwise comparison?
I've got a W2000AMP running at work that gives me an extra php/php.exe every time I use $PHP_SELF and it's a real pain. PLEASE HELP
Passing variables to the next program.
Can I get a external ksh scripts output back to PHP to make a decision? if 1 from script do this if 0 do that ? the 1 or 0 is just shown in IE
isset is good for fixing - - is ($foo == "") -- but what about -- while ($foo=="")?
I need a/more variables common to the WHOLE site!
How can I pass a variable to an include file?
how to pass variables from a loop (for, while) to another php page
How to pass a string that contain character "&" between words that display on the url
How exactly do I use that "magic" __sleep for class serialization?
Using the variable from a multiple scroll down menu.
How can I create an include file with global variables when otherwise using OOP?
I can't use $HTTP_POST_VARS and $PHP_SELF. Track vars is enabled in php.ini and I use php_track_vars
How can I pass a variable from one PHP script to another without it being visible on the URL?
How to change javascript variables to php variables?
How do I define 'global' php-variables in a frameset, and how do I call them from the frames?
How do I define 'global' php-variables in a frameset, and how do I call them from the frames?
what's the best way to use variables that are only created on links to the same page?
i am getting the value of variable in the URL but not able to print value in the browser .
A predefined variable for the name of the current function?
object concatenation
object concatenation with a single variable
How pass variable from HTML (<input type=text name="username" ) to next page?
I have a var passed to a page with an inc. file. How to use var in func
How do I pass an optional variable to a function BY REFERENCE?
undefined variable
I need to resolve ": Undefined variable: submit in (file.php) on line 17
how to pass variable from Form to php scripts and get data from database
It is not the register_global problem but why do I always get "undefined variable" errors?
It is not the register_global problem but why do I always get "undefined variable" errors?
How to change javascript variables to php variables?
How do I pass a global variable (array) that is created in an IF statement to another IF statement?
Is it possible to parse php code contained within a variable?
How to get the value of a form variable in a php file, I keep getting undefined variable.
How to get the value of a form variable in a php file, I keep getting undefined variable.
How to get the value of a form variable in a php file, I keep getting undefined variable.
How can I pass Javascript variables to PHP variables??
How can I pass Javascript variables to PHP variables??
How can I pass Javascript variables to PHP variables??
How can I pass Javascript variables to PHP variables??
How can I pass Javascript variables to PHP variables??
How can I pass Javascript variables to PHP variables??
How can I pass Javascript variables to PHP variables??
How can I extract a variable name into another variable? $variable into $VarName = "variable"?
My php file doesn't print variables posted from a html-form.
My php file doesn't print variables posted from a html-form.
Resource identifier scope...
Resource identifier scope...
I can't get the AUTH_USER-variable under IIS 5.0 and PHP 4.3.0 ( register_globals = on)
Why are my variables not passed into an if() construct?
new to PHP but I keep getting undefined error when i pass a variable into a URL from a form.
new to PHP but I keep getting undefined error when i pass a variable into a URL from a form.
Variable Undefined, even when global and Global on?
Variable Undefined, even when global and Global on?
How do I pass an array out of a function without losing its contents?
How do I pass an array out of a function without losing its contents?
How do I pass an array out of a function without losing its contents?
How do I pass an array out of a function without losing its contents?
PHP Newbie: can't pass form variable to another script
How do I add an additional directory to the _SERVER["PATH"] variable so it's not just /sbin.
Every time I attempt $a = $a - $b; I get a bogus value. Is something configured wrong?
Why doesn't $_SESSION[variable] carry over from one script to the next?
How can I get the callstack when an error occurs? An array of __FILE__ and __LINE__ would be nice.
What's the difference between a string and a variable? Are they the same?
Now lets reverse it, how can I pass a Javascript variable into a PHP variable ?
How would I set a variable, with a dynamic name?
How would I set a variable, with a dynamic name?
variables not being passed in URL to PHP script
Variables are 'undefined' when defined in the url
Errors in Windows not in unix. unix: http://216.92.95.8/ Windows: http://www.abbottball.com/
Is there any reason why should import_request_variables return FALSE?
I Can't pass variables in a simple PHP script (PHP version 4.3.4) outsourced hosting...
I need to pass a variable in a url without using the '=' sign. (?id=1) how can I do it without the =
require_once to set global vars, are not set after calling script again.
Where is the bug in this script : http://www.autourdupc.com/bug.php.txt
Where is the bug in this script : http://www.autourdupc.com/bug.php.txt
Why does this posted data can't be read as dynamic variables http://www.autourdupc.com/bug.php.txt
Why does this posted data can't be read as dynamic variables http://www.autourdupc.com/bug.php.txt
Why does this posted data can't be read as dynamic variables http://www.autourdupc.com/bug.php.txt
Why does this posted data can't be read as dynamic variables http://www.autourdupc.com/bug.php.txt
Why does this posted data can't be read as dynamic variables http://www.autourdupc.com/bug.php.txt
Why does this posted data can't be read as dynamic variables http://www.autourdupc.com/bug.php.txt
Why does this posted data can't be read as dynamic variables http://www.autourdupc.com/bug.php.txt
how to pass php variables to a java script function?
how to pass php variables to a java script function?
Where can I find information about variables like PHP_OS is some were in the manual?
how to pass to a frame within a frameset
How can I name a variable using another variable? e.g. $[$var1] = $var2
how can I run code from a variable? like include(); but for plain php code.
how can I run code from a variable? like include(); but for plain php code.
How do you write a text link so that it incorporates the current page's URL Variable into that link?
How can I have a php file with all my variables and access them from different php files ?
Passing a variable from a URL - not working
How can I tell if two reference variables point to the same place?
How do i get the Apache PID from php?
Is there a variable where in I can save data wich i can use in all the sessions users start?
Is there a variable where in I can save data wich i can use in all the sessions users start?
Is there a variable where in I can save data wich i can use in all the sessions users start?
In PHP, how do I set a variable from a database query (Select userid from table1…), which I will use
I am trying to make the data of a file into a variable. How can I do this?
I am trying to make the data of a file into a variable. How can I do this?
passing variables
plz explai the following code $number = isset($_GET['number']) ? $_GET['number'] : '';
Access to $_POST['uname'] doesn't work
Load page contents based on a dynamic nav?
Undefined variable: mid in c:\inetpub\wwwroot\main.php on line 6
Undefined variable (mid) in line 6, i have defined it in if statement like this" if($mid=1) "
Undefined variable (mid) in line 6, i have defined it in if statement like this" if($mid=1) "
How to create an array variable visible across PHP files
What is the difference between isset() and other is_*() functions (is_alpha(), is_number(), etc.)?
How do I sort out this error "parse error, unexpected T_VARIABLE"
I wanted to know that in global variable, which code segment will consume less memory or optimal way