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

database php

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
0
votes
1 answer
45 views

How create best schema database with ratings system and available in month?

i will create schema the database MySQL. There are username, password etc and rating system and available in month. Standard it looks like this: id…
asked June 25, 2011 7:03 am CDT
Tifan33
1
vote
1 answer
42 views

Selecting $_POST with a foreach statement returns error

So I have a form that can increase and decrease according to what the user adds to the page. To be able to handle unknown posts, I have set up a…
asked June 24, 2011 2:39 pm CDT
Chris
0
votes
1 answer
37 views

MySQL: Changing databases in the middle of a script

I've never had to do this before, so really I just want to check and see if I'm approaching this the correct way. I need to switch databases in the…
asked June 24, 2011 11:18 am CDT
kylex
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 =…
asked June 24, 2011 10:40 am CDT
m3tsys
0
votes
5 answers
35 views

Is it ok to store postal addresses as one text field, rather than street1, street2, etc.?

I need to store postal addresses for my users, but I don't plan on really doing much with these addresses other than displaying it (won't be…
asked June 23, 2011 5:12 pm CDT
blacktie24
1
vote
0 answers
30 views

Multiple Trees with Hierarchical Data (Left and Right values)

What issues are associated with maintaining multiple tress within a single table? The motivation for having multiple trees is to avoid excessive…
asked June 23, 2011 5:00 pm CDT
Lea Hayes
-7
votes
1 answer
41 views

Automatically refresh the webpage just after a new database entry

I need to show the updated data as soon as the new entry is added to it and the user doesn't need to refresh the page by himself. People told me to…
asked June 23, 2011 3:34 pm CDT
Bernardo
0
votes
2 answers
42 views

Converting MySQL connector to PDO

After taking some advice from people on here in a previous thread, I'm trying to convert my MySQL to PDO, but am running into some issues. Here is…
asked June 23, 2011 10:51 am CDT
bob_cobb
1
vote
1 answer
23 views

How to allow a column variable to be changed only once with PHP/MySQL ?

I have a table in my MySQL DB with information from each user that they submitted during registration. I would now like to allow users to change one…
asked June 23, 2011 8:22 am CDT
NeedExpertHelp
2
votes
2 answers
25 views

Is many tables an efficient database design for my purposes?

I need to create a database to store details about what regions game characters have been in and how they got there. I am planning to store the…
asked June 22, 2011 7:40 pm CDT
iceimperator12
0
votes
0 answers
27 views

Problem connecting to remote mysql database using php

If I open up a cmd shell and run >mysql --host=12.34.56.78 --port=1234 --user=myuser --password=mypasword mydb I can successfully connect to the…
asked June 22, 2011 2:19 pm CDT
whoabackoff
-1
votes
0 answers
31 views

How to maintain this database

I have a database for my product and in this database i have 2 table 1. product detail and 2. product feathers . There are many feathers for one…
asked June 22, 2011 8:14 am CDT
Md.abdullah Al hady
0
votes
1 answer
33 views

I want to change comment using query in phpMyAdmin

I have a table called phase with following fields. ID,Name. I want to change its comment using query. ALTER TABLE phase CHANGE Name Name…
asked June 22, 2011 4:12 am CDT
Abhilash
0
votes
5 answers
36 views

[PHP] Result returned less 1 (minus 1) from the exact row available in database

<?php include 'db.php'; $subassetcategory=$_GET["subassetcategory"]; if ($subassetcategory == "all") { $sql="SELECT * FROM asset_subasset"; }…
asked June 22, 2011 12:15 am CDT
crystalz
0
votes
1 answer
24 views

Fetching string from database in php only returns part before a space

i am trying to display a varchar(40) from database to php page field. the value in database is "test address" but when it displays on page it only…
asked June 21, 2011 11:14 am CDT
jaminator
0
votes
0 answers
33 views

IP address storing in mysql database

what is the right field type for IP address in mysql? and what is the right way of storing it?
asked June 21, 2011 10:22 am CDT
user552828
3
votes
2 answers
28 views

Storing Website Data - JSON vs SQL

I'm managing a website that is built from the ground-up in PHP and uses AJAX extensively to load pages within the site. Currently, the 'admin'…
asked June 21, 2011 8:26 am CDT
skoshy
Pages : 1 | 2 | 3 | 4 | 5 > [25]
499

database php

Tagged: database + 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