Need to edge out the competition for your dream job? Train for certifications today.
<?php // RAY_temp_gvilla23.php
// FROM THE POST AT EE
$xml = <<<XML
<?xml version="1.0" encoding="ISO-8859-1"?>
<title>SQUARE ENIX MEMBERS REWARDS 2009</title>
<involvement>DESIGN, FROM CONCEPT TO FINAL PACKAGING</involvement>
// MAKE AN OBJECT
$obj = SimpleXML_Load_String($xml);
// ACTIVATE THIS TO VISUALIZE THE OBJECT
// IF WE HAVE A GET ARGUMENT
// USE ONLY NUMBERS
$id = preg_replace('#[^0-9]#', NULL, $_GET["id"]);
// ITERATE OVER THE POPUP OBJECTS
foreach ($obj->popup as $popup)
// FIND THE MATCHING ID(S)
if ($popup->id == $id)
$t = (string)$popup->title;
$c = (string)$popup->client;
echo PHP_EOL . $t . ' ' . $c;
// PUT UP THE FORM TO RECEIVE THE ID WE WANT TO SEARCH
ENTER THE ID NUMBER:
<input name="id" />
<input type="submit" />
Open in new window
Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.