Solved

PHP unset element in Array

Posted on 2013-02-04
2
304 Views
Last Modified: 2013-02-04
$Row = mysql_fetch_row($Results);
...   utilize singularly $Row[0], then dispense with it so i can use implode on the remaining ...            
unset($Row[0]);
print_r($Row);

result still includes $Row[0]   -  please advise how to "delete" Row[0]
( i tried array_shift and others)

Array ( [0] => 45083 [1] => 45083 [2] => 7164 [3] => xxx@yahoo.com [4] => 2015-12-15  ... )
0
Comment
Question by:willsherwood
2 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 38853404
unset($Row[0]); works fine here on a row from mysql and on a plain array.  There must be something else going on.  You'll have to post more of your code.
0
 

Author Closing Comment

by:willsherwood
ID: 38853444
your encouragement helped me find it!
thanks
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Wordpress Pagination Function Not working ? 7 28
does post require a form or curl to be post 4 29
two ways encryption with php 3 24
website maintenance mode 1 15
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now