Jump to content

Recommended Posts

I have this SQL statement;

 

$confirmDetails = mysql_query("SELECT * FROM orders INNER JOIN reference ON orders.id = reference.box WHERE reference.refNum = $getRefNum");

 

...which works, or did work fine. Today I have a strange problem...

 

... it will only fetch the 6 most recent entries from the database.

 

Does anyone have any idea what this could be? I'm guessing its a wierd MySQL issue but I'm a bit in the dark on these sort of things as I am new to it all really.

 

Any help would be great

 

Regards

 

Harley

Link to comment
https://forums.phpfreaks.com/topic/52263-sql-inner-join-problem/
Share on other sites

definately a coding issue -- in all my years of programming ive never had a database issue be the cause of something like this...  this type of things is usually a problem with the coding.

 

Even if it ends out to be something with the database, the code is the first place i would look to for an answer....

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.