[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 339
  • Last Modified:

PHP unset element in Array

$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
willsherwood
Asked:
willsherwood
1 Solution
 
Dave BaldwinFixer of ProblemsCommented:
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
 
willsherwoodAuthor Commented:
your encouragement helped me find it!
thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now