For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > February 2006 > cvs: phpweb / results.php









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpweb / results.php
Nuno Lopes

2006-02-28, 7:56 am

nlopess Tue Feb 28 11:43:32 2006 UTC

Modified files:
/phpweb results.php
Log:
fix link to other results pages

http://cvs.php.net/viewcvs.cgi/phpw...7&diff_format=u
Index: phpweb/results.php
diff -u phpweb/results.php:1.6 phpweb/results.php:1.7
--- phpweb/results.php:1.6 Tue Feb 28 08:23:28 2006
+++ phpweb/results.php Tue Feb 28 11:43:32 2006
@@ -1,5 +1,5 @@
<?php
-// $Id: results.php,v 1.6 2006/02/28 08:23:28 rasmus Exp $
+// $Id: results.php,v 1.7 2006/02/28 11:43:32 nlopess Exp $
$_SERVER['BASE_PAGE'] = 'results.php';
include $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
#include $_SERVER['DOCUMENT_ROOT'] . '/include/loadavg.inc';
@@ -92,7 +92,7 @@
if($start > $res['ResultSet']['totalResultsAvailable
']) {
break;
}
- printf('<li><a href="/results.php?q=%s&start=%d&p=$scope">%d</a></li>', $q, $start, $z);
+ printf('<li><a href="/results.php?q=%s&start=%d&p=%s">%d</a></li>', $q, $start, $scope, $z);
$start += $per_page;
}
echo '</ul></div>';
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com