Is there a php function that will recreate the numeric array keys 0
to what ever is in the array or should I just render a new temp array
with a while or foreach loop? I'm trying to do some array
manipulation and not having the array keys in sequence does not work.
Partly I'm trying to create an SQL query with ID='value' OR with a
loop but cannot have an OR after the last entry, so I'm ctrying to
count() the array and use the condition of 'count() - $key > 1' to
insert the OR so that when the last on is reach it does not because
it is = to 1. When the array not in sequence the that last key and
count value will not work together properly.
Sincerely,
Mike
--
Mike Brandonisio * Web Hosting
Tech One Illustration * Internet Marketing
tel (630) 759-9283 * e-Commerce
[EMAIL PROTECTED] * http://www.jikometrix.net
JIKOmetrix - Reliable web hosting
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
SPONSORED LINKS
| Php mysql | Job postings |
YAHOO! GROUPS LINKS
- Visit your group "php-list" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
