&
Best unofficial Apache Server developers community
Username
Remember me?
Password
Forgot password?
Create an account
List archives
Videos
Answers
Questions
Unanswered
Tags
Ask Question
variables
1
vote
4
answers
45
views
How can i check if a variable is saved or not in the db?
I have this code: $local_id = $_GET['id']; $sql = dbquery("SELECT * FROM `videos` WHERE `id` = ".$local_id." LIMIT 0, 1"); while($row =…
php
mysql
database
variables
asked
June 24, 2011 10:40 am CDT
m3tsys
0
votes
0
answers
36
views
.htaccess replace (rewrite) $_GET variables in php url
I have a URL that will be something like site.com/index.php?p=test so that the php will load the test variable using $_GET['p']. The url can already…
php
.htaccess
variables
rewrite
asked
June 23, 2011 8:21 pm CDT
hetoan2
0
votes
1
answer
42
views
Setting environment variable TESSDATA_PREFIX in Tomcat
We are using Tesseract OCR Java library called Tess4J. It works fine if run as a standalone application. It needs a variable called TESSDATA_PREFIX…
java
variables
tomcat
ocr
environment
asked
June 23, 2011 4:03 am CDT
Vish
0
votes
0
answers
32
views
How do I detect whether or not lighttpd has passed a user from port 443 ssl as oppsed to port 80?
We have apache running behind lighty which is fielding all port 80 + port 443 requests. Some apps in apache require that a ssl connection and of…
variables
environment
lighttpd
asked
June 20, 2011 6:05 pm CDT
mjb3677
0
votes
1
answer
55
views
CodeIgniter Select Query
I have a simple CodeIgniter Active record query to select an ID: $q = $this -> db -> select('id') -> where('email', $email) -> limit(1)…
php
mysql
codeigniter
variables
select
asked
June 20, 2011 2:30 am CDT
Roman
0
votes
3
answers
39
views
Mysql - reusing calculated values
I don't know exactly how to word this question but here it is. I want to reuse values that i calculated in my query to calculate another value.…
mysql
variables
asked
June 15, 2011 2:30 pm CDT
Ibu
0
votes
2
answers
25
views
Using variables that contain special characters in Perl regexes
I'm trying to search an array for lines that contain $inbucket[0]. Some of my $inbucket[0] values include special characters. This script does…
regex
perl
variables
special-characters
special
asked
June 14, 2011 1:56 pm CDT
McLuvin
0
votes
3
answers
37
views
How do I make a RTF (Rich Text Format) document through PHP from a form submission?
I'm searching on Google but most of the results I'm getting have these complicated software being used. I'm choosing to use RTF because it's the…
php
mysql
variables
rtf
generate
asked
June 7, 2011 11:50 pm CDT
Qlidnaque
1
vote
4
answers
34
views
Re-use variable outside of function?
How can I use return the $row array in the below example, so that I can re-use the variable outside of this function ? I manage to echo the…
php
mysql
variables
global-variables
variable-scope
asked
June 1, 2011 5:03 pm CDT
Joe
0
votes
1
answers
47
views
Extending BaseHTTPRequestHandler - getting the posted data
I've seen this question, but I want to be able to access the data that's POST'd, external from the handler. Is there a way to do this? Following is…
python
http
networking
variables
asked
June 1, 2011 10:53 am CDT
KevinDTimm
0
votes
2
answers
27
views
PHP: Query Exceeding Max Time (How to handle this)
Ok. I have my query written finally for my php file (which will write the query to a txt file). However, when I was testing the file earlier I…
php
mysql
variables
join
slowness
asked
June 1, 2011 9:47 am CDT
Louis Stephens
0
votes
4
answers
37
views
Parse file with BASH script and copy pattern match to a variable
Say I have a file (php as it happens), with a number of variable declarations: $dbuser = 'fred'; $dppass = 'abc123'; $dhhost = '127.0.0.1'; What I…
regex
parsing
bash
variables
asked
May 30, 2011 10:10 am CDT
Bryan
0
votes
2
answers
30
views
How to return whats in a specific mysql cell by querying another value thats in the same row?
I'm trying to make a php page that i can navigate to like... http://mydomain.com?id=12345 in my mysql table there is a id column and a text…
php
mysql
html
variables
get
asked
May 26, 2011 12:55 am CDT
brybam
0
votes
1
answer
29
views
PHP If statement within else
Newish to php and can't seem to find any info on the web on how to do the following. I need to add the following code after the mysql query in the…
php
mysql
variables
if-statement
asked
May 21, 2011 10:38 am CDT
Harry
0
votes
1
answers
41
views
Ubuntu Environment Variables for Apache
I have some variables written in /etc/environment NLS_DATE_FORMAT=DD/MM/YYYY NLS_DATE_LANGUAGE=SPANISH NLS_LANG=SPANISH_SPAIN.WE8ISO8859P1 However,…
apache
variables
ubuntu
environment
lampp
asked
May 12, 2011 6:42 am CDT
Sergiu
0
votes
1
answers
28
views
Need a sanity check on my SQLite query?
Simple iPhone app that shows user a list of coupons based on the category of coupon they select. I haven't tested this yet because I'm still a long…
iphone
query
sqlite
variables
join
asked
May 10, 2011 5:10 am CDT
truthsmiles
0
votes
0
answers
25
views
Very lost in layers of variables (PHP, JavaScript, MySQL)
I am making a cascading drop down list, but for some reason the whole thing breaks when I am trying to add a third variable, which is "column".…
php
javascript
mysql
variables
concentration
asked
May 7, 2011 1:39 pm CDT
Ryan Valverde Ward
0
votes
1
answers
32
views
How to extract a small string before a colon from a variable with jQuery and Regex?
Hi guys, I have a JavaScript variable similar to: "a_name_string: RT @<a href="http://twitter.com/SomethinG">SomethinG</a>: Lorem ipsum…
jquery
regex
variables
asked
May 6, 2011 7:02 am CDT
atwright
2
votes
6
answers
39
views
PHP force a var to have a certain type
This may be a stupid question but I might aswell as it :) is there away to force $tel1 = '05';// string settype($tel1,'string'); $tel1 = 06;//either…
mysql
variables
string-manipulation
asked
May 4, 2011 9:30 am CDT
Val
0
votes
4
answers
40
views
Basic php question - saving "options" and retreiving them with php/mysql
Hi This is a pretty basic question, that I hope can help others. I'm very new at php/mysql. I'm designing a website where the administrator can…
php
mysql
variables
asked
May 3, 2011 9:01 pm CDT
Andypandy
Pages
:
1
|
2
|
3
|
4
|
5
>
88
variables
Tagged:
variables
Related Tags
mysql
× 62
php
× 49
regex
× 15
sql
× 7
javascript
× 7
select
× 5
database
× 4
query
× 4
session
× 4
environment
× 3
arrays
× 3
string
× 3
join
× 3
update
× 3
function
× 3
.htaccess
× 3
html
× 3
jquery
× 3
search
× 2
sqlite
× 2
bash
× 2
echo
× 2
codeigniter
× 2
if-statement
× 2
apache
× 2
python
× 2
insert
× 2
preg-match
× 1
count
× 1
English
Russian
Copyright 2007 - 2012
Best unofficial Apache Server developers community
Privacy policy