Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 28
Search took 0.08 seconds.
Search: Posts Made By: mfoland
Forum: PHP 04-29-2013, 03:06 AM
Replies: 2
Views: 178
Posted By mfoland
Can you help me out with this? I'll be glad to...

Can you help me out with this? I'll be glad to credit you.. This is not something i've done.. The colors were going to be red or green depending on the type I put. Thanks
Forum: PHP 04-28-2013, 07:43 AM
Replies: 2
Views: 178
Posted By mfoland
Exclamation Creating Coordinates on a background map using MySQL

Hello,

I've been trying to work with the imagecreatefromgif, and I had a background image http://severewx.mradio105fm.com/map-img/basemap_white2.gif

something like this <? $basemap=...
Forum: PHP 11-29-2012, 06:05 AM
Replies: 35
Views: 1,190
Posted By mfoland
See on page 1 where I had my database using a...

See on page 1 where I had my database using a function to get stuff. That'll get you started.
Forum: PHP 11-28-2012, 08:39 PM
Replies: 35
Views: 1,190
Posted By mfoland
Thumbs up Admin can change this to RESOLVED

Admin can change this to RESOLVED
Forum: PHP 11-28-2012, 08:31 PM
Replies: 35
Views: 1,190
Posted By mfoland
I'll consider this RESOLVED. I changed to this: ...

I'll consider this RESOLVED. I changed to this:

if ((($currentpage / 20) + 20) + 1))

and then the echo for the link went to

$current /20 +20)

Solution solved! Just needed some sleep and...
Forum: PHP 11-28-2012, 06:58 AM
Replies: 35
Views: 1,190
Posted By mfoland
I'm ok with how the pagination is now 1-20 21-40...

I'm ok with how the pagination is now 1-20 21-40 etc.. but if I do page=20 I'd like for the 21-40 to bold.. I'm stuck at this point!
Forum: PHP 11-28-2012, 06:51 AM
Replies: 35
Views: 1,190
Posted By mfoland
On the last part of the script, I adjusted the +1...

On the last part of the script, I adjusted the +1 to * 20. The only thing is the number will not bold.
Forum: PHP 11-28-2012, 05:28 AM
Replies: 35
Views: 1,190
Posted By mfoland
The only thing I could think of is if I change...

The only thing I could think of is if I change the +1 in the link to say $current it'd work, but it didn't even work.. That's why I sent the reply asking for help as to what to change.
Forum: PHP 11-28-2012, 05:21 AM
Replies: 35
Views: 1,190
Posted By mfoland
Yes it is..

Yes it is..
Forum: PHP 11-28-2012, 05:15 AM
Replies: 35
Views: 1,190
Posted By mfoland
?page=41 That! So when I click on the...

?page=41

That!

So when I click on the link it goes by 20s instead of one.

EDIT.. I'll give you an example.. The default is page= 0 so 1-20 should be bold.. although it doesn't for that. But...
Forum: PHP 11-28-2012, 05:04 AM
Replies: 35
Views: 1,190
Posted By mfoland
This is the only project I need help with.. How...

This is the only project I need help with.. How do I get the page to increase or decrease by say 20.. On the links I need it to echo the <?=$current?> so if I click 41-60 the page would say 41
Forum: PHP 11-28-2012, 05:03 AM
Replies: 35
Views: 1,190
Posted By mfoland
I'm thinking while having the 1-20 say start = 0...

I'm thinking while having the 1-20 say start = 0 the next would say that first number... example the 41-60 say start = 41.. I can think of it, but to code it, is the hard part, well with the...
Forum: PHP 11-28-2012, 05:00 AM
Replies: 35
Views: 1,190
Posted By mfoland
That worked.. I'm learning.. Thanks! Now...

That worked.. I'm learning.. Thanks!

