Current location: Hot Scripts Forums » Programming Languages » PHP » Need help with arrays


Need help with arrays

Reply
  #1 (permalink)  
Old 10-12-04, 06:55 AM
wiseone wiseone is offline
New Member
 
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Need help with arrays

Hi, here is the complete detail what i m trying 2 do.

i got around 2000+ images with size/desp/image_no/slno etc

TABLE `sheet1` (
`SlNo` int(11) NOT NULL auto_increment,
`Image No` double default NULL,
`Title` varchar(255) default NULL,
`Category` varchar(255) default NULL,
`Sub-Category` varchar(255) default NULL,
`Description` longtext,
`Size` varchar(255) default NULL,
`Price` varchar(255) default NULL,
PRIMARY KEY (`SlNo`)
) TYPE=MyISAM AUTO_INCREMENT=2841 ;


1. what i m trying to do is there will be a form which will pass a value (8,12,14) to the application.

2. Application will take the value n generate html tags (well formated table - http://www.aquaciti.com/temp/clipboard.jpg) which will hav 2 columns and xx number of rows (passed from the html form) the data shld be displayed in a horizontal manner

[1] [2]
[3] [4]
[5] [6]
[7] [8]

3. After generating the tags instead of displaying it on the browser save the html tags into a txt file in the server itself. This process goes on till it reaches end of record.

Technically: it will generate 01.txt file which will hold all the html tags to display from record 1 to 8.
02.txt will hold from record 9 to 16 etc etc etc

i hope u got what i mean to say. most of the things i managed to code n its working fine but stuck with horizontal display part. can u pls pls pls help me out

thnx
Reply With Quote
  #2 (permalink)  
Old 10-13-04, 03:58 AM
marklar's Avatar
marklar marklar is offline
Newbie Coder
 
Join Date: May 2004
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Post what you have done and I'll put in the rest. I don't want to spend time writing code that you've already done or that doesn't fit with your methods.

:I
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MIME Type arrays therat PHP 3 07-26-04 12:56 PM
Going Insane Over Lists and Arrays mtorbin Perl 3 06-03-04 04:19 AM
Help with arrays thevhway PHP 2 05-25-04 04:44 AM
Easy question about arrays... tempa PHP 4 03-09-04 06:13 AM
Javascript vs PHP, problem with arrays Chuff JavaScript 0 10-03-03 04:01 AM


All times are GMT -5. The time now is 04:36 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.