This topic is locked

Not All records show

10/24/2007 11:04:15 AM
PHPRunner General questions
M
mkyle1 author

Hi,
I have issue where I have 1863 records in a mysql table. However when my phprunner report runs it will only displays the first 1687 records on 85 pages. Is there a setting I am missing somwhere?
Thanks, Martin

Sergey Kornilov admin 10/24/2007

Martin,
we don't have to an option to show 1687 records only. What SQL query do you use?

M
mkyle1 author 10/25/2007

Hi,
thanks for the quick reply. My sql query is below:
[codebox]SELECT `timestamp`.`urn`,

`timestamp`.`location`,

`timestamp`.`timestamp`,

`timestamp`.`timestamp1`,

`timestamp`.`userId`,

`timestamp`.`time_number`,

`timestamp`.`email_prev_u`,

`timestamp`.`email_prev_p`,

`timestamp`.`phone1`,

`timestamp`.`phone2`,

`driver`.`fName`,

`driver`.`sName`

FROM `timestamp`

INNER JOIN `driver`

ON `timestamp`.`urn`=`driver`.`urn`

[/codebox]
Thanks in advance
Martin

Alexey admin 10/25/2007

Martin,
change INNER JOIN to LEFT JOIN in your SQL.
You can find more info on using Joins here:

http://www.webcheatsheet.com/sql/interacti...al/sql_join.php

M
mkyle1 author 10/26/2007

Martin,

change INNER JOIN to LEFT JOIN in your SQL.
You can find more info on using Joins here:

http://www.webcheatsheet.com/sql/interacti...al/sql_join.php


Hi,
tried the above and still the same issue. Any other ideas?
Thanks, Martin

J
Jane 10/26/2007

Martin,
I recommend you to do the following:

  • turn on debug mode in the include/dbcommon.php file:
    $dDebug=true;


  • open your application in browser
  • and compare resulting SQL query with query on the Edit SQL query tab.
    If it doesn't help publish project on the Demo Acount and send a URL to your pages to [email=support@xlinesoft.com]support@xlinesoft.com[/email].

M
mkyle1 author 10/26/2007

Hi,
thanks for your help. It now seems to be working. I think there was a server cache issue which caused the delay in the update showing.
Thanks again
Martin