User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 384,026 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,136 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 31 of 31
Search took 0.01 seconds; generated 2 minute(s) ago.
Posts Made By: okparrothead
Forum: PHP Jul 18th, 2007
Replies: 13
Views: 919
Posted By okparrothead
Re: Need Help getting sum of one key from flat file

Hi Essaral,

Figured it out.

EOL tag was wrong so the script wasn't reading the correct data.

Thanks for everything,!!!
Forum: PHP Jul 18th, 2007
Replies: 13
Views: 919
Posted By okparrothead
Re: Need Help getting sum of one key from flat file

Hi Ezzaral,

After further testing, I'm still getting errors so I'll keep after it.

Peace
Forum: PHP Jul 18th, 2007
Replies: 13
Views: 919
Posted By okparrothead
Re: Need Help getting sum of one key from flat file

Thanks Ezzaral. You're the best.

You were right on the money.
Some of my amounts could be longer than two digits though, so I came up with this:

$item = file((session_id()."-".($_SESSION...
Forum: PHP Jul 18th, 2007
Replies: 13
Views: 919
Posted By okparrothead
Re: Need Help getting sum of one key from flat file

Thanks Weber!
Hi Ezzaral,

Thanks for all your help.
I'm still being dense.
You can see the file contents earlier in the post.
Here's the code I have so far.
Could you tell me where I'm going...
Forum: PHP Jul 17th, 2007
Replies: 13
Views: 919
Posted By okparrothead
Re: Need Help getting sum of one key from flat file

Thanks Weber,

No joy yet, but I'll keep after it!

Peace
Forum: PHP Jul 17th, 2007
Replies: 13
Views: 919
Posted By okparrothead
Re: Need Help getting sum of one key from flat file

Thanks for your quick response Weber,

Is there a way to only print the last item on each line?

Even better, put them in an array?

I'm familiar with array_sum as a command, but I don't know how to...
Forum: PHP Jul 17th, 2007
Replies: 13
Views: 919
Posted By okparrothead
Need Help getting sum of one key from flat file

hello DaniWeb Forum,

I need help with reading a csv.

Here's the file:

product name, color, width, quantity, subtotal
product1, red, 20", 200, $30
proudct2, blue, 30", 10, $12
Forum: HTML and CSS May 15th, 2007
Replies: 2
Views: 1,550
Posted By okparrothead
Re: Multiple Print Style Sheets -- Same Page

Thanks Smalldog,
I see what you're getting at.

I already have a print style sheet. Will this effect how the present style sheet works?
Forum: HTML and CSS May 15th, 2007
Replies: 2
Views: 1,550
Posted By okparrothead
Question Multiple Print Style Sheets -- Same Page

Hello DaniWeb Experts

I haven't found this topic in the forums, so if its been covered, please redirect me. Thanks

I have a page which has a div with product instructions at the bottom.

Is there a...
Forum: HTML and CSS Mar 23rd, 2007
Replies: 15
Views: 8,085
Posted By okparrothead
Re: Align floated images in center of page with CSS

Thanks RG,

Yes, it seems counter intuitive to assign inline attributes to a block item.

What I'm trying to achieve is divs in rows where the width of the container and the number of divs in a row...
Forum: HTML and CSS Mar 15th, 2007
Replies: 15
Views: 8,085
Posted By okparrothead
Re: Align floated images in center of page with CSS

Hi all,

I didn't abandon my post, I just got sidetracked. Thanks for hanging in there with me.

Rhyan, your suggestion worked! Unfortunately I had to ditch the image cations. Whenever I added...
Forum: HTML and CSS Mar 8th, 2007
Replies: 15
Views: 8,085
Posted By okparrothead
Re: Align floated images in center of page with CSS

Thanks Rhyan,
After reading your link I understand caption better. I was using it for a photo caption.

Yet another newbie mistake! Doh!

Thanks for everything!
Forum: HTML and CSS Mar 8th, 2007
Replies: 15
Views: 8,085
Posted By okparrothead
Re: Align floated images in center of page with CSS

Thank You Rhyan,

Your help is much appreciated.

I think (Hmmm. Maybe.) I see how this will work. By going inline with the divs, they don't have to float left. By wrapping them in a div that is auto...
Forum: HTML and CSS Mar 7th, 2007
Replies: 15
Views: 8,085
Posted By okparrothead
Re: Align floated images in center of page with CSS

Hi Rhyan,
Sorry I didn't explain myself very well.

Actually, what I have is this:

<div>
<img>
<caption>
</div>
Forum: HTML and CSS Mar 7th, 2007
Replies: 15
Views: 8,085
Posted By okparrothead
Question Align floated images in center of page with CSS

Hello CSS Experts,

As far as I can tell, what I want to do can't be done.

Ihave a gallery page that is liquid in width.

Instead of liquid widths of thumbnails, when the page is narrow, I'm...
Forum: Web Design Tutorials Mar 6th, 2007
Replies: 4
Views: 32,339
Posted By okparrothead
Re: Forms: styling text fields with CSS and HTML

Hello Roryt, Forum Members,
To minimize the differences of all elements in different browsers, you can add:
* {padding: 0px; margin: 0px} to your style sheet. This eliminates the default margins and...
Forum: Web Developers' Lounge Nov 25th, 2006
Replies: 4
Views: 2,540
Posted By okparrothead
Re: please help!!!!

Have you tried to FTP directly to your domain name?

I host on a shared virtual host (Linux) and until the DNS servers knew where my domain was, I had to use the server address e.g....
Forum: Web Developers' Lounge Nov 25th, 2006
Replies: 23
Views: 4,862
Posted By okparrothead
Re: HTML Editor

For text editing I use TextPad, and for WYSIWYG coding I used to use Net Objects Fusion but I don't anymore. For the record, I haven't used Dreamweaver or GoLive and probably won't. I seem to run up...
Forum: PHP Nov 3rd, 2006
Replies: 2
Views: 1,520
Posted By okparrothead
Re: Newbie Question - How to generate a link

digital-ether,

I've tried to create a script like this on more than one occasion, but no joy. Your instructions have finally gotten through my clumsy mind.

Thank you SO much.

Peace
Forum: PHP Nov 2nd, 2006
Replies: 2
Views: 1,520
Posted By okparrothead
Help Newbie Question - How to generate a link

Hello gang,
Here I am with another Newbie question.

I'm creating a photo gallery for my Web site.

Right now I use a series of links to create the gallery:

<a...
Forum: Web Developers' Lounge Nov 2nd, 2006
Replies: 8
Views: 1,953
Posted By okparrothead
Re: Browser client testing

You really think so?
I thought it was pretty well par for the course.

Hmmm. Maybe I'm trying too hard.
Forum: Web Developers' Lounge Oct 30th, 2006
Replies: 8
Views: 1,953
Posted By okparrothead
Re: Browser client testing

What I test in:

I test in IE 5.5, 6 and 7, Opeara 6.2 and 7 and Netscape 6.2 and 7 and I recently upgraded to FireFox 2. I also view the sites in Lynx. As a last test I also see how the sites look...
Forum: PHP Oct 6th, 2006
Replies: 6
Views: 2,437
Posted By okparrothead
Solution Re: Help using "include" inside of "echo"

Hello All,

Thanks for all of your help.

I couldn't get any of your suggestions to work. Just zoomed over my head I suppose. As Homer would say -- Doh!

Anyway, I did find a solution. :p

In my page...
Forum: JavaScript / DHTML / AJAX Sep 22nd, 2006
Replies: 31
Views: 7,771
Posted By okparrothead
Re: Easy drop down menu?

I see what you mean, FC.

I used this technique but had a link in the top level so even without the drop down, it would work.

It does work in IE 7 though, but the CSS will have to be tweaked.

Seems...
Forum: PHP Sep 22nd, 2006
Replies: 6
Views: 2,437
Posted By okparrothead
Re: Help using "include" inside of "echo"

Thanks for all the help!!

I guess I wasn't too clear with my first explanation, but you probably still answered my question.

I have a php page with $variables for all the content on the page except...
Forum: JavaScript / DHTML / AJAX Sep 22nd, 2006
Replies: 31
Views: 7,771
Posted By okparrothead
Re: Easy drop down menu?

FC,

Sweet! You even made it work in Internet Explorer.

Kudos.
Forum: PHP Sep 20th, 2006
Replies: 6
Views: 2,437
Posted By okparrothead
Help Help using "include" inside of "echo"

Hello all,

I have a newbie question.

I need an alternative to this:

$variable = 'Sometext with some other text <?php include 'somescript.php'?> some more text';

where $variable will be echoed...
Forum: JavaScript / DHTML / AJAX Sep 20th, 2006
Replies: 31
Views: 7,771
Posted By okparrothead
Re: Easy drop down menu?

Hello all.

cath120,

Here's an alternative that might work for you.

http://www.serve.com/apg/workshop/cssMenu.html

It uses nested unordered lists of links and css styles to "hide" the drop down...
Forum: Community Introductions Sep 17th, 2006
Replies: 3
Views: 757
Posted By okparrothead
Re: Hi Friends!

Hi Uncle Scruffy,

Broken Arrow is East of Tulsa and once was a seperate community. In a few more years it'll just be a suburb (very soon) of Tulsa.

I've been to Enid. The thing I remember is the...
Forum: Windows Software Sep 9th, 2006
Replies: 0
Views: 1,137
Posted By okparrothead
Solution Windows Media Player Solutions

Hello Friends,

I came to DaniWeb for solutions to problems I was having with Windows Media Player. By trying things I read here, I found these solutions so I thought I'd share them with you...
Forum: Community Introductions Sep 9th, 2006
Replies: 3
Views: 757
Posted By okparrothead
Hi Friends!

Thanks for the warm welcome Dani! This is my first membership in an Online community, but I've got a good feeling about it already :)

Name: Kevan

Nickname: Papu (My twin Grandsons!!)

Height:...
Showing results 1 to 31 of 31

 
All times are GMT -4. The time now is 5:09 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC