Top "Variables" questions

THIS IS AMBIGUOUS; USE SPECIFIC-LANGUAGE TAGS WHENEVER APPLICABLE.

PHP MySQL Query Where x = $variable

I have this code (I know that the email is defined) <?php $con=mysqli_connect($host,$user,$pass,$database); …

php mysql variables where
Save current directory in variable using Bash?

What I'm trying to do is find the current working directory and save it into a variable, so that I …

bash variables directory
Using unset vs. setting a variable to empty

I'm currently writing a bash testing framework, where in a test function, both standard bash tests ([[) as well as predefined …

bash variables syntax
Passing a variable from one php include file to another: global vs. not

I'm trying to pass a variable from one include file to another. This is NOT working unless I declare the …

php variables include scope global
What is the PHP syntax to check "is not null" or an empty string?

Possible Duplicate: Check if a variable is empty Simple PHP question: I have this stement: if (isset($_POST["password"]) &&…

php variables null conditional-statements
PHP check whether property exists in object or class

I understand PHP does not have a pure object variable, but I want to check whether a property is in …

php class variables object parameters
How to reference a file for variables using Bash?

I want to call a settings file for a variable, how can I do this in bash? So the settings …

bash variables configuration-files
Javascript Regex: How to put a variable inside a regular expression?

So for example: function(input){ var testVar = input; string = ... string.replace(/ReGeX + testVar + ReGeX/, "replacement") } But this is of course …

javascript regex variables
SQL NVARCHAR and VARCHAR Limits

All, I have a large (unavoidable) dynamic SQL query. Due to the number of fields in the selection criteria the …

sql sql-server sql-server-2008 variables string-concatenation
How to modify a global variable within a function in bash?

I'm working with this: GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu) I have a script like below: #!/bin/bash e=2 function …

bash variables global-variables eval