php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4547 return page zero length after executing nested select.
Submitted: 2000-05-22 15:02 UTC Modified: 2000-08-27 16:50 UTC
From: gk at svt dot unity dot net Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 4.0 Release Candidate 2 OS: Linux RH 6.2
Private report: No CVE-ID: None
 [2000-05-22 15:02 UTC] gk at svt dot unity dot net
$id_tarif=10;  //for examle

while $row < 20 {

$t=sybase_query("select name from tarif_plans where id_plan in (select id_plan from tarif where id_tarif=$id_tarif)",1);

$data_t=sybase_fetch_array($t);
$plan=$data_t[0];

$row++
}
If $row >1, script return zero length page 8-9 times from 10.
Problem is in nested select.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-20 03:38 UTC] sniper@php.net
Does this problem still persist with more recent version of php (from CVS or http://snaps.php.net) ??

--Jani
 [2000-08-27 16:50 UTC] sniper@php.net
Closed. User reported problem fixed.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 02:01:29 2024 UTC