Recordset pages show up blank

When my recordset is returned, the first page shows up
perfectly. If I have, for example, 22 records, they will all show
up on that page. But, if I restrict each page to 10 records, the
first page shows up with 10 records, but the second and third page
will be blank. And when I navigate back to the first page, it too
is now blank.
There are multiple dynamic elements in a single cell, but
this is working fine ( at least on the first page ).
The Navigation Bar works fine and the Navigation Status also
works fine ( for example, Page 2 will show "Records 11 - 20 of 22"
), but the page is blank. What is going on here!
I am using MySQL, Apache, PHP, DWCS3 and Windows Vista.
Attach Code
<?php require_once('Connections/connB.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType,
$theDefinedValue = "", $theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue)
: $theValue;
$theValue = function_exists("mysql_real_escape_string") ?
mysql_real_escape_string($theValue) :
mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" :
"NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) .
"'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" :
"NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue :
$theNotDefinedValue;
break;
return $theValue;
$currentPage = $_SERVER["PHP_SELF"];
$maxRows_Recordset1 = 10;
$pageNum_Recordset1 = 0;
if (isset($_GET['pageNum_Recordset1'])) {
$pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
$startRow_Recordset1 = $pageNum_Recordset1 *
$maxRows_Recordset1;
$varstate_Recordset1 = "1";
if (isset($_POST['state'])) {
$varstate_Recordset1 = $_POST['state'];
$varbusinessName_Recordset1 = "1";
if (isset($_POST['businessName'])) {
$varbusinessName_Recordset1 = $_POST['businessName'];
$varcity_Recordset1 = "1";
if (isset($_POST['city'])) {
$varcity_Recordset1 = $_POST['city'];
$varcategory_Recordset1 = "1";
if (isset($_POST['category'])) {
$varcategory_Recordset1 = $_POST['category'];
mysql_select_db($database_connB, $connB);
$query_Recordset1 = sprintf("SELECT states.state,
categories.category, cities.city, customers.businessName,
customers.website, customers.email, images.image, images.printedBy
FROM states, categories, cities, customers, images WHERE %s =
states.state AND states.stateID = customers.stateID AND %s =
cities.city AND cities.cityID = customers.cityID AND %s =
categories.category AND categories.categoryID = images.categoryID
AND images.customerID = customers.customerID OR %s LIKE
customers.businessName AND customers.cityID = cities.cityID AND
customers.stateID = states.stateID AND customers.customerID =
images.customerID AND images.categoryID = categories.categoryID",
GetSQLValueString($varstate_Recordset1,
"text"),GetSQLValueString($varcity_Recordset1,
"text"),GetSQLValueString($varcategory_Recordset1,
"text"),GetSQLValueString($varbusinessName_Recordset1, "text"));
$query_limit_Recordset1 = sprintf("%s LIMIT %d, %d",
$query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
$Recordset1 = mysql_query($query_limit_Recordset1, $connB) or
die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
if (isset($_GET['totalRows_Recordset1'])) {
$totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
} else {
$all_Recordset1 = mysql_query($query_Recordset1);
$totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
$totalPages_Recordset1 =
ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
$queryString_Recordset1 = "";
if (!empty($_SERVER['QUERY_STRING'])) {
$params = explode("&", $_SERVER['QUERY_STRING']);
$newParams = array();
foreach ($params as $param) {
if (stristr($param, "pageNum_Recordset1") == false
stristr($param, "totalRows_Recordset1") == false) {
array_push($newParams, $param);
if (count($newParams) != 0) {
$queryString_Recordset1 = "&" .
htmlentities(implode("&", $newParams));
$queryString_Recordset1 =
sprintf("&totalRows_Recordset1=%d%s", $totalRows_Recordset1,
$queryString_Recordset1);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<div id="mainContent">
<h2> Search Results:</h2>
<p> </p>
<table width="641" height="184" border="1">
<tr>
<td width="345">Company Information</td>
<td width="280">Business</td>
</tr>
<?php do { ?>
<tr>
<td height="156"><span
class="style3"></span>
<p class="style9"><?php echo
$row_Recordset1['category']; ?></p>
<p class="style9"><?php echo
$row_Recordset1['businessName']; ?> <span class="fltrt
style4"><?php echo $row_Recordset1['website'];
?></span></p>
<p><span class="style4"><?php echo
$row_Recordset1['city']; ?></span>, <span
class="style4"><?php echo $row_Recordset1['state']; ?>
</span><span class="fltrt style4"><?php echo
$row_Recordset1['email']; ?></span></p>
<p class="style4">
<p class="style4"> </p></td>
<td><img src="images/<?php echo
$row_Recordset1['image']; ?>" name="rs1image" id="rs1image"
/>
<p class="style4"><span class="fltrt"><?php
echo $row_Recordset1['printedBy'];
?></span></p></td>
</tr>
<?php } while ($row_Recordset1 =
mysql_fetch_assoc($Recordset1)); ?>
</table>
<p class="style4"><?php echo
$row_Recordset1['image']; ?></p>
<p> </p>
<p> 
<table border="0">
<tr>
<td><?php if ($pageNum_Recordset1 > 0) { // Show
if not first page ?>
<a href="<?php printf("%s?pageNum_Recordset1=%d%s",
$currentPage, 0, $queryString_Recordset1); ?>"><img
src="images/First.gif" border="0" /></a>
<?php } // Show if not first page ?>
</td>
<td><?php if ($pageNum_Recordset1 > 0) { // Show
if not first page ?>
<a href="<?php printf("%s?pageNum_Recordset1=%d%s",
$currentPage, max(0, $pageNum_Recordset1 - 1),
$queryString_Recordset1); ?>"><img
src="images/Previous.gif" border="0" /></a>
<?php } // Show if not first page ?>
</td>
<td><?php if ($pageNum_Recordset1 <
$totalPages_Recordset1) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_Recordset1=%d%s",
$currentPage, min($totalPages_Recordset1, $pageNum_Recordset1 + 1),
$queryString_Recordset1); ?>"><img src="images/Next.gif"
border="0" /></a>
<?php } // Show if not last page ?>
</td>
<td><?php if ($pageNum_Recordset1 <
$totalPages_Recordset1) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_Recordset1=%d%s",
$currentPage, $totalPages_Recordset1, $queryString_Recordset1);
?>"><img src="images/Last.gif" border="0" /></a>
<?php } // Show if not last page ?>
</td>
</tr>
</table>
</p>
<p> 
Business <?php echo ($startRow_Recordset1 + 1) ?> -
<?php echo min($startRow_Recordset1 + $maxRows_Recordset1,
$totalRows_Recordset1) ?> of <?php echo $totalRows_Recordset1
?> </p>
<!-- end #mainContent --></div>
<!-- This clearing element should immediately follow the
#mainContent div in order to force the #container div to contain
all child floats --><br class="clearfloat" />
<div id="footer">
<p>Footer</p>
<!-- end #footer --></div>
<!-- end #container --></div>
</body>
</html>
<?php
mysql_free_result($Recordset1);
?>

I found the answer to my question at
http://friendsofed.infopop.net/
The quick answer is to change the Form Method and the
Recordset Variables from "POST" to "GET".

Similar Messages

  • App Store says there is one update available. But the Updates page shows a blank screen. Have tried syncing with iTunes on mac

    App Store says there is one update available. But the Updates page shows a blank screen. Have tried syncing with iTunes on mac as well. But nothing seems to work. Am using Iphone 5 6.1.4. Help

    Next time that happens while on WiFi, turn WiFi off in settings, wait about 30 seconds or so, then turn WiFi back on. Sometimes you have to do this two or three times, but this fixes that issue as well.

  • Admin Console page shows up blank

    the following page on our server shows up blank when it should show the console:
    http://servername:7578/businessobjects/enterprise11/adminlaunch/

    Hi  There is windows batch script which uses local variable %DATE%  Date format behaves differently across environment  In Preproduction : Powercenter9.5.1hotfix2 Windows NT 2008 date format for all users in server machine dd/mm/yyyy (checked regedit/allusers/default/international) Integration service data format day dd/mm/yyyy environment variable INFATOOL_DATEFORMAT is not set  The format of this variable is dd/mm/yyyy when batch file is run directly. The format of this variable is dd/mm/yyyy when batch file is run from Informatica.  Production : Powercenter9.6 Windows NT 2012 date format for all users in server machinedd/mm/yyyy Integration service data format day dd/mm/yyyy environment variable INFATOOL_DATEFORMAT is not set  The format of this variable is dd/mm/yyyy when batch file is run directly. The format of this variable is day dd/mm/yyyy when batch file is run from Informatica.   If environment variable INFATOOL_DATEFORMAT is set in production,even then date format is not set to dd/mm/yyyy  Where could the issue be?  Thanks Kani

  • In plan view my pages show up blank?

    When in plan view my pages are blank. This is only happening on one website. The others all work as advertised.

    Look at the screenshot. It is German, but …

  • The pages showing blank/broken/flickered page

    Hello Mozilla team,
    I got these issues from about 3 days ago. My pages shows a blank or broken or flickered pages. I opened random sites and it keeps happened. Do you have any ideas why it happened?
    I already tried to clear my Firefox caches and cookies, update the flash player, and update my VGA driver but it still happened.
    I attached a snapshot here.
    Look forward to hear from you.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    You need to close and restart Firefox after toggling this setting.
    *https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration

  • Flash Website Showing Up Blank in IE 6 and Mozilla

    Hi, I created the following flash-based website for a client
    using Flash CS3:
    http://distance.uaf.edu/ferpa/ferpa.html
    However, the client is complaining when they go to view it in
    Mozilla 2.0.0.1 1 or IE 6 the page shows up blank. Anyone know how
    I might remedy this?

    Baal Bebb wrote:
    > Hi, I created the following flash-based website for a
    client using Flash CS3:
    >
    >
    http://distance.uaf.edu/ferpa/ferpa.html
    >
    > However, the client is complaining when they go to view
    it in Mozilla 2.0.0.1
    > 1 or IE 6 the page shows up blank. Anyone know how I
    might remedy this?
    Maybe client doesn't have the latest player.
    It seem fine here, I use Moz 2 and IE 6
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • After installing or upgrading to Firefox 31, starting Firefox does not show homepage, customize shows a blank page and the option button does not work

    I am the Windows admin for a university department and install PCs with Firefox all the time. This problem does not happen with every PC I maintain, only a select few (different model laptops with Windows 8.1 and update 1.) Until today, it only happened with new user accounts (with admin rights) that I setup on the laptops for our staff. Today this happened with The Administrator account while setting up a new laptop. In all cases so far, I install Windows from a saved image that was created using sysprep.
    I have tried the many suggestions of resetting Firefox, deleting the users Firefox profile, deleting the users Windows profile, uninstalling/reinstalling Firefox, uninstalling/reinstalling Firefox and the latest Java, but nothing helps. After uninstalling, I run an app to delete temp files and caches and will even manually remove registry keys HKLM\SOFTWARE\Mozilla and HKCU\SOFTWARE\Mozilla. Plus I reboot and make sure the install folder is deleted after uninstall.
    Results are the same: after installing Firefox 31, the initial setup window for migrating IE and/or Chrome pops up and after clicking the Finish button, Firefox starts, but does not show the initial new user page, only a blank page. Clicking on the Options button (3 bars) does nothing. Right-clicking in the proper area, the popup menu appears so I can choose to Customize, but that only opens another tab with about:customize in the URL and the page is blank. From the right-click popup menu, I can enable the Menu Bar and get to Options from that.
    My latest attempt has helped a little. I uninstalled Firefox 31, cleaned up, deleted user Firefox profile, rebooted and then installed Firefox 30. Inital startup runs, and tells me I'm not up to date, and the Options button works. But I still cannot customize.
    I then upgraded to Firefox 31, but then it's back to no startup page, no options button and no customize. I can downgrade to 30 and get all but customize working again.
    Only Addon is one for McAfee Scriptscan for Firefox 15.1.0, which just after installing is disabled.
    Any help would be appreciated. Thank you.

    Ok. I disabled hardware acceleration. The only extension is the McAfee Scriptscan for Firefox 15.1.0, which was already disabled. I then disabled all plugins (Acrobat, Google Update, Intel Identity Protection (2x), Java Deployment Toolkit, Java Platform, MS Office 2013, Quicktime, Shockwave, Silverlight), which were all up to date.
    Normal or safe mode still has same result. No startup, no option button and no customize.
    Thanks for your help. Got any other suggestions?

  • Hi, I've just installed mavericks but my HPc4180 will not print and is showing a 'blank' page in previews can anyone help me?

    Hi, I've just installed mavericks but my HPc4180 will not print and is showing a 'blank' page in previews can anyone help me?

    A few suggestions for you:
    Try:
    uninstall all HP utilities or other HP apps on your Mac
    see if there is updated software on the HP website
    go to System Preferences > Printers & Scanners > Print
    control-click on your printer in the column on the left
    select "Reset Printing System..." and "reset" in the dialog that follows
    Do a factory reset on your printer
    go back to printers & scanners and it should see your printer and download a driver for it from Apple

  • While trying to open the mail , it shows a blank screen then went to home page.

    while trying to open the mail , it shows a blank screen then went to home page.

    Hello there, Nina2800.
    It sounds like you are having issues connecting to the iTunes Store and getting a blank page.  The following Knowledge Base article offers up some great steps for verifying connectivity:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Troubleshooting on a Mac
    If you haven't been able to connect to the iTunes Store, a software conflict or your internet service provider (ISP) may be blocking your access. 
    Update iTunes to the latest version.
    If you have a firewall, your settings may be preventing you from connecting to the iTunes Store. To configure your firewall, please refer to the "Blocked by firewall" section in this article.
    You may need to reset your keychain. Connection issues are occasionally caused by keychain issues. Click here to find out how to use Keychain First Aid to resolve any issues with your keychain.
    If you are receiving a specific error message you may want to see, the "Specific Conditions and Alert Messages" section in this article as needed.
    If the issue still persists, contact your internet service provider and confirm that the ports and servers in this article are enabled over your network.
    Additionally, this article provides some additional recomendations if the issue persists:
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • In Options -- General -- I want the option to "Show my windows and tabs from last time" AND "Show my homepage", but that choice isn't given. When I open a new tab, I'd like to see my iGoogle page, not a blank screen. Hope you can help. D

    In Options --> General --> I want the option to "Show my windows and tabs from last time" '''''AND''''' "Show my homepage", but that choice isn't given. When I open a new tab, I'd like to see my iGoogle page, not a blank screen. Hope you can help. D

    You can middle-click or Ctrl left-click the Home button on the Navigation toolbar to open the Home page in a new tab.
    You can look at one of these extensions:
    * NewTabURL : https://addons.mozilla.org/firefox/addon/newtaburl/
    * New Tab Homepage : https://addons.mozilla.org/firefox/addon/new-tab-homepage/

  • When I open a new tab, the new tab used to show shots of 6 or so of the last sites I'd viewed, so I could easily click on one and go to it. Now it shows a blank tab and I have to type the URL of the page I want. How can I change it back?

    When I open a new tab, the new tab used to show shots of 6 or so of the last sites I'd viewed, so I could easily click on one and go to it. Now it shows a blank tab and I have to type the URL of the page I want. How can I change it back?

    Did you have the Google Toolbar installed?
    * http://www.google.com/support/toolbar/bin/answer.py?answer=115561 Web-browsing tools : Google new tab page and most visited websites
    Other extension that have a similar feature:
    *Speed Dial: https://addons.mozilla.org/firefox/addon/4810
    *Fast Dial: https://addons.mozilla.org/firefox/addon/5721

  • With brand new iphone 4s when plugging into computer itunes shows a blank page with an apple logo in top left and a small lock in the top right. right clicking iphone under devices shows only eject.

    with brand new iphone 4s when plugging into computer itunes shows a blank page with an apple logo in top left and a small lock in the top right. right clicking iphone under devices shows only eject.

    Having same issue here:
    https://discussions.apple.com/message/19043181#19043181

  • New hp envy all in one printer shows a blank page after scanning

    I just went through this problem with my old printer and hp sent me a refurbished (new) one. I go to scan something into my computer and it won't scan. It shows a blank page on preview. I checked the settings and they all seem to be right. I am not wanting to spend 3 hours with support and another 3 weeks to get a new printer. Can you help me?

    Please check the copying function. Is that blank.
    If the printer is copying blank there could be something else wrong with the Envy 120
    We have had reports of pages being placed upside down.
    The Envy 120 scans with the original facing up.
    Russ@HP
    Say thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as Accepted Solution
    (Although I am employed by HP, I am speaking for myself and not for HP)
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++

  • I am creating a form, it shows 1 page, but when I save it as a PDF Form there are 2 pages, 1 is blank. How do I get rid of the blank page in the form?

    I am creating a form, it shows 1 page, but when I save it as a PDF Form there are 2 pages, 1 is blank. How do I get rid of the blank page in the form?

    Hi,
    You may open the original form in FormsCentral and toggle to “Page View” at the lower right corner. Adjust the page content to make sure no page breaks in this view.
    Thanks,
    Wenlan

  • Dreamweaver CC causes wordpress localhost to show a blank page

    I have wordpress set  up using WAMP as the local server and it has been working with no problem. Win7 64 bit.
    I have just installed Dreamweaver CC and set up testing sites using HTTP://localsite/sitename for several 'normal' website I manage and that was fine i could see them in live view.
    I then added a local test site to view the website I manage under wordpress and when I went to live view all i could see was a blank page.
    I then closed dreamweaver and just opened my local wordpress site using HTTP://localhost/wordpress and that too just showed a blank page.
    I have no problem getting into my wordpress site via the local dashboard but cannot view any of the pages.
    I searched the web and tried lots of workarounds but nothing worked. in the end i uninstalled worpress, deleted the wp databse and reinstalled everything with no problem.
    Localhost was working with wrodpress again. However as soon as I tried to access the local wordpress site with dreamweaver the problem returned.
    This is very frustrating as recreating a wordpress site is not as simple as just copying a load of HTML and PHP pages.
    I should add there are no errors shown.
    Anyone any ideas?

    Hi Nancy,
    thanks for taking the time to reply but unfortunately it does not help.
    I have my wordpress files and themes in the correct directories for WAMP. I have been using WAMP to test my wordpress site for some time but opening up the PHP files in brackets to write the code. I have several non wordpress websites I maintain which are written in normal HTML, PHP and CSS and I like to code manually. It is useful tough to write the code in Brackets / Dreamweaver to check syntax and adjust the CSS on the fly.
    Everything was working fine until I installed dreamweaver and set up a testing site as you indicate above and now all I get is a blank page not only in live view in dreamweaver but also if I simply type HTTP://loclahost/worpress directly into a browser window. There are no error meesages though not even a 404 'NOT Found' message, just a blank page. I can get into the dashborad though by typing http://localhost/wordpress/wp-admin/ and all my pages and content is there but if I try to view a page all i get is the same blank page.
    As I said I said I totally unistalled wordpress including the database and reinstalled and all worked fine. I could see the site using http://localhost/wordpress/ but as soon as I set up a testing server in dreamweaver the problem returned. Dreamweaver must be altering something in the wordpress files / database to cause this problem.
    Has no on else come across this?

Maybe you are looking for

  • Starting new SAP LUW inside ABAP method

    I am calling a ABAP method and in that I want to start a new SAP LUW and do commit when leaving the method. The requirement is that all update function modules called inside the method should only be committed and no other prior update FMu2019s(befor

  • Assign To "All Desktops" doesn't work after restart

    Is anyone else having this problem? I have several apps that I have assigned to show on "All Desktops"; however, after I do a restart, and these apps are magically restored, though they still claim to be assigned to "All Desktops" they only appear on

  • Weight/dimensions of brand new wireless keyboard? Use with Nokia S60 3rd?

    Hi, I am considering the new apple wireless keyboard (aluminium) to use with my Nokia N80 / N95 phones, but the exact specifications are nowhere to be found. Can anyone tell me if it is: - compatible with the bluetooth HDI profile like the previous m

  • Someone wanna explain really slowly how to add a note?

    Okay so I saved the file as .txt and enabled my nano for disk use. but I don't get how to add the file.. where's the note folder? (i have a red 4g nano by the way. um, the titanium kind? i don't know about generations..)

  • How to Export photos and videos from Mac to iPhone?

    Hi everyone, I was trying to export a video from my Macbook Pro (Mid 2014) running latest version of OS X to my iPhone 5 (running iOS 8). I have tried everything in iTunes and iPhotos to be able to export Photos and videos to 'Photos' icon in my iPho