Suljettu

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";}

?>

Taidot: HTML, PHP, tietojärjestelmäarkkitehtuuri

Näytä lisää: 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.

Tietoa työnantajasta:
( 32 arvostelua ) muscat, Oman

Projektin tunnus: #19627543

34 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

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 Lisää

$15 USD 1 päivässä
(1789 arvostelua)
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 0 päivässä
(167 arvostelua)
6.8
batasoy

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

$14 USD 1 päivässä
(67 arvostelua)
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 Lisää

$12 USD 1 päivässä
(52 arvostelua)
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 Lisää

$12 USD 7 päivässä
(72 arvostelua)
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 10 päivässä
(166 arvostelua)
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 Lisää

$15 USD 1 päivässä
(83 arvostelua)
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 1 päivässä
(61 arvostelua)
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. Lisää

$25 USD 0 päivässä
(33 arvostelua)
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 Lisää

$20 USD 10 päivässä
(26 arvostelua)
4.7
noamanahmed

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

$10 USD 1 päivässä
(53 arvostelua)
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 2 päivässä
(18 arvostelua)
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 Lisää

$20 USD 1 päivässä
(31 arvostelua)
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 Lisää

$200 USD 2 päivässä
(12 arvostelua)
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 Lisää

$10 USD 1 päivässä
(11 arvostelua)
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 Lisää

$10 USD 0 päivässä
(25 arvostelua)
3.9
andrescoslop

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

$17 USD 10 päivässä
(2 arvostelua)
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 Lisää

$17 USD 10 päivässä
(8 arvostelua)
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 1 päivässä
(7 arvostelua)
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 Lisää

$10 USD 10 päivässä
(6 arvostelua)
3.0