Search found 22 matches

by DWillett
Wed Jul 04, 2012 12:08 am
Forum: PHP coding => General
Topic: Comments Box each Directory
Replies: 0
Views: 264

Comments Box each Directory

Hi I want to add a comments box on my page for each directory. The structure of the directories are: http://www.mysite.com/Image_client ( this is the root) Within Image_Client are the client directories: Image_Client/Client1 Image_Client/Client2 Image_Client/Client3 etc etc And in the client is a Jo...
by DWillett
Mon Jul 02, 2012 2:33 am
Forum: PHP coding => Images
Topic: Centre Image
Replies: 4
Views: 2100

Re: Centre Image

Hi

Thanks for all the help guy's.
Every day is a learning curve for me.
I managed to achieve along the lines of how I wanted the page to look by using some other code.

( you get kinda hooked on this stuff - lol )

Thanks again guys.

Regards
by DWillett
Wed Jun 27, 2012 5:44 am
Forum: PHP coding => Images
Topic: Centre Image
Replies: 4
Views: 2100

Re: Centre Image

Hi Guys I don't think this is what I was after and difficult to explain. Here's a link to the web I'm working on where I can probably explain better: http://www.mic-console.com/Image_Client/index.php Use 200532 in the reference box. Once in there you see links to pdf files in the left frame, that pa...
by DWillett
Thu Jun 21, 2012 10:30 am
Forum: PHP coding => Images
Topic: Centre Image
Replies: 4
Views: 2100

Centre Image

Hi
Is it possible to centre the output image from this code?
The target is inner, can the code be edited to do this?

Regards

Code: Select all

//display images

foreach ($imgs as $img) {
    echo "<a href=\"$img\" target=\"inner\"><img src='$img' width=\"80\" border=\"1\"/></a> ";


}
by DWillett
Tue Jun 19, 2012 5:00 am
Forum: PHP coding => General
Topic: Add cell or iFrame
Replies: 0
Views: 239

Add cell or iFrame

Hi With the following code, is it possible to add a frame into "inner" or a single table cell. I would like to fill the frame or cell with an image which will stretch to the dimensions. Not sure how I can do this?? index.php <?php $jobno = $_POST["jobno"]; echo "<frameset rows=\"60,*,80\"><frame nam...
by DWillett
Fri Jun 15, 2012 5:48 am
Forum: PHP coding => Images
Topic: Next - Prev (Image Set)
Replies: 8
Views: 2718

Re: Next - Prev (Image Set)

