Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

php

0
votes
3 answers
142 views

Displaying message when no results found in PHP MySQL search

I have a PHP search script which queries a MySQL database. Currently, when no results are displayed the script shows and error. How can I make it…
asked June 25, 2011 2:18 pm CDT
Callum Whyte
1
vote
4 answers
129 views

Returning 5 results in PHP MySQL search

I want to only display 5 results from my database with my PHP search script. How can I do this? My PHP code is: <?php…
asked June 25, 2011 1:59 pm CDT
Callum Whyte
-2
votes
1 answer
136 views

MongoDB OR query in PHP

What is the correct code to compare username and experience using OR? $regex = new MongoRegex("/".$name."*/i"); $regex2 = new…
asked June 25, 2011 1:47 pm CDT
mogool
2
votes
1 answer
99 views

Suggestion for upgrading VB6 app w/ good printing support

I wrote an application on VB6/Access for a retail shop almost 8 yrs ago. They are still using it, and now they are asking for changes/upgrade and…
asked June 25, 2011 1:28 pm CDT
palaniraja
0
votes
1 answer
65 views

Facebook live search using php jquery mysql, showing 5 results how to show the rest?

hello i'v built a search, using MySQL, PHP and jQuery, this is the search query using Prepared Statement.. $sql = "SELECT singer_name FROM singers…
asked June 25, 2011 12:48 pm CDT
Pinokyo
1
vote
2 answers
47 views

Is mysql_real_escape_string() sufficient for a MySQL REGEXP?

Could $user_input in the following code be chosen to make the MySQL query not behave as expected? <? $regexp = mysql_real_escape_string(…
asked June 25, 2011 12:45 pm CDT
Tim Nordenfur
0
votes
1 answer
63 views

Mongodb: client side user authentication security issue

I am using Mongodb Java driver for my Java client application. it needs to connect to mongodb server running remotely. I am concerned that someone…
asked June 25, 2011 12:30 pm CDT
Kim Jong Woo
0
votes
3 answers
46 views

Is it preferred to create tables in mysql using a third party application (phpmyadmin, TOAD, etc...) versus php?

Is it preferred to create tables in mysql using a third party application (phpmyadmin, TOAD, etc...) instead of php? The end result is the same, I…
asked June 25, 2011 11:57 am CDT
LedZeppelin
0
votes
3 answers
66 views

Different table for insert and select

In order to improve insert performance and load on server, I've decided to divide a large table into 2. A big table which will only be used for…
asked June 25, 2011 11:07 am CDT
Noam
0
votes
2 answers
53 views

Sql insert statement sometimes working other times not working

Im building an application and Im having a bizarre issue where sometimes an sql statement will work and the very next call the exact same sql…
asked June 25, 2011 11:05 am CDT
edmund
3
votes
3 answers
63 views

Best way to store similar music

I have millions of songs, each song has its unique Song ID. Corresponding to each Song ID I have some attributes like song name, artist name, album…
asked June 25, 2011 10:38 am CDT
Kevindra Singh
-3
votes
0 answers
55 views

What sort of server specs do I need?

I'm going to create a php web application using mysql for a business in the future and I want to know what sort of server specs do I need? I will be…
asked June 25, 2011 10:14 am CDT
zentenk
2
votes
2 answers
50 views

Extracting a 'word' matching certain criteria.

I have the following string: SEDCVBNT S800BG09 7GFHFGD6H 324235346 RHGF7U S8-00BG/09 7687678 and the following regex:…
asked June 25, 2011 9:59 am CDT
Dave
1
vote
1 answer
55 views

Is it necessary to validate $_SERVER['REMOTE_ADDR']?

assuming that php is running in web mode via cgi / mod_php / etc... is it safe to assume that $_SERVER['REMOTE_ADDR'] will exist, and further more,…
asked June 25, 2011 9:01 am CDT
anonymous-one
1
vote
1 answer
49 views

How to Insert a datetime in the future in PHP/mysql ?

I have a database table with a datetime column. Everything works fine if a make an Insert using the current date : INSERT INTO table VALUES…
asked June 25, 2011 9:00 am CDT
sun
0
votes
0 answers
53 views

Sql file import breaking at queries containing special characters

The import breaks in both phpmyadmin and bigdump. The backup is created using a php script I found online: <?php set_time_limit(0);…
asked June 25, 2011 8:43 am CDT
natli
0
votes
3 answers
37 views

MySQL Treats Update Parameters a columns

I have a PHP Script with the following code: $sql = "UPDATE tbl_p2e_place SET `listingName` = $listing_name, `listingDescription` =…
asked June 25, 2011 8:10 am CDT
RaVen
0
votes
0 answers
36 views

Change auto increment for the database

How to make the new rows to be 1, 2, 3 and the old to be .. the last ones, i mean to reverse the auto increment not to begin with the first added…
asked June 25, 2011 8:01 am CDT
changwarez
0
votes
1 answer
37 views

PHP: regex match phrase not containing specific word

I'm getting tired of looking around for a close enough example, time for some quick help! Here is my code: preg_match_all(…
asked June 25, 2011 7:59 am CDT
Dark Slipstream
0
votes
1 answer
39 views

PHP MySQL InnoDB Unix Windows case sensitive table names problem

The problem is that deployment MySQL DB is on Linus, ma development MySQL DB on Windows. DB is InnoDB. So arose the problem with case-sensitive…
asked June 25, 2011 7:59 am CDT
Lorenzo Manucci
Pages : 1 | 2 | 3 | 4 | 5 > [590]
11790

php

Tagged: php
Related Tags
mysql × 7748
regex × 1423
apache × 1113
sql × 642
.htaccess × 554
database × 499
html × 403
javascript × 321
php5 × 310
query × 300
mod-rewrite × 278
jquery × 265
codeigniter × 250
http × 229
ajax × 212
arrays × 203
pdo × 186
preg-replace × 165
phpmyadmin × 142
preg-match × 136
linux × 135
nginx × 135
apache2 × 134
wordpress × 133
memcached × 120
postgresql × 117
mongodb × 116