Now when I click the link instead of it going by one.. I need it to still go by 20.. My start needs to be 0 for the 1-20 records to show.. So 0 + 20 obviously...
Forum: PHP 11-28-2012, 04:08 AM
Replies: 35
Views: 1,190
Posted By mfoland
Also, I went to another page, and my first link...

Also, I went to another page, and my first link for the 0-20 disappeared. hmm

Edit.. nevermind on that. Was experiencing with the $current value! Still figuring out how to make it say 1-20 if i'm...
Forum: PHP 11-28-2012, 04:02 AM
Replies: 35
Views: 1,190
Posted By mfoland
Right.. My start is 0 because in my script above...

Right.. My start is 0 because in my script above in the beginning if the start is 0 it'll show 1-20 ;)
Forum: PHP 11-28-2012, 03:53 AM
Replies: 35
Views: 1,190
Posted By mfoland
I got it figured out.. but My start = 0 should be...

I got it figured out.. but My start = 0 should be showing 1-20 on the pagination but it's showing 1-21.. Very interesting!
Forum: PHP 11-28-2012, 03:39 AM
Replies: 35
Views: 1,190
Posted By mfoland
I'm new to this.. That's why... On the insert...

I'm new to this.. That's why... On the insert url.. I can do page or current page? = $current, right? I had a pagination that was only previous and next and that it had my start=$next = $current + 20...
Forum: PHP 11-28-2012, 01:56 AM
Replies: 35
Views: 1,190
Posted By mfoland
Tried that and I got a blank page.. hmm. I even...

Tried that and I got a blank page.. hmm. I even did the page = and went from there.
EDIT-- The Echo was wrong there.. but After fixing that, it would repeat 1-19 a ton of times. $cnt should be...
Forum: PHP 11-27-2012, 11:02 PM
Replies: 35
Views: 1,190
Posted By mfoland
That sounds good because I'm not sure that people...

That sounds good because I'm not sure that people understand that this style of pagination:

1-20 21-40 41-60 61-80 81-100 101-120 121-140 141-160 161-180 181-200 201-220 221-240 ...
Forum: PHP 11-27-2012, 10:57 PM
Replies: 35
Views: 1,190
Posted By mfoland
I'm wanting the style that goes 1-20 21-40, etc...

I'm wanting the style that goes 1-20 21-40, etc as a pagination like on my link before :)
Forum: PHP 11-27-2012, 07:10 AM
Replies: 35
Views: 1,190
Posted By mfoland
If you can help me build what i'm wanting, i'll...

If you can help me build what i'm wanting, i'll be more than glad to link to you or whatever :)
Forum: PHP 11-27-2012, 07:07 AM
Replies: 35
Views: 1,190
Posted By mfoland
That looks like something I've used. I've done...

That looks like something I've used. I've done the previous and next, but I really was wanting the text links like on: http://www.lite945.com/iplaylist/playlist.html at the bottom..

How hard is...
Forum: PHP 11-27-2012, 06:48 AM
Replies: 35
Views: 1,190
Posted By mfoland
Also I have a get value called start. So it's...

Also I have a get value called start. So it's like playlist.php?start=0. If start is 0 1-20 songs will show and so forth. I can't seem to figure this pagination out. Can ya help with that? I can't...
Forum: PHP 11-27-2012, 05:46 AM
Replies: 35
Views: 1,190
Posted By mfoland
I was actually looking to do the range like that...

I was actually looking to do the range like that at the bottom.. No buttons.. Just the 1-20, etc and if on that page.. say start= 20 then 21-40 would be bold with no <a href="> tag
Forum: PHP 11-27-2012, 03:25 AM
Replies: 35
Views: 1,190
Posted By mfoland
Creating PHP Pagination

Hello,

I'm stuck on creating a php pagination script that I want. I've tried loops, etc, and it's not doing the job.. Here's my code for my database that gets what I have now using previous and...
Showing results 1 to 25 of 28

 
Forum Jump

All times are GMT +1. The time now is 09:10 AM.