Cant add recordset navigation / paging...ERROR HELP
I have the above recordset below
$query_Recordset1 = sprintf("SELECT tk_job_title, tk_job_location, tk_job_salary, LEFT(tk_job_desc,200) as truncated_job_desc FROM think_jobsearch WHERE tk_job_title LIKE %s OR tk_job_location LIKE %%"text")%% OR tk_job_salary LIKE %s", GetSQLValueString("%" . $var_tk_job_title_Recordset1 . "%", "text"),GetSQLValueString($var_tk_job_location_Recordset1, "text"));
$query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
$Recordset1 = mysql_query($query_limit_Recordset1, $hostprop) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
a syntax error is being shown on the top line
when i tried to add a recordset navigation (below)
<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); ?>">First</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); ?>">Previous</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); ?>">Next</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); ?>">Last</a>
<?php } // Show if not last page ?></td>
</tr>
</table>
I have the same problem. Sorry I can't add any help. Trying
to figure this out as well.
Similar Messages
-
I cant add mp4 to my Imovie Help to convert mp4 to mp3 ot update imovie
I am having a big head ache trying to add an music song to my IMOVIE
I have an older song on there that was an mp3 but all of teh new songs on my I tunes are locked in to mp4
I want to add these songs to the slide show for my Fiancee
Thanks
KazooYou can convert .m4p using iTunes.
Make a playlist of files and burn to "audio CD". Use the new .aiff file in your iMovie Project. -
Help I just moved my music files to a external hard drive and am using the new crappy version ( i know my opinion) of itunes and cant add the files to my libray it gives me the add file to library option but not the add folder to library option what am i doing wrong?
In iTunes 11 uncheck the preferences setting in in the iTunes Preferences panel "Advanced > Copy Files to iTunes Media folder when adding to Library"
-
I updated to the latest IOS and now my passwords don't work. Reset 4 time which reset for my iPad and iPhone but I cant log into my itunes account using my apple ID it indicates an error, Help?
This may sound crazy, but download any free app. This often "shocks" the other apps into working.
-
Please Help... Recordset Navigation
I am using a PHP/MySQL database to incorporate dynamic data
in my website. In particular, I have a gallery of photo thumbnails
(the thumbnails are displayed via a Recordset). When clicked on,
each thumbnail link opens a pop-up window, which displays the name
and full-size image of the record desired. I've tried to insert a
Repeated Region server behavior within the pop-up to display one
full-size picture at a time and a Recordset navigation bar to click
through the different images. However, I can't seem to figure it
out.
Operating System: Mac OS X (v10.3)
Web Server: Apache
Browser: N/A
Database type: MYSQL
Application server: PHPThanks for your advice, Steve! I'm not sure about the form,
though. I'm fairly new to PHP...
Here's the PHP code from the thumbnails page:
<?php require_once('../../Connections/CSA.php'); ?>
<?php
mysql_select_db($database_CSA, $CSA);
$query_Rides = "SELECT * FROM Rides ORDER BY id ASC";
$Rides = mysql_query($query_Rides, $CSA) or
die(mysql_error());
$row_Rides = mysql_fetch_assoc($Rides);
$totalRows_Rides = mysql_num_rows($Rides);
?>
<table align="center" cellpadding="0" cellspacing="10"
style="padding: 5px;">
<tr>
<?php
$Rides_endRow = 0;
$Rides_columns = 6; // number of columns
$Rides_hloopRow1 = 0; // first row flag
do {
if($Rides_endRow == 0 && $Rides_hloopRow1++ != 0)
echo "<tr>";
?>
<td>
<a href="display_ride.php?id=<?php echo
$row_Rides['id']; ?>" target="_blank" alt="<?php echo
$row_Rides['name']; ?>" title="<?php echo $row_Rides['name'];
?>"><img src="pictures/<?php echo $row_Rides['thumb'];
?>" class="ride" /></a></td>
<?php $Rides_endRow++;
if($Rides_endRow >= $Rides_columns) {
?>
</tr>
<?php
$Rides_endRow = 0;
while ($row_Rides = mysql_fetch_assoc($Rides));
if($Rides_endRow != 0) {
while ($Rides_endRow < $Rides_columns) {
echo("<td> </td>");
$Rides_endRow++;
echo("</tr>");
}?>
</table>
<?php
mysql_free_result($Rides);
?>
And here's the code from the popup window:
<?php require_once('../../Connections/CSA.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"];
$colname_current_Ride = "-1";
if (isset($_GET['id'])) {
$colname_current_Ride = $_GET['id'];
mysql_select_db($database_CSA, $CSA);
$query_current_Ride = sprintf("SELECT * FROM Rides WHERE id =
%s", GetSQLValueString($colname_current_Ride, "int"));
$current_Ride = mysql_query($query_current_Ride, $CSA) or
die(mysql_error());
$row_current_Ride = mysql_fetch_assoc($current_Ride);
$totalRows_current_Ride = mysql_num_rows($current_Ride);
$colname_next_Ride = "-1";
if (isset($_GET['id'])) {
$colname_next_Ride = $_GET['id'];
mysql_select_db($database_CSA, $CSA);
$query_next_Ride = sprintf("SELECT * FROM Rides WHERE id >
%s ORDER BY id ASC", GetSQLValueString($colname_next_Ride, "int"));
$next_Ride = mysql_query($query_next_Ride, $CSA) or
die(mysql_error());
$row_next_Ride = mysql_fetch_assoc($next_Ride);
$totalRows_next_Ride = mysql_num_rows($next_Ride);
$colname_previous_Ride = "-1";
if (isset($_GET['id'])) {
$colname_previous_Ride = $_GET['id'];
mysql_select_db($database_CSA, $CSA);
$query_previous_Ride = sprintf("SELECT * FROM Rides WHERE id
< %s ORDER BY id DESC",
GetSQLValueString($colname_previous_Ride, "int"));
$previous_Ride = mysql_query($query_previous_Ride, $CSA) or
die(mysql_error());
$row_previous_Ride = mysql_fetch_assoc($previous_Ride);
$totalRows_previous_Ride = mysql_num_rows($previous_Ride);
$queryString_current_Ride = "";
if (!empty($_SERVER['QUERY_STRING'])) {
$params = explode("&", $_SERVER['QUERY_STRING']);
$newParams = array();
foreach ($params as $param) {
if (stristr($param, "pageNum_current_Ride") == false
stristr($param, "totalRows_current_Ride") == false) {
array_push($newParams, $param);
if (count($newParams) != 0) {
$queryString_current_Ride = "&" .
htmlentities(implode("&", $newParams));
$queryString_current_Ride =
sprintf("&totalRows_current_Ride=%d%s",
$totalRows_current_Ride, $queryString_current_Ride);
?>
<h1 class="rideTitle" style="position: relative; top:
10px"><?php echo $row_current_Ride['name']; ?></h1>
<area shape="rect" coords="4,3,48,47"
href="display_ride.php?id=<?php echo $row_previous_Ride['id'];
?>" id="Previous Ride" name="Previous Ride" />
<area shape="rect" coords="47,3,99,47"
href="display_ride.php?id=<?php echo $row_next_Ride['id'];
?>" id="Next Ride" name="Next Ride" />
<area shape="rect" coords="851,3,897,47" href="#"
onclick="self.close();" id="Close Window" name="Close Window" />
<img src="pictures/<?php echo
$row_current_Ride['image']; ?>" alt="<?php echo
$row_current_Ride['image']; ?>" title="<?php echo
$row_current_Ride['image']; ?>" class="ride" style="position:
relative; top: -15px" />
<!-- Hide the caption <?php echo
$row_current_Ride['caption']; ?> -->
<?php
mysql_free_result($current_Ride);
mysql_free_result($next_Ride);
mysql_free_result($previous_Ride);
?>
Again, I have a decent sense of what to do with PHP, but I'll
use any help that I can receive. Thanks!
Kevin -
what is error (16) during updating i phone5?and I cant turn it on? Please HELP...!
Serial No.F2******TWD
IMEI/MEID *****
iPhone 5 16GB
Model A1429
<Edited By Host>See this support document Resolve iOS update and restore errors - Apple Support, but an error 16 is usually a hardware error. I will also ask the hosts to edit your personal information about the phone. You should not post this on a public forum.
-
i have an ibook g4 laptop and i cant add music from my library to my ipod touch4 but my ipod shows up on image capture ? please help immiedeatly
What OS is on the iPod?
What version of iTunes is on the computer
Try using iTunes 10.6.3 -
Please help....i cant add my email account
hi, i have recieved my new fone, and cannot add my email address to it, i also cant add a wi-fi connection, please can someone help me ..thanks all x
As asked above by unleashurself:
Do you have the BlackBerry Data Plan on your mobile provider account? You must, in order to get the personal email setup option. You will need to call your provider and have those services added to your SIM account.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Error 14 ocurred at GPIB write, labview cant add resource
I am using LabView 2009 to control a research system contains Lakeshore 331S and Keithely 2425, it was work probably , but recently I am receivng an error message:
Error 14 ocurred at GBIB write, LabView cant add resourceHello baalbiss,
Which version of the 488.2 driver do you have installed? Just to confirm, you are able to communicate with the instrument through MAX, but not through LabVIEW? Did you recently upgrade to LabVIEW 2009?
Thanks
Ryan T
National Instruments
Applications Engineer -
Cant add account manager from myverizon keeps throwing error message
did everything but go into the store. Im 9 months pregnant on bed rest and my verizon gives me an error when i try to add account manager. Called 922 0204 and customer service says its now verizon policy that you cant add anyone to your account until after 30 days ive added and removed people before on the same day Talked to supervisor he said its a my verizon problem and that the ppl that are supposed to work on it arent in right now So shouldnt they have a way to bypass this?? what is up with this new rule?? Anyone else getting this same error??
I originally had wireless service with Alltell and I was very concerned when Verizon purchased Alltell ( I had numerous bad experiences with Verizon customer service when I had their FIOS cable service). For years now that Verizon took over for Alltell I have not had any issues and I believe it was because I did not have to contact customer service. Now in December I purchased three new phones and my daugther wanted to change her work number to one of the numbers I had on my service. You would have thought we were trying to pattern a new cure for cancer. We had to spend hours on the phone with customer service trying to accoumplish a very easy task and each time my daugther tried to deal with these people they all complained because she was not an account manager.
For the last wo weeks I have tried to add my daughter thru the website. Each time I got an error message stating that I needed to call 611 to get this corrected. Tonight we called 611 and I got the same run around with customer service for the last 45 minutes, but they told me that I had to wait 60 days since we had purchased new phones. They also told me that we could go to a Verizon store location and this could be accomplished at the store. I have already spent more time with customer service than any live person should and I certainly do not want to have to make another trip to a Verizon store. It is utterly amazing how Verizon can take such simple tasks and turn them into a Federal case. This waste hours of your time and also the time spent by their employees, and you don't get anything accomplished. They must be getting so many complaints that now there is no place on their website where you can write a complaint. -
m was fine. I keep getting the underlying task reported failure on exit when trying to do disk permission or repair permissions. Also get cant install files in "/applications error when ever trying to install a driver or update. Help
Hi,
Here's an article for that:
http://support.apple.com/kb/ts1901 -
How do i add recordsets to a .dwt.asp-generated page
help - i am at wits end.....
below is code for a page (test3.asp) based on a template
called "catalogue.dwt.asp". i need various recordsets on various
pages based on this template. f i try to add a recordset to
test3.asp, i'm told "making this change would involve changing cose
that is locked by a template or translator" - so i cant add the
recordsets (tho interestingly you can see that i did manage to
somehow add two recordsets at the outset before it started saying
this.
if i try to add the recordsets to the template (which is not
the way i want to do it anyway), i'm told i've added code outside
the html tag and wont be copied unless i add
<!--TemplateInfoOutsideHTMLIsLocked-->
i have bvuilt plenty of other sites where i DONT have this
issue so DW/me must be coding something different sometimes -
bottom line is - how do i get to having a .dwt.asp temaplte which i
can build other pages from, and then add relevant recordsets to.
i would be DEARLY GRATEFUL for anyone who can help me put
this perennial problem to bed.
thanks in advance:
Code attachedFunny, I have never seen anyone report this. And I've worked
with DW and
recordsets in template child pages for a mightly long time,
and never
experienced it. On the other hand, it's always a good idea to
restart your
system when things like this happen. You never know what
could be
interfering.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Ed Stewart" <[email protected]> wrote in message
news:fe80k0$4tb$[email protected]..
>> below is code for a page (test3.asp) based on a
template called
>> "catalogue.dwt.asp". i need various recordsets on
various pages based on
>> this
>> template. f i try to add a recordset to test3.asp,
i'm told "making this
>> change
>> would involve changing cose that is locked by a
template or translator" -
>> so i
>> cant add the recordsets (tho interestingly you can
see that i did manage
>> to
>> somehow add two recordsets at the outset before it
started saying this.
>>
>> if i try to add the recordsets to the template
(which is not the way i
>> want to
>> do it anyway), i'm told i've added code outside the
html tag and wont be
>> copied
>> unless i add
<!--TemplateInfoOutsideHTMLIsLocked-->
>>
>> i have bvuilt plenty of other sites where i DONT
have this issue so DW/me
>> must
>> be coding something different sometimes - bottom
line is - how do i get
>> to
>> having a .dwt.asp temaplte which i can build other
pages from, and then
>> add
>> relevant recordsets to.
>>
>> i would be DEARLY GRATEFUL for anyone who can help
me put this perennial
>> problem to bed.
>
>
>
>
> It's a bug. Close and re-open DW and your templated page
will accept the
> RS without squawking. -
Cant add files to library as soon as i downloaded latest version of itunes.
Hello all - I just upgrading to the latest version of itunes for Windows XP and have had nothing but problems. I download songs and then try the "add file to library" function. and nothing seems to add to my library. has anyone else experienced this issue and is there any resolution. I want to add newly downloaded songs to my ipod and cant because of this issue. please help. thank you.
PC Windows XPI have similar problem. I just upgraded to iTunes 7 and now there are 15 songs that can't be moved to my iPod Shuffle Library because of error message that the computer is not authorized. But I am using the same computer I bought the songs with and there have been no changes to my hard drive.
-
Cant add any new contacts in address book in BB 9530
This is the error message showing when i try to add someone. And most of the time the phone just freezes. I cant add anyone neither can i edit the numbers.
error launching address book: java.lang.runtimeexception: ApplicationRegistry.getOrWaitFor(0x103243b6b5a66317)owner died Thread [Thread-307273728,5]
Solved!
Go to Solution.You have recently upgraded either your AIM, MSN/Live, Gtalk or Yahoo Messenger.
Remove the app you upgraded and your address book will be fine.
There's a glitch in the upgrade of which I understand RIM is aware of and working to fix.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Cant add song into iTunes, the song used to be in iTunes
hello, i used to have many song in my iTunes library and they can be played. ok, here let me define songA..songZ that are the songs in my iTunes
today, when i am listening songA, i want to listen songB, so i double click on songB in iTunes but it just response nothing and stop! i try to double click it again, still nothing happen. but when i double click on songA, it works(i can listen songA).
so i think that's something wrong with my library, i delete songB from library, then, i drag(also try add from the menu botton) songB into library again, it DOESNOT work!! i cant add songB to my library. what's the problem???
songB had already been in my iTunes for some months, i was fine and playable. but now, i cant listen it using iTunes.
songB is working fine using other mp3-player. i tried to reinstall iTunes, but it doesnt help.
there is more than one song that have the same problem! songB is just an example
hope i made the question clear
so i am looking for help.
p.s. i am using WinXPSP2, iTunes 7.0.2.16
again, those song i cant play and add now was okay before.I have the same problem. As soon as I edit a song's ID3 tag via windows XP, iTunes does not add the song back to my library. There is no error notification or something like that, I simply select the song through "add song to library", and than nothing happens.
The annoying thing is that I edited a lot of my music this way, and now I can't play any of these songs through itunes. This has never been a problem before, but since itunes 7 all this crap started. I have removed libray files etc., but nothing seems to help. Furthermore, all these songs still play with other media players.
Guesss we simply have to pray and hope that everything is solved with the next itunes update,
Gregorius
Maybe you are looking for
-
Pessoal, Estou tendo o erro na verificação de status serviço desde a manhã de hoje, no qual está afetando os dois SEFAZ (SP e RS) em Produção que estão configurados no cliente que funcionavam há bastante tempo, na SXI_MONITOR aparece o erro NO_RECEIV
-
Re - Process asset accounting year end process
Hi, Case- XYZ company is already on K4 fiscal year variant, they want to switch from K4 (calendar year) to V3 (Non- calendar year). Standard SAP process is to create shortened fiscal year for 3 months. But this is only allowed if no entries posted i
-
Can any one tell me how to deactivate vendors in sap whom we have not done business for last 18 Month>
-
Introduction of SSLM into a MSFC-FWSM-CSM Bridge Mode Configuration
Hi, Need serious help here.. I'm facing a challenging situation here. Customer just purchased a pair of SSLM module for their web server HTTPS termination. Here's the situation. Currently customer already have a pair of Catalyst 6509 running with MSF
-
Hi MM Gurus, I have a peculiar issue in sub con PO. The PO 45xxxxxxx created for material 501-XXXX-XX for 100 Quantites. 541 mvt made for all the 100 Quantites and 543 (101) made only for 80 Quantites. After this PO order Quantity changed from 100 to