Thanks for that, this is where I got my code from to limit the images per page. My problem from there was to create the links to the next 4 images etc. When I inserted the code to paginate I ended up with the links OK but lost the 4 images per page and got the whole array.
The code (I think) is all there but must be in the wrong order. Any ideas?
User Profile
Collapse
-
Yes thats correct!
Also I did notice I missed a "]" , but it was too late to amend.
Have been playing with my code and so far am unable to display just 4 images per page. But do have the links appearing to offer further pages! I feel I am close but that some of the code is in the wrong place. Your help would really be appreciated.
Code:<?php $Host="mysql1.namesco.net";
Leave a comment:
-
Pagination
I am attempting to add script to limit the number of images displayed per page. The images to be displayed in 2 columns. The script I have used I obtained from searching "PHP Pagination" via Google, it seemed to work fine until I tried to added the code to put the images diplayed into 2 columns. Each set of code worked OK on its own! Any help would be appreciated.
[CODE=php]
<?php
$Host="mysql1.n amesco.net";... -
Mission accomplished! Microsoft Office 2007 has solved the problemLeave a comment:
-
I dont get the option! As soon as I try to open the file the Microsoft Message is dispalyed and then the whole of MS Excel closes! I have tried opening via Open Office with not much luck as it only allows 1 sheet to be imported and then there is no VB access that I can find.
If I could get at my code in Visual Basic I could recreate everything else. But I just dont how to get there! If I go to the VB editor in a fresh page I cannot access...Leave a comment:
-
MS Excel 2000 - Possible macro corruption! HELP!!
I have been building a comprehensive spread sheet in MS Excel 2000, with numerous pages. Everything went well (using VB) and the task was complete. To enhance the users input I added a "Menu" page with macros (command buttons) to take the user to various pages. Great all going well! Until... All of a sudden a MS Message
"Microsoft Excel for Windows has encountered a problem and needs to close. We are sorry for the... -
Again my thanks to:
DrBunchman
MarkRawlinson
jhardman
and CroCrew
By the way CroCrew, where should the database be situated that receives the data? Frontpage created a database that sits both in my C-drive and on the server (in a folder "fpdb") but for some reason the code you suggested to me does not appear to get to its destination. Any thoughts??Leave a comment:
-
Many thanks CroCrew!!
Will get stuck in next week as am in Spain at the weekend (Los Boliches funnily enough!!). Cant wait to see the results and hopefully progress from there.
Really do appreciate all the help and advice.
Cheers
Boliches (in the UK)Leave a comment:
-
Thanks for all of your ideas and guidance - it is really appreciated! I cant wait to get going and see where we end up!
Thanks guys!!Leave a comment:
-
Hi Mark
Hear what you are saying loud and clear!! Didnt realise it was that bad.
Do you have any suggestions as to how I go forward? i.e Is there a favoured method of writing web pages? Which route would be best for me to head in? I feel reasonably confident in my limited ability in writing progs. Although being totally upfront I do tend to "borrow" other peoples ideas!!
My main problem, I guess,...Leave a comment:
-
No offence taken! I have tried very hard to be a "programmer " using Access with a modicum of sucess, however, web pages are a relatively new venture! If my understanding is correct my web pages in question are:
www.regencyused cars.co.uk/FinanceApp.asp
with the confirmation page:
www.regencyused cars.co.uk/mail_finance.ht m
I know I am "cheating" using Frontpage but it...Leave a comment:
-
Frontpage 2000 database and .asp
Help please.
I have looked everywhere for the answer.
I have a form (created in MS Frontpage 2000) FinanceApp.asp which should send the data to an Access 2000 database when the "Submit" button is clicked. The database was created by using the wizard within Frontpage!
The problem is that the data does not get to the database, unless I am doing something really stupid! The "Confirmati on"... -
Send a .pdf file using eFax from a database
I have a database in ms Access 2000, and am currently able to email a PDF file (using PDF995 to create the PDF file) but would like to fax the PDF file using eFax (www.eFax.com), is this possible? I am not sure where to begin with this one, and would appreciate some help.
Thanks in advance. -
I think I may have it:
Code:Dim strError As String Dim blnError As Boolean blnError = False strError = "Please complete the following:" & vbCrLf If IsNull([Forms]![frmDeal]![frmDealsSub].Form![Text118]) Then blnError = True strError = strError & "No of Owners" & vbCrLf
Leave a comment:
-
I think I now know why this is failing!
Code:Dim blnError As Boolean blnError = False strError = "Please complete the following:" & vbCrLf If IsNull([Forms]![frmDeal]![frmDealsSub].Form![Text118]) Then blnError = True strError = strError & "No. of Owners" & vbCrLf Else blnError = False End If
Leave a comment:
-
Thanks for your interest in my problem, but the database is quite sizeable and may be difficult for me to get you to where the problem is within the project.
My main issue here is that I want to alert a user that info is missing from a form, and therfore (via a msgbox) inform that user which items are missing! Have I gone about it in totally the wrong way? If so could you please advise.
Many thanks. (Really appreciate...Leave a comment:
-
Have amended the syntax, but still am failing to get the blnError = False to blnError = True when a text box is "Null". What am I doing wrong?
Thanks for the update on Formatting etc.
RegardsLeave a comment:
-
I meant to ask how you "Formatted and Tagged" the script to make it easier to read, also what is the benefit of putting the script in the "Before Update" event procedure as against on a Command Button? Is it a speed related thing?Leave a comment:
-
Have tried your suggestion, but for some reason when a textbox is null "blnError" still shows "blnError = False" and not "blnError = True"! WHY?? Is it because at the very beginning of the code I have
Code:Dim blnError As String blnError = False
Code:If blnError = True Then Cancel = True
Leave a comment:
-
I dont fully understand what you want, but I have cut it down to a manageable size (I hope)
Code:blnError = False strError = "Please complete the following:" & vbCrLf If IsNull([Forms]![frmDeal]![frmDealsSub].Form![Text62]) Then blnError = True strError = strError & "Vehicle Details" & vbCrLf
Leave a comment:
No activity results to display
Show More
Leave a comment: