Click here to Skip to main content
15,914,225 members
Home / Discussions / Database
   

Database

 
GeneralRe: How to get only one record ... Pin
Niladri_Biswas19-Jun-09 3:44
Niladri_Biswas19-Jun-09 3:44 
GeneralRe: How to get only one record ... Pin
Kyudos21-Jun-09 11:08
Kyudos21-Jun-09 11:08 
AnswerRe: How to get only one record ... Pin
Niladri_Biswas19-Jun-09 3:54
Niladri_Biswas19-Jun-09 3:54 
GeneralRe: How to get only one record ... Pin
Kyudos21-Jun-09 11:12
Kyudos21-Jun-09 11:12 
GeneralRe: How to get only one record ... Pin
Eddy Vluggen21-Jun-09 13:04
professionalEddy Vluggen21-Jun-09 13:04 
GeneralRe: How to get only one record ... Pin
Kyudos22-Jun-09 11:08
Kyudos22-Jun-09 11:08 
QuestionMySQL+PHP - Problem with Query not showing all results Pin
47_MasoN_4718-Jun-09 11:32
professional47_MasoN_4718-Jun-09 11:32 
AnswerRe: MySQL+PHP - Problem with Query not showing all results Pin
smcnulty200019-Jun-09 0:37
smcnulty200019-Jun-09 0:37 
You could show us an example of some of the records that are not getting displayed.

Check to see if nulls are getting in the way.

Another thing you can do is take the order by clause and turn it into part of your select statement output to see what the computer is seeing for those seemingly random records.

Something like this, although you might have to clean up the syntax to get it to run.

$request2 = mysql_query("SELECT tablename.*, FIND_IN_SET('urgent', priority), FIND_IN_SET('high', priority), priority, status FROM tablename WHERE status IN('In Progress','Pending') ") or die(mysql_error());

This way you might have a clearer view of why a given record gets dropped.

_____________________________
Give a man a mug, he drinks for a day
Teach a man to mug... -Scott M.


GeneralRe: MySQL+PHP - Problem with Query not showing all results Pin
47_MasoN_4719-Jun-09 4:25
professional47_MasoN_4719-Jun-09 4:25 
QuestionWhat I'm I missing? Pin
DJ Matthews18-Jun-09 4:07
DJ Matthews18-Jun-09 4:07 
AnswerRe: What I'm I missing? Pin
David Mujica18-Jun-09 4:38
David Mujica18-Jun-09 4:38 
GeneralRe: What I'm I missing? Pin
DJ Matthews18-Jun-09 4:48
DJ Matthews18-Jun-09 4:48 
AnswerRe: What I'm I missing? Pin
Luc Pattyn18-Jun-09 4:50
sitebuilderLuc Pattyn18-Jun-09 4:50 
GeneralRe: What I'm I missing? Pin
DJ Matthews18-Jun-09 4:53
DJ Matthews18-Jun-09 4:53 
GeneralRe: What I'm I missing? Pin
Luc Pattyn18-Jun-09 5:04
sitebuilderLuc Pattyn18-Jun-09 5:04 
Questionsql server 2008 to 2000 Pin
Ebube18-Jun-09 2:38
Ebube18-Jun-09 2:38 
AnswerRe: sql server 2008 to 2000 Pin
Colin Angus Mackay18-Jun-09 2:42
Colin Angus Mackay18-Jun-09 2:42 
QuestionHow many primary key constraints can we have in a table of ms-access? Pin
sivakumar.mariappan18-Jun-09 0:31
sivakumar.mariappan18-Jun-09 0:31 
AnswerRe: How many primary key constraints can we have in a table of ms-access? Pin
Eddy Vluggen18-Jun-09 3:07
professionalEddy Vluggen18-Jun-09 3:07 
AnswerRe: How many primary key constraints can we have in a table of ms-access? Pin
riced18-Jun-09 7:03
riced18-Jun-09 7:03 
AnswerRe: How many primary key constraints can we have in a table of ms-access? Pin
Niladri_Biswas19-Jun-09 4:03
Niladri_Biswas19-Jun-09 4:03 
QuestionCreating primary key constraints on a table using VB.NET Pin
sivakumar.mariappan18-Jun-09 0:30
sivakumar.mariappan18-Jun-09 0:30 
AnswerRe: Creating primary key constraints on a table using VB.NET Pin
riced18-Jun-09 7:15
riced18-Jun-09 7:15 
QuestionHow do I do that? [modified] Pin
kripa2117-Jun-09 22:48
kripa2117-Jun-09 22:48 
AnswerRe: check all values in select qry Pin
Colin Angus Mackay17-Jun-09 23:00
Colin Angus Mackay17-Jun-09 23:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.