Your are totally right, 30s after posting the message I noticed the ; misses. I was so focused on the global behavior of the iui that I did'n't check the basics Sorry for the thread !
I want to repeat that this framework is excellent Joël On 1 sep, 22:26, Steve Blair <[email protected]> wrote: > Sorry to state the obvious, and it's probably not the case but none of > your example lines in test.php are terminated with ";". This would of > course produce a blank screen. Is that what's happening? > --------------------------------------------------- > Steve Blair > [email protected] > > It's not over until I win! > --------------------------------------------------- > > On 01/09/2009, at 7:41 PM, Joel wrote: > > > > > First of all I want to say that I was amaze on the quality of the > > framework : simple and powerfull > > I have developed a full iPhone application without any burden except > > the following one > > > After a search which is handled in php using a clientsearch.php file > > (without any problems) I want to add the aility to select one of the > > returned items and call for a detailed page. > > > the php building of the returned list is based on an XML tree which is > > returned from an application server. > > > ... > > $xmlClients=new simpleXMLElement(call_gestour($XML)); > > echo '<ul id="listings" title="Client list">'; > > foreach($xmlClients->xpath('//CLI') as $item) > > { > > if ($item->TIE) > > { > > $id=$item->TIE->O; > > $nom=$item->TIE->TINCP; > > $email=$item->TIE->TIEMA; > > $tel=$item->TIE->TITEL; > > $pays=""; > > $ville=""; > > if ($item->TIE->ADBAS) > > { > > $pays=$item->TIE->ADBAS->ADPAY; > > $ville=$item->TIE->ADBAS->ADVIL; > > } > > > echo '<li>'; > > echo '<a class="listing" href="test.php">'.$nom.'</a>'; > > echo '<p class="listingDetails">'; > > echo strtolower($ville); > > if ($email!="" && stripos($email, "@")>0) > > echo " mail:".strtolower($email); > > if ($tel!="") > > echo " phone:".$tel; > > echo '</li>'; > > } > > } > > echo '</ul>'; > > > Notice above that when I try to use a test.php file with simple php > > statements as > > > <?php > > > echo '<div title="View client" class="panel"> ' > > echo ' <h2>Jacques Maillot</h2> ' > > echo ' <fieldset> ' > > echo ' <div class="row"> ' > > echo ' <label class="cui">mobile</label> ' > > ... > > > When clicking on a displayed list item Nothing happens, even no > > > If instead I call a "test.html" file without php (using > > > ... > > echo '<li>'; > > echo '<a class="listing" href="test.html">'.$nom.'</a>'; > > ... > > > The page is displayed the right way (but as it is fully static it is > > non usable) > > > What am i missing ? > > An extra attribute to add to the <li> ? to the <a> ? > > Does the class "listing" permit the usage of php calls (I have no idea > > why if it is the case) > > > TIA if someone has a clue to solve my issue. > > > Joël --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