I did some searching and came up with this code. The code should pull jpg files from the current Directory(Folder) but returns nothing but the following text although there are 50 or so images: Files in Directory Page 1 of 0 Can anyone help with the code: <?php $directory = ""; $files = array(); if(...
by DWillett
Wed Jun 13, 2012 9:33 am
Forum: PHP coding => General
Topic: Book Errors
Replies: 2
Views: 806

Book Errors

Hi I'm studying a book (PHP and MySQL) with examples to follow. The following code: <html> <head> <tile>Bobs Auto Parts - Order Results</title> </head> <body> <h1>Bobs Auto Parts</h1> <h2>Order Results</h2> <?php echo '<p>Order Processed at '; echo date('H:i, js F'); echo '</p>'; ?> </body> </html> ...
by DWillett
Thu Jun 07, 2012 11:36 pm
Forum: PHP coding => General
Topic: Text Align
Replies: 3
Views: 760

Re: Text Align

Looks good, can we center the text? seems to align left without the ,p. tags?

Cheers
by DWillett
Thu Jun 07, 2012 11:17 pm
Forum: PHP coding => General
Topic: Text Align
Replies: 3
Views: 760

Text Align

Hi I need to align the following text: <p align="center">Welcome to the On-Line Version of MIC-Console. Please enter a Reference Number in the Search Field to the Left.</p> Next to the"Search" button, at the moment the alignment is under the button instead. I've tried several ways to no avail. Appre...
by DWillett
Tue Jun 05, 2012 1:05 am
Forum: PHP coding => General
Topic: Adding 404 code
Replies: 4
Views: 499

Re: Adding 404 code

Thats brilliant, exactly what I was after.

Thank You.

Regards
dave
by DWillett
Tue Jun 05, 2012 12:30 am
Forum: PHP coding => General
Topic: Adding 404 code
Replies: 4
Views: 499

Re: Adding 404 code

Hi. thanks for the quick response but it's still the same.

Kind Regards
by DWillett
Mon Jun 04, 2012 11:50 pm
Forum: PHP coding => General
Topic: Adding 404 code
Replies: 4
Views: 499

Adding 404 code

Hi I need to add coding to handle "error 404". I don't want to redirect or anything. The code should just simply return nothing, ie an empty page. If you load http://www.mic-console.com/Image_Client/index.php you will see exactly what I'm after. The left sidebar and lower bar return the 404 while th...
by DWillett
Fri Jun 01, 2012 5:46 am
Forum: PHP coding => Images
Topic: Next - Prev (Image Set)
Replies: 8
Views: 2718

Re: Next - Prev (Image Set)

No worries.. I'll get there eventually.

Kind Regards
by DWillett
Fri Jun 01, 2012 1:03 am
Forum: PHP coding => Images
Topic: Next - Prev (Image Set)
Replies: 8
Views: 2718

Re: Next - Prev (Image Set)

Hi Nullsig
Thanks for that.
I'll check out the ScanDir script and see how it fits with my project.
I am interested in the gallery script you mentioned, is it available?

Regards
by DWillett
Wed May 30, 2012 12:33 am
Forum: PHP coding => Images
Topic: Next - Prev (Image Set)
Replies: 8
Views: 2718

Re: Next - Prev (Image Set)

Hi NullSig Googles great and returns some interesting pages on "Pagination" ! Being the complete novice in this field may prove quite difficult. It seems pagination requires a MySQL database in the bckground, my project doesn't use one. My images are uploaded via my VB project and from what I unders...
by DWillett
Tue May 29, 2012 2:11 pm
Forum: PHP coding => Images
Topic: Next - Prev (Image Set)
Replies: 8
Views: 2718

Re: Next - Prev (Image Set)

hmmmm Looks very similar to vb script, well the concept is !! Similar syntax which I can sort of see through just about. I'm in the deep end once more..... Appreciate the help though. May take me some time but I'll give it my best shot, forgive me if I have to ask the silliest questions and extend t...
by DWillett
Tue May 29, 2012 8:09 am
Forum: PHP coding => Images
Topic: Next - Prev (Image Set)
Replies: 8
Views: 2718

Next - Prev (Image Set)

My code pulls images and displays 12 of them, 12 seems to fit my browser nicely. I could increase the number in the code but on testing 12 is the magic number. My image sets contain more than 12 so can I use a "Next - Prev - First - Last" etc to the next 12 in the set? Very new to doding guy's, spen...
by DWillett
Tue May 29, 2012 8:06 am
Forum: PHP coding => General
Topic: Create Line Break
Replies: 4
Views: 1030

Re: Create Line Break

Ok Thanks
by DWillett
Tue May 29, 2012 7:53 am
Forum: PHP coding => General
Topic: Create Line Break
Replies: 4
Views: 1030

Re: Create Line Break

Brilliant, works like a dream. Thanks.

I have a posting about the same code, images "Next-Prev" etc as there 12 images showing but always more than 12 in the set.
Shall I repost this or can any help be given in this post?

Kind Regards
by DWillett
Tue May 29, 2012 2:34 am
Forum: PHP coding => General
Topic: Create Line Break
Replies: 4
Views: 1030

Create Line Break

Hi I need a line break between the table which shows the pdf's and the start of the image thumbnails. I'm a total novice so a step through would be great. The code is: <?php error_reporting(0); ?> <?PHP function getFileList($dir) { // array to hold return value $retval = array(); // add trailing sla...
by DWillett
Fri May 25, 2012 6:12 am
Forum: PHP coding => General
Topic: Add Colours etc
Replies: 3
Views: 494

Re: Add Colours etc

Hi. Yes I've read about CSS and I do have alot of learning to do. Short term, I just want to pick up a few tips to show my example page to some guys I'm working with.
Thankyou for the advise, probably a dummy question, where do I insert the code you supplied?
by DWillett
Fri May 25, 2012 2:21 am
Forum: PHP coding => General
Topic: Add Colours etc
Replies: 3
Views: 494

Add Colours etc

Hi. I'm new to the site and new to PHP. I have a couple of scripts I would like to add a background colour to. I'm eager to learn (and ordered the tutorial books) but short term could do with sorting this sooner. Here's the scripts and any help would be appreciated. For now say a blue background wil...