Ditutup

Issue with array PHP

Hi

I want to fix this code

Why it shows Not found as result ?

<?

$src = "door";

$allow_src = "<src><s1>house</s1><s2>door</s2></src>";

$allow_src_count = substr_count($allow_src,"</s");

$i=1;

while ($i <= $allow_src_count-1){

preg_match('/<s'.$i.'>(.*?)<\/s'.$i.'>/is',$allow_src,$matches);

$src_arr[] = $matches;

$i++;

}

if(empty($src_arr)){ echo "empty"; }else { echo "not empty "; }

if(in_array($src, $src_arr) != TRUE)

{

echo "Not Found";

} else {echo "Found";}

?>

Kemahiran: HTML, PHP, Kejuruteraan Perisian

Lihat lagi: php echo array values, php 7 array vs object performance, php multidimensional associative array, php object array, php while array, foreach array php, php array access, php array reference, hi - i need someone to take a list of ~115 names and addresses that are currently in word and move them into, hi i am looking for someone to craft our pdf documents in word we will send you 200 k version of documents hi i am looking for s, hi i am peter a freelancer based in england, hi i need someone to take a list of 115 names and addresses that are currently in word and move them into, i m a bca and php holder find job in uae, hi tech ahmedabad in php developer, Write an iPhone application Hi,i have done unity3d project and i want to convert mac build in dmg build so if any one know how , Hi I am a fast and experience data entry operator and I’m very interested in your job post involving data scrapping. I have g, Hi, I am Erp Project manager and C# .NET Framework Developer currently employed in one of the biggest software development comp, Hi. I am in need of driving traffic to my client\ s site , Hi i have over 15 years of experiance in export amport documentation,freight for warding customs clearence.., Hi! I am looking for a logo design for my website. It will be: TourBooking.com.au I need the web address in the logo as above.

Tentang Majikan:
( 32 ulasan ) muscat, Oman

ID Projek: #19627543

34 pekerja bebas membida secara purata $20 untuk pekerjaan ini

TakeReal

Hello, My name is Sergey. I am Freelancer from Saint Petersburg, Russia. I debug your code. One row is wrong. 2000+ successfully completed projects speak for me. Links and reviews from my past clients available Lagi

$15 USD dalam sehari
(1789 Ulasan)
8.1
abugosia

Hello, I'm Abu Gosia. I'm interesting in your project very well. I m quite well experienced in these jobs. Let's go ahead with me. Thanks

$15 USD dalam 0 hari
(167 Ulasan)
6.8
batasoy

Hi Already solved the issue, pretty simple You can contact me for answer. Best regards; Baris Atasoy

$14 USD dalam sehari
(67 Ulasan)
6.3
ludwig333

Hello ! I am a full stack developer for over 5 years on the freelancer.com. I have read your description in more detail and have much interest in your project. I have many experiences what I have ever done before sim Lagi

$12 USD dalam sehari
(52 Ulasan)
6.1
websolupro

Hello, I know why your code is not working your are not matching data correctly. I can fix your code now. Let me know the further requirements if you have. It would be great if we can have a quick chat to better under Lagi

$12 USD dalam 7 hari
(72 Ulasan)
6.0
samair0

hello , my name is samair , i have very good grip in php let me know i will do your task asap and perfect thanks

$17 USD dalam 10 hari
(166 Ulasan)
5.8
anshulikabansal

Hello Zoom, I found the issue and fix it. I have test at my localhost, it matching and resulting as found now. Please ping me so I can show you the output and you can award the project. Looking forward for your repl Lagi

$15 USD dalam sehari
(83 Ulasan)
5.8
gauravgargcs

hello, i can fix your code which you want , please come on chat so we can share your work , thank you .

$20 USD dalam sehari
(61 Ulasan)
6.2
MikeJones915

Hi I read your requirements carefully. I have experience in php . If you give me the assignment, I will satisfy u with good result. If you want to, I can show you the source code of the tasks I have already done. Lagi

$25 USD dalam 0 hari
(33 Ulasan)
4.9
bluebear1888

**************Hi! Nice to meet you!! We have over 10 years IT experience as a back-end, front-end. We've been successfully completing many projects from simple project to complex one. Our key skills are: C - Jav Lagi

$20 USD dalam 10 hari
(26 Ulasan)
4.7
noamanahmed

Hello I can fix this for you in no time Regards .. Noaman Ahmed

$10 USD dalam sehari
(53 Ulasan)
4.8
Mexi2705

Hello I can fix this array issue in php let's connect and discuss in details So i can help you to fix this things Thanks you

$18 USD dalam 2 hari
(18 Ulasan)
4.7
aswebsmart

Hi, I have read through your job descriptions, and I understand all of the requirements. I am applying because I believe that I have the required skill set to complete your project. I have been working as a PHP develo Lagi

$20 USD dalam sehari
(31 Ulasan)
4.5
manpreetkaur991

Hello, Greetings!!!! I am HTML/CSS expert. I have read your project description and come to know that you want to fix the code error I can easily fix the error. I will be able to deliver the work on time. And I a Lagi

$200 USD dalam 2 hari
(12 Ulasan)
4.7
Letusstart2010

Dear Employer, I read the job details and absolutely sure that I can do the job very well. I've proven skills in PHP, MYSQL, Codeigniter, Yii, RESTful API, JSON, XML, Payment Integrations, HTML, CSS, and Jquery with Lagi

$10 USD dalam sehari
(11 Ulasan)
3.6
w3tridip2017

Hi, I've read carefully of your job description about "Issue with array PHP".I am a professional "Full Stack Web Developer".I have more than five years experience in Web Development. Your satisfaction with the pro Lagi

$10 USD dalam 0 hari
(25 Ulasan)
3.9
andrescoslop

Hello, my name is Andrew and I'm a web developer. So I can fix PHP code for you. .

$17 USD dalam 10 hari
(2 Ulasan)
3.2
star314

Hi,Dear I read your project . I am an expert in web design and web development. i have ever been similar project with your project We have a team of web developers who have designed and developed many websites for o Lagi

$17 USD dalam 10 hari
(8 Ulasan)
3.4
tomas0427aw

Hello, I see that you need to fix your PHP code. I already have found a fix for it with explanation. Looking forward to hearing from you

$12 USD dalam sehari
(7 Ulasan)
3.1
farsatech

Hi! Hope you are doing great. My name is Satyajit an expert PHP , i can assist you to fix the code. I believe communication Is the key to any successful project and I would like to start things off on the right foo Lagi

$10 USD dalam 10 hari
(6 Ulasan)
3.0