(1)You have a PHP 1 dimensional array. Please write a PHP function that takes 1 array as its parameter and returns an array. The function must delete values in the input array that shows up 3 times or more? For example, if you give the function array(1, 3, 5, 2, 6, 6, 6, 3, 1, 9) the funciton will return array(1, 3, 5, 2, 3, 1, 9)
(2) What is the PHP code to echo an image path in the existing wordpress theme without hard coding the url / file path?
imti321
35
Light Poster
Recommended Answers
Jump to PostPlease write a PHP function...
As a member with 120 posts at the time of typing, you should be aware of our requirements. Please read the house rules and the php sticky. So please no more "gimme" threads.
Show what you've done so far.
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.