How can i parse all names from html with regular expression. So, I tried so much, but couldnt.
I want only collect name, surnames and code from this html.
Like this;
Edward Michael 1000,
John Kramer 2000,
David Duncan 3000 ..etc
<div class="rightside">
<div style="display: block">
<div class="frame preBack">
<div class="framelist">
<ul>
<li uid ="1" code="1000" class="framerow frm0">
<div class="frm name" >
Edward
</div>
<div class="frm surname">
Michael
</div>
</li>
<li uid ="2" code="2000" class="framerow frm1">
<div class="frm name" >
John
</div>
<div class="frm surname">
Kramer
</div>
</li>
</ul>
</div>
</div>
<div class="frame preBack">
<div class="framelist">
<ul>
<li uid ="3" code="3000" class="framerow frm3">
<div class="frm name" >
David
</div>
<div class="frm surname">
Duncan
</div>
</li>
<li uid ="4" code="4000" class="framerow frm4">
<div class="frm name" >
Alice
</div>
<div class="frm surname">
Pole
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
Gracias.
Here is the required output : using Jquery
http://jsfiddle.net/afsar_zan/VaDVE/1/
console.log($.each('.frm name','.frm surname').text());
Related
I using php to display result to my page and I did a bit of styling using bootstrap
<div class="alert alert-success" role="alert">
<?php
if(isset($_POST['submit'])){ //check if form was submitted
include "assets/backend/newsletter.php";
}
?>
</div>
Even the php code is not executed I can see the blank panel.
How can I get rid of that?
[Image for reference.][1]I think on ur case this makes way much more sens then what are u doing up there:
<?php
if(isset($_POST['submit'])){ ?>
<div class="alert alert-success" role="alert">
<?php include "assets/backend/newsletter.php"; ?>
</div>
<?php}?>
This way if the form was submitted the panel will appear if not submitted the panel will not be visible.
footer.php
<div class="container">
<div class="row">
<?php
if(isset($_POST['submit'])){
echo '<div class="alert alert-success" role="alert"> ';
include 'assets/backend/newsletter.php';
echo '</div>';
}
?>
</div>
<div class="container-fluid" style="background-color:#222222">
<div class="row">
<div class="container" style="margin-top:15px;
margin-bottom:15px">
<div class="col-lg-4" style="color:#f3f6f9">
<img src="images/pc%20logo.png" width="80px" height="80px">
<h4 >
PLACEMENT
<cell style="font-weight:bold">CELL</cell>
</h4>
<p>Nehru Nagar, Ring Road <br>New Delhi <br>
Ph :(+91) 964 328 0581<br>
Email : placements.pgdav#gmail.com
</p>
<a href="https://www.facebook.com/pgdavplacements"> <img src="images/f.png" height="30px" width="30px" >
</a>
<img src="images/i.png" height="30px" width="30px">
<img src="images/linkedin.png" height="30px" width="30px">
</div>
<div class="col-lg-4" style="color:#f3f6f9;
padding-top:30px">
<h4>Subscribe to Our Newsletter</h4>
<form action=" " method="post">
<div class="form-group">
<input class="form-control" type="text"
id="inputemail" name="email_newsletter" placeholder="Your Email ID">
</div>
<input type="submit" name="submit" class="btn btn-default" value="subscribe">
</form>
</div>
<div class="col-lg-4" style="color:#f3f6f9;
padding-top:29px">
<h4>Links</h4>
<ol class="breadcrumb">
<li>Home</li>
<li>About Cell</li>
<li>Registration</li>
<li>Contact Us</li>
</ol>
</div>
</div>
<div class="container-fluid" style="background-color:#f3f6f9">
<div class="row">
<div class="container" style="padding-top:7px">
<div class="col-lg-6 col-sm-12 col-xs-12">© All the Rights Reserved with Placement Cell</div>
<div class="col-lg-6 col-sm-12 col-xs-12" style="text-align:right">Developed By Bhanu Singh</div>
</div>
</div>
</div>
</div>
</div></div>
or this:
<div class="container">
<div class="row">
<?php
if(isset($_POST['submit'])){ ?>
<div class="alert alert-success" role="alert">
<?php
include 'assets/backend/newsletter.php';
?>
</div>
<?php
}
?>
</div>
<div class="container-fluid" style="background-color:#222222">
<div class="row">
<div class="container" style="margin-top:15px;
margin-bottom:15px">
<div class="col-lg-4" style="color:#f3f6f9">
<img src="images/pc%20logo.png" width="80px" height="80px">
<h4 >
PLACEMENT
<cell style="font-weight:bold">CELL</cell>
</h4>
<p>Nehru Nagar, Ring Road <br>New Delhi <br>
Ph :(+91) 964 328 0581<br>
Email : placements.pgdav#gmail.com
</p>
<a href="https://www.facebook.com/pgdavplacements"> <img src="images/f.png" height="30px" width="30px" >
</a>
<img src="images/i.png" height="30px" width="30px">
<img src="images/linkedin.png" height="30px" width="30px">
</div>
<div class="col-lg-4" style="color:#f3f6f9;
padding-top:30px">
<h4>Subscribe to Our Newsletter</h4>
<form action=" " method="post">
<div class="form-group">
<input class="form-control" type="text"
id="inputemail" name="email_newsletter" placeholder="Your Email ID">
</div>
<input type="submit" name="submit" class="btn btn-default" value="subscribe">
</form>
</div>
<div class="col-lg-4" style="color:#f3f6f9;
padding-top:29px">
<h4>Links</h4>
<ol class="breadcrumb">
<li>Home</li>
<li>About Cell</li>
<li>Registration</li>
<li>Contact Us</li>
</ol>
</div>
</div>
<div class="container-fluid" style="background-color:#f3f6f9">
<div class="row">
<div class="container" style="padding-top:7px">
<div class="col-lg-6 col-sm-12 col-xs-12">© All the Rights Reserved with Placement Cell</div>
<div class="col-lg-6 col-sm-12 col-xs-12" style="text-align:right">Developed By Bhanu Singh</div>
</div>
</div>
</div>
</div>
</div></div>
tested both options are workin;
guys I am doing some stuff which is related to rssfeed. I built a page for rss feed all the things are going well but when I try to test the feed or use the feed I can't, Here is my code. Actually I am building rss feed for my blogger so I want to be it like that, any ways just tell me where am I wrong
<?php
require_once('simple_html_dom.php');
$html = new simple_html_dom();
$xml=simplexml_load_file("ad.xml");
header('Content-Type: application/atom+xml');
$b="<?xml version='1.0' encoding='UTF-8'?>
<feed>";
echo $b;
foreach($xml->url as $s){
$s=$s->loc;
$html = file_get_html($s);
$element= $html->find('div[class=post-content clear-block]');
// Find all links
$vez=$html->find('div[class=post-date]');
$p = '|<a [^>]*href="http://onlinegamesocean.com[^"]*"[^>]*>.*</a>|iU';
$h = $html->find('h1[class=title]');
if(empty($vez)){
foreach($h as $ha){
echo "<entry><title type='text'>".htmlentities($ha->plaintext)."</title>";
}
foreach($element as $a) {
if ($a === end($element))
echo "<content type='html'>".htmlentities(preg_replace($p, '', $a))."</content></entry>";
}
}
}
echo "</feed>";
?>
Output:
<?xml version='1.0' encoding='UTF-8'?>
<feed><entry><title type='text'>Offworld Trading Company Free Download</title><content type='html'><div class="post-content clear-block"> <p style="text-align: center;"></p> <h5>ABOUT THE GAME</h5> <p>Mars has been colonized and has invited you to lend a hand to make sure the new colony has a shot at success. But you’re not the only one that’s been invited, other business rivals are here as well and they have no qualms about playing dirty to gain the choicest territories on the Martian surface and driving their competitors out of business.</p> <p>Title: Offworld Trading Company<br /> Genre: Indie, Simulation, Strategy<br /> Developer: Mohawk Games<br /> Publisher: Stardock Entertainment<br /> Release Date: 28 Apr, 2016</p> <p><img class="lazy lazy-hidden" src="data:image/gif;base64,R0lGODdhAQABAPAAAP///wAAACwAAAAAAQABAEACAkQBADs=" data-cke-saved-src="data:image/gif;base64,R0lGODdhAQABAPAAAP///wAAACwAAAAAAQABAEACAkQBADs=" data-lazy-type="image" data-lazy-src="http://i57.tinypic.com/5oi24i.jpg" /><strong>Offworld.Trading.Company.DLC-BAT </strong>{ <a href="http://www13.zippyshare.com/v/5n5nCVek/file.html" target="_blank" data-cke-saved-href="http://www13.zippyshare.com/v/5n5nCVek/file.html">Download </a>| <a href="https://www.sendspace.com/file/5jvzun" target="_blank" data-cke-saved-href="https://www.sendspace.com/file/5jvzun">Download </a>| <a href="https://openload.co/f/tiwRzi0Uf9c/b-oftrcodlc.rar" target="_blank" data-cke-saved-href="https://openload.co/f/tiwRzi0Uf9c/b-oftrcodlc.rar">Download </a>| <a href="http://hugefiles.net/4ku46juf0xty" target="_blank" data-cke-saved-href="http://hugefiles.net/4ku46juf0xty">Download </a>| <a href="https://1fichier.com/?duu3oi6j1g" target="_blank" data-cke-saved-href="https://1fichier.com/?duu3oi6j1g">Download </a>| <a href="https://userscloud.com/9aowye1vsf04" target="_blank" data-cke-saved-href="https://userscloud.com/9aowye1vsf04">Download </a>| <a href="http://up07.net/4yz42d55gvi4" target="_blank" data-cke-saved-href="http://up07.net/4yz42d55gvi4">Download </a>| <a href="http://jheberg.net/captcha/b-oftrcodlc/" target="_blank" data-cke-saved-href="http://jheberg.net/captcha/b-oftrcodlc/">Download </a>| <a href="http://www.multiup.org/download/329c0ab802c97f5a48a728ea27000235/b-oftrcodlc.rar" target="_blank" data-cke-saved-href="http://www.multiup.org/download/329c0ab802c97f5a48a728ea27000235/b-oftrcodlc.rar">Download </a>}</p> <p>DLC’s:<br /> • Offworld Trading Company – Real Mars Map Pack DLC<br /> • Offworld Trading Company – Almanac DLC</p> <p>Note:<br /> • Game prompts an early access notice on first run, but it is out of EA state as also evident on the version number v1.0.12745<br /> • Also the DLC’s only became available after EA state changed</p> <p>Offworld Trading Company Free Download<br /> Size: 656 MB<br /> ——————————-</p> <p><strong>ONE FTP LINK</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"></div> </div> <p><strong>DIRECT LINK</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="http://kumpulbagi.id/anas45/anas45-363423/hi-oftrco,2697520.iso" target="_blank" data-cke-saved-href="http://kumpulbagi.id/anas45/anas45-363423/hi-oftrco,2697520.iso">Offworld.Trading.Company-HI2U.iso</a></div> </div> <p><strong>OPENLOAD</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="https://openload.co/f/1b-KUEcxT8g/hi-oftrco.iso" target="_blank" data-cke-saved-href="https://openload.co/f/1b-KUEcxT8g/hi-oftrco.iso">Offworld.Trading.Company-HI2U.iso</a></div> </div> <p><strong>UP07</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="http://up07.net/uyr0e7zq4mxt" target="_blank" data-cke-saved-href="http://up07.net/uyr0e7zq4mxt">Offworld.Trading.Company-HI2U.iso</a></div> </div> <p><strong>1FICHIER</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="https://1fichier.com/?c8p9sz5gci" target="_blank" data-cke-saved-href="https://1fichier.com/?c8p9sz5gci">Offworld.Trading.Company-HI2U.iso</a></div> </div> <p><strong>UPTOBOX</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="http://uptobox.com/5ovs6xtrdamz" target="_blank" data-cke-saved-href="http://uptobox.com/5ovs6xtrdamz">Offworld.Trading.Company-HI2U.iso</a></div> </div> <p><strong>HUGEFILES</strong></p> <!-- Quick Adsense WordPress Plugin: http://quicksense.net/ --> <div style="float:none;margin:10px 0 10px 0;text-align:center;"> <center><script language='Javascript'> <!-- document.write(unescape('%3C%64%69%76%20%73%74%79%6C%65%3D%22%68%65%69%67%68%74%3A%32%38%32%70%78%3B%77%69%64%74%68%3A%33%33%36%70%78%3B%6F%76%65%72%66%6C%6F%77%3A%68%69%64%64%65%6E%3B%62%61%63%6B%67%72%6F%75%6E%64%3A%23%63%63%63%3B%22%20%69%64%3D%22%61%64%64%69%76%22%3E%0A%3C%69%66%72%61%6D%65%20%73%74%79%6C%65%3D%22%68%65%69%67%68%74%3A%37%35%30%70%78%3B%77%69%64%74%68%3A%33%33%36%70%78%22%20%73%72%63%3D%22%68%74%74%70%3A%2F%2F%6F%63%63%65%61%6E%67%61%6D%65%73%72%65%76%69%65%77%73%2E%62%6C%6F%67%73%70%6F%74%2E%63%6F%6D%2F%70%2F%32%35%30%2E%68%74%6D%6C%3F%69%64%3D%78%32%6B%67%30%33%6A%22%20%73%63%72%6F%6C%6C%69%6E%67%3D%22%6E%6F%22%20%69%64%3D%22%61%64%66%72%61%6D%65%22%3E%3C%2F%69%66%72%61%6D%65%3E%3C%2F%64%69%76%3E%0A%3C%21%2D%2D%61%64%64%20%6A%71%75%65%72%79%20%69%66%20%6E%6F%74%20%61%64%64%65%64%2D%2D%3E%0A%3C%73%63%72%69%70%74%20%73%72%63%3D%22%68%74%74%70%73%3A%2F%2F%61%6A%61%78%2E%67%6F%6F%67%6C%65%61%70%69%73%2E%63%6F%6D%2F%61%6A%61%78%2F%6C%69%62%73%2F%6A%71%75%65%72%79%2F%31%2E%31%31%2E%33%2F%6A%71%75%65%72%79%2E%6D%69%6E%2E%6A%73%22%3E%3C%2F%73%63%72%69%70%74%3E%0A%3C%21%2D%2D%61%64%64%20%6A%71%75%65%72%79%20%69%66%20%6E%6F%74%20%61%64%64%65%64%2F%2D%2D%3E%0A%3C%73%63%72%69%70%74%3E%6A%51%75%65%72%79%28%77%69%6E%64%6F%77%29%2E%6C%6F%61%64%28%20%66%75%6E%63%74%69%6F%6E%28%29%20%7B%0A%6A%51%75%65%72%79%28%22%23%61%64%66%72%61%6D%65%22%29%2E%6C%6F%61%64%28%20%66%75%6E%63%74%69%6F%6E%28%29%20%7B%6A%51%75%65%72%79%28%27%23%61%64%66%72%61%6D%65%27%29%2E%63%73%73%28%27%68%65%69%67%68%74%27%2C%27%39%30%27%29%0A%73%65%74%54%69%6D%65%6F%75%74%28%20%66%75%6E%63%74%69%6F%6E%28%29%7B%20%6A%51%75%65%72%79%28%27%23%61%64%64%69%76%27%29%2E%63%73%73%28%27%62%61%63%6B%67%72%6F%75%6E%64%27%2C%27%74%72%61%6E%73%70%61%72%65%6E%74%27%29%7D%2C%20%31%30%30%30%20%29%3B%7D%29%3B%0A%24%28%27%23%61%64%66%72%61%6D%65%27%29%2E%6C%6F%61%64%28%20%66%75%6E%63%74%69%6F%6E%28%29%20%7B%24%28%27%23%61%64%66%72%61%6D%65%27%29%2E%63%6F%6E%74%65%6E%74%73%28%29%2E%66%69%6E%64%28%22%62%6F%64%79%22%29%2E%61%64%64%43%6C%61%73%73%28%27%69%66%72%61%6D%65%64%27%29%3B%7D%29%3B%0A%7D%29%3B%3C%2F%73%63%72%69%70%74%3E')); //--> </script></center> </div> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="http://hugefiles.net/q0iqt3v4cy21" target="_blank" data-cke-saved-href="http://hugefiles.net/q0iqt3v4cy21">Offworld.Trading.Company-HI2U.iso</a></div> </div> <p><strong>MEDIAFREE</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="http://mediafree.co/l2y54l6fqew1/hi-oftrco.iso.html" target="_blank" data-cke-saved-href="http://mediafree.co/l2y54l6fqew1/hi-oftrco.iso.html">Offworld.Trading.Company-HI2U.iso</a></div> </div> <p><strong>USERSCLOUD</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="https://userscloud.com/krigot141ekc" target="_blank" data-cke-saved-href="https://userscloud.com/krigot141ekc">Offworld.Trading.Company-HI2U.iso</a></div> </div> <p><strong>JHEBERG</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="http://jheberg.net/captcha/hi-oftrco/" target="_blank" data-cke-saved-href="http://jheberg.net/captcha/hi-oftrco/">Offworld.Trading.Company-HI2U.iso</a></div> </div> <p><strong>GO4UP</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="http://go4up.com/dl/9bffa4cfb5f8/hi-oftrco.iso" target="_blank" data-cke-saved-href="http://go4up.com/dl/9bffa4cfb5f8/hi-oftrco.iso">Offworld.Trading.Company-HI2U.iso</a></div> </div> <p><strong>MULTI LINKS</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="http://www.multiup.org/download/8a76e30e7547e475ff0709052b81235a/hi-oftrco.iso" target="_blank" data-cke-saved-href="http://www.multiup.org/download/8a76e30e7547e475ff0709052b81235a/hi-oftrco.iso">Offworld.Trading.Company-HI2U.iso</a></div> </div> <p><strong>TORRENT</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"></div> </div> <div> <blockquote><p>Enjoy</p></blockquote> </div> <div id="tabs-21031-0-1"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"><strong>MINIMUM:</strong></p> <ul> <li> <ul class="bb_ul"> <li><strong>OS:</strong> Windows 10 / 8.1 / 7 64-bit</li> <li><strong>Processor:</strong> 1.8 GHz Intel Core 2 Duo / 2.0 GHz AMD Athlon X2 64</li> <li><strong>Memory:</strong> 2 GB RAM</li> <li><strong>Graphics:</strong> Nvidia GeForce 8800 GT / ATI Radeon HD 3870 / Intel HD Graphics 4600</li> <li><strong>DirectX:</strong> Version 11</li> <li><strong>Network:</strong> Broadband Internet connection</li> <li><strong>Storage:</strong> 2 GB available space</li> <li><strong>Sound Card:</strong></li> </ul> </li> </ul> </div> <div class="game_area_sys_req_rightCol"><strong>RECOMMENDED:</strong></p> <ul> <li> <ul class="bb_ul"> <li><strong>Processor:</strong> 3 GHz Intel Quad-Core Processor / 3.2 GHz AMD Six-Core Processor</li> <li><strong>Memory:</strong> 4 GB RAM</li> <li><strong>Graphics:</strong> Nvidia GeForce GTX 460 / AMD Radeon HD 7850</li> <li><strong>DirectX:</strong> Version 11</li> <li><strong>Network:</strong> Broadband Internet connection</li> <li><strong>Storage:</strong> 2 GB available space</li> <li><strong>Sound Card:</strong></li> </ul> </li> </ul> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <div id="tabs-21031-0-3"><center><br /> <iframe src="https://www.youtube.com/embed/wHWb_IsM1HU" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></center></div> <div id="tabs-21031-0-4"> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><strong>Offworld Trading Company Free Download</strong><br /> – Extract<br /> – Burn or mount the .iso<br /> – Run setup.exe and install<br /> – Copy Crack<br /> – Play</div> </div> </div> <div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div> <div class="wp_rp_wrap wp_rp_vertical_m" id="wp_rp_first"><div class="wp_rp_content"><h3 class="related_post_title">You May Also Like:</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-22373" data-post-type="none" ></li><li data-position="1" data-poid="in-22225" data-post-type="none" ></li><li data-position="2" data-poid="in-23294" data-post-type="none" ></li><li data-position="3" data-poid="in-21988" data-post-type="none" ></li><li data-position="4" data-poid="in-22659" data-post-type="none" ></li><li data-position="5" data-poid="in-22357" data-post-type="none" ></li></ul></div></div> </div></content></entry><entry><title type='text'>Left Alone Free Download</title><content type='html'><div class="post-content clear-block"> <p style="text-align: center;"></p> <h5>ABOUT THE GAME</h5> <p>Left alone is a psychological horror game set in multiple believable interior and exterior environments. The game has a unique, high octane atmosphere which means you’ll feel like you’re truly beginning an adventure you’ll never quite forget.</p> <p>Title: Left Alone<br /> Genre: Action, Adventure, Indie<br /> Developer: Volumetric Games<br /> Publisher: Volumetric Games<br /> Release Date: 28 Apr, 2016</p> <p>Left Alone Free Download<br /> Size: 680 MB<br /> ——————————-</p> <p><strong>ONE FTP LINK</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"></div> </div> <p><strong>DIRECT LINK</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="http://kumpulbagi.id/anas45/anas45-363423/plaza-left-alone,2696467.iso" target="_blank" data-cke-saved-href="http://kumpulbagi.id/anas45/anas45-363423/plaza-left-alone,2696467.iso">Left.Alone-PLAZA.iso</a></div> </div> <p><strong>OPENLOAD</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="https://openload.co/f/ZYE1o2I-3Vc/plaza-left.alone.iso" target="_blank" data-cke-saved-href="https://openload.co/f/ZYE1o2I-3Vc/plaza-left.alone.iso">Left.Alone-PLAZA.iso</a></div> </div> <p><strong>UP07</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="http://up07.net/5xicihuwfppk" target="_blank" data-cke-saved-href="http://up07.net/5xicihuwfppk">Left.Alone-PLAZA.iso</a></div> </div> <p><strong>1FICHIER</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="https://1fichier.com/?9sy0zkmtaf" target="_blank" data-cke-saved-href="https://1fichier.com/?9sy0zkmtaf">Left.Alone-PLAZA.iso</a></div> </div> <p><strong>UPTOBOX</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="http://uptobox.com/cn3svruftm6y" target="_blank" data-cke-saved-href="http://uptobox.com/cn3svruftm6y">Left.Alone-PLAZA.iso</a></div> </div> <p><strong>DOWNACE</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="https://downace.com/1jjM" target="_blank" data-cke-saved-href="https://downace.com/1jjM">Left.Alone-PLAZA.iso</a></div> </div> <p><strong>HUGEFILES</strong></p> <!-- Quick Adsense WordPress Plugin: http://quicksense.net/ --> <div style="float:none;margin:10px 0 10px 0;text-align:center;"> <center><script language='Javascript'> <!-- document.write(unescape('%3C%64%69%76%20%73%74%79%6C%65%3D%22%68%65%69%67%68%74%3A%32%38%32%70%78%3B%77%69%64%74%68%3A%33%33%36%70%78%3B%6F%76%65%72%66%6C%6F%77%3A%68%69%64%64%65%6E%3B%62%61%63%6B%67%72%6F%75%6E%64%3A%23%63%63%63%3B%22%20%69%64%3D%22%61%64%64%69%76%22%3E%0A%3C%69%66%72%61%6D%65%20%73%74%79%6C%65%3D%22%68%65%69%67%68%74%3A%37%35%30%70%78%3B%77%69%64%74%68%3A%33%33%36%70%78%22%20%73%72%63%3D%22%68%74%74%70%3A%2F%2F%6F%63%63%65%61%6E%67%61%6D%65%73%72%65%76%69%65%77%73%2E%62%6C%6F%67%73%70%6F%74%2E%63%6F%6D%2F%70%2F%32%35%30%2E%68%74%6D%6C%3F%69%64%3D%78%32%6B%67%30%33%6A%22%20%73%63%72%6F%6C%6C%69%6E%67%3D%22%6E%6F%22%20%69%64%3D%22%61%64%66%72%61%6D%65%22%3E%3C%2F%69%66%72%61%6D%65%3E%3C%2F%64%69%76%3E%0A%3C%21%2D%2D%61%64%64%20%6A%71%75%65%72%79%20%69%66%20%6E%6F%74%20%61%64%64%65%64%2D%2D%3E%0A%3C%73%63%72%69%70%74%20%73%72%63%3D%22%68%74%74%70%73%3A%2F%2F%61%6A%61%78%2E%67%6F%6F%67%6C%65%61%70%69%73%2E%63%6F%6D%2F%61%6A%61%78%2F%6C%69%62%73%2F%6A%71%75%65%72%79%2F%31%2E%31%31%2E%33%2F%6A%71%75%65%72%79%2E%6D%69%6E%2E%6A%73%22%3E%3C%2F%73%63%72%69%70%74%3E%0A%3C%21%2D%2D%61%64%64%20%6A%71%75%65%72%79%20%69%66%20%6E%6F%74%20%61%64%64%65%64%2F%2D%2D%3E%0A%3C%73%63%72%69%70%74%3E%6A%51%75%65%72%79%28%77%69%6E%64%6F%77%29%2E%6C%6F%61%64%28%20%66%75%6E%63%74%69%6F%6E%28%29%20%7B%0A%6A%51%75%65%72%79%28%22%23%61%64%66%72%61%6D%65%22%29%2E%6C%6F%61%64%28%20%66%75%6E%63%74%69%6F%6E%28%29%20%7B%6A%51%75%65%72%79%28%27%23%61%64%66%72%61%6D%65%27%29%2E%63%73%73%28%27%68%65%69%67%68%74%27%2C%27%39%30%27%29%0A%73%65%74%54%69%6D%65%6F%75%74%28%20%66%75%6E%63%74%69%6F%6E%28%29%7B%20%6A%51%75%65%72%79%28%27%23%61%64%64%69%76%27%29%2E%63%73%73%28%27%62%61%63%6B%67%72%6F%75%6E%64%27%2C%27%74%72%61%6E%73%70%61%72%65%6E%74%27%29%7D%2C%20%31%30%30%30%20%29%3B%7D%29%3B%0A%24%28%27%23%61%64%66%72%61%6D%65%27%29%2E%6C%6F%61%64%28%20%66%75%6E%63%74%69%6F%6E%28%29%20%7B%24%28%27%23%61%64%66%72%61%6D%65%27%29%2E%63%6F%6E%74%65%6E%74%73%28%29%2E%66%69%6E%64%28%22%62%6F%64%79%22%29%2E%61%64%64%43%6C%61%73%73%28%27%69%66%72%61%6D%65%64%27%29%3B%7D%29%3B%0A%7D%29%3B%3C%2F%73%63%72%69%70%74%3E')); //--> </script></center> </div> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="http://hugefiles.net/eotqcncouwxj" target="_blank" data-cke-saved-href="http://hugefiles.net/eotqcncouwxj">Left.Alone-PLAZA.iso</a></div> </div> <p><strong>MEDIAFREE</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="http://mediafree.co/7fwl6l1mrhpy/plaza-left.alone.iso.html" target="_blank" data-cke-saved-href="http://mediafree.co/7fwl6l1mrhpy/plaza-left.alone.iso.html">Left.Alone-PLAZA.iso</a></div> </div> <p><strong>USERSCLOUD</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="https://userscloud.com/gk64s7p2nxu9" target="_blank" data-cke-saved-href="https://userscloud.com/gk64s7p2nxu9">Left.Alone-PLAZA.iso</a></div> </div> <p><strong>JHEBERG</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="http://jheberg.net/captcha/plaza-leftalone/" target="_blank" data-cke-saved-href="http://jheberg.net/captcha/plaza-leftalone/">Left.Alone-PLAZA.iso</a></div> </div> <p><strong>GO4UP</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="http://go4up.com/dl/12a9e74f7690/plaza-left.alone1.iso" target="_blank" data-cke-saved-href="http://go4up.com/dl/12a9e74f7690/plaza-left.alone1.iso">Left.Alone-PLAZA.iso</a></div> </div> <p><strong>MULTI LINKS</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><a href="http://www.multiup.org/download/e3e833e74d99bb97f9047796ad546da3/plaza-left.alone.iso" target="_blank" data-cke-saved-href="http://www.multiup.org/download/e3e833e74d99bb97f9047796ad546da3/plaza-left.alone.iso">Left.Alone-PLAZA.iso</a></div> </div> <p><strong>TORRENT</strong></p> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"></div> </div> <div> <blockquote><p>Enjoy</p></blockquote> </div> <div id="tabs-21024-0-1"> <div class="game_area_sys_req_leftCol"> <div class="game_area_sys_req_leftCol"> <p><strong>MINIMUM:</strong></p> <ul> <li> <ul class="bb_ul"> <li><strong>OS:</strong> Windows 7 64-bit</li> <li><strong>Processor:</strong> Quad-core CPU ~ 2.5Ghz</li> <li><strong>Memory:</strong> 2 GB RAM</li> <li><strong>Graphics:</strong> GTX 560m / HD6870 1GB or equivalent</li> <li><strong>DirectX:</strong> Version 10</li> <li><strong>Storage:</strong> 1 GB available space</li> </ul> </li> </ul> </div> </div> </div> <div id="tabs-21024-0-3"><center><br /> <iframe src="https://www.youtube.com/embed/EPe5_1wp44Y" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></center></div> <div id="tabs-21024-0-4"> <div class="codecolorer-container text twitlight"> <div class="text codecolorer"><strong>Left Alone Free Download</strong><br /> 1. Extract release<br /> 2. Mount ISO<br /> 3. Install the game<br /> 4. Copy crack from the PLAZA folder<br /> 5. Play!</div> </div> </div> <div style="font-size:0px;height:0px;line-height:0px;margin:0;padding:0;clear:both"></div> <div class="wp_rp_wrap wp_rp_vertical_m" id="wp_rp_first"><div class="wp_rp_content"><h3 class="related_post_title">You May Also Like:</h3><ul class="related_post wp_rp"><li data-position="0" data-poid="in-22746" data-post-type="none" ></li><li data-position="1" data-poid="in-22789" data-post-type="none" ></li><li data-position="2" data-poid="in-22385" data-post-type="none" ></li><li data-position="3" data-poid="in-1216" data-post-type="none" ></li><li data-position="4" data-poid="in-23032" data-post-type="none" ></li><li data-position="5" data-poid="in-23056" data-post-type="none" ></li></ul></div></div> </div></content></entry></feed>
I get the error, When I use to get data from it using xmls function in php. I get correct result and when I try my blogger rss feed or some other website's feeds I get correct results,So my codes which use to get data from xml is correct but the above code may be wrong or I am doing some thing else.
Your approach will be highly appreciable for me. Please help me
instead of htmlentities() function you can use the format of rss 2.0, I call it second way. Any ways, You can use.
<![CDATA[".$VARIABLE."]]>
Hope it works for you.
I am looking to scrape the HTML response for a Google SERP using Simple HTML Dom I need it split into Google Ads, Google Local Listings and normal SERPS the html is below;
Local SERP
<div style="padding-bottom:8px">
<div class="vsc vscl" data-extra="ludocid=14796923074808088664&lumarker=A" sig="zoG">
<div data-ved="0CDkQkgowAA">
<div data-ved="0CDoQkQowAA"> </div>
</div>
<!--m-->
<div class="g" style="padding-top:2px;line-height:18px">
<div style="width:318px;float:left">
<h3 class="r" style="line-height:normal"><a class="l" href="http://www.beaucare.co.uk/" onmousedown="return rwt(this,'','','','1','AFQjCNH2k6BS0xRb2CTmI-lrSbmEXI1F6Q','','0CDsQoAIwAA','','',event)">Beaucare <em>Dry Cleaners</em></a></h3>
<span><cite class="_Ed">www.beaucare.co.uk</cite></span><br>
<div style="display:inline-block;margin-right:5px"><span style="margin-right:5px" class="rtng">3.8</span><span class="star star-s"><span style="width:56px"></span></span></div>
<span style="white-space:nowrap">6 Google reviews</span></div>
<div style="margin-left:26px;width:22px;float:left"><span style="height:38px;padding:0;width:22px"><a class="l" style="border:none;display:block;overflow:hidden;height:30px;width:16px" href="https://maps.google.co.uk/maps?pws=1&num=100&igu=1&ip=0.0.0.0&safe=images&gl=uk&gll=53.41058,-2.97794&gws_rd=ssl&um=1&ie=UTF-8&q=dry+cleaners+twickenham&fb=1&hq=dry+cleaners&hnear=0x48760c93b240c7c3:0xe4a25f60c77e7ed1,Twickenham,+Greater+London&cid=14796923074808088664&sa=X&ei=4731U6_DFurV0QWM1IHoBw&ved=0CD8QrwswAA"><span class="lumi0 lupin" style="display:block;background:url(/images/mappins_grey.png) no-repeat;background-position:0 -35px;background-size:;height:30px;width:16px"></span></a></span></div>
<div style="width:146px;float:left;color:#808080;line-height:18px"><span>146 Heath Rd</span><br>
<span>Twickenham</span><br>
<nobr><span>020 8891 5797</span></nobr></div>
<!--n--></div>
</div>
</div>
Paid SERP
<li class="ads-ad" data-hveid="34">
<h3><a style="display:none" href="http://www.google.co.uk/aclk?sa=L&ai=C-QrY4731U4TTGYm4jAb3q4HwCsWV_qMF9can5boBtI6yLggAEAEoAlD06tiLAWC7vq6D0ArIAQGpAvwJat3my7s-qgQmT9CoSc8LXNEiEfFMf0izXjjIVgr6InoeWMZFZsdEobDCsi4h-PKAB72KqSaQBwGoB6a-Gw&sig=AOD64_2ShDv4EEWhKvQJU3p6FF4V1mqfyg&rct=j&q=&ved=0CCMQ0Qw&adurl=http://ducanerichmond.co.uk/" id="s0p1"></a><b>Dry Cleaning</b> Services - We <b>Dry Clean</b> all types of material‎</h3>
<div class="ads-visurl"><span class="ads-badge">Ad</span><cite>www.ducanerichmond.co.uk/</cite>‎
<div class="action-menu ab_ctl"><a class="_Su ab_button" href="#" id="am-b-1398152331" aria-label="Result details" aria-expanded="false" aria-haspopup="true" role="button" jsaction="ab.tdd;keydown:ab.hbke;keypress:ab.mskpe" data-ved="0CCQQ7B0"><span class="mn-dwn-arw"></span></a>
<div class="action-menu-panel ab_dropdown" role="menu" tabindex="-1" jsaction="keydown:ab.hdke;mouseover:ab.hdhne;mouseout:ab.hdhue" data-ved="0CCUQqR8">
<ul>
<li class="action-menu-item ab_dropdownitem" role="menuitem" data-type="why_this_ad">
<div class="action-menu-button" role="menuitem" tabindex="-1" jsaction="am.itemclk" data-ved="0CCYQgRM">Why this ad?</div>
</li>
</ul>
</div>
</div>
<span class="_ME">020 8332 1111</span></div>
<div class="ads-creative">Leather,Suede,Fur,Silk,& Upholstery</div>
<div class="_Fbb">
<div class="_WE"><span class="_YE"></span></div>
<div class="_WE">Westminster House, Kew Road, Richmond, Surrey‎</div>
</div>
</li>
Standard SERP
<li class="g"><!--m-->
<div class="rc" data-hveid="87">
<h3 class="r">Kings <em>Dry Cleaners</em>, <em>Twickenham</em> | Dry Cleaners - Yell</h3>
<div class="s">
<div>
<div class="f kv _UD" style="white-space:nowrap"><cite class="_Ed">www.yell.com/biz/kings-<b>dry</b>-<b>cleaners</b>-<b>twickenham</b>-4477896/</cite>
<div class="action-menu ab_ctl"><a class="_Su ab_button" href="#" id="am-b4" aria-label="Result details" aria-expanded="false" aria-haspopup="true" role="button" jsaction="ab.tdd;keydown:ab.hbke;keypress:ab.mskpe" data-ved="0CFkQ7B0wBA"><span class="mn-dwn-arw"></span></a>
<div class="action-menu-panel ab_dropdown" role="menu" tabindex="-1" jsaction="keydown:ab.hdke;mouseover:ab.hdhne;mouseout:ab.hdhue" data-ved="0CFoQqR8wBA">
<ul>
<li class="action-menu-item ab_dropdownitem" role="menuitem"><a class="fl" href="http://webcache.googleusercontent.com/search?q=cache:fKpsx3qZnjcJ:www.yell.com/biz/kings-dry-cleaners-twickenham-4477896/+&cd=5&hl=en&ct=clnk&gl=uk" onmousedown="return rwt(this,'','','','5','AFQjCNF_iMCDBEJfF9L_3mW57Z3Tqp0-xg','','0CFsQIDAE','','',event)">Cached</a></li>
<li class="action-menu-item ab_dropdownitem" role="menuitem"><a class="fl" href="/search?pws=1&igu=1&gl=GB&gll=53.41058,-2.97794&near=liverpool&q=related:www.yell.com/biz/kings-dry-cleaners-twickenham-4477896/+dry+cleaners+twickenham&tbo=1&sa=X&ei=4731U6_DFurV0QWM1IHoBw&ved=0CFwQHzAE">Similar</a></li>
</ul>
</div>
</div>
</div>
<div class="f slp"><span class="csb" style="display:inline-block;position:relative;top:1px;background:url(/images/nav_logo195.png) no-repeat -100px -260px;height:13px;width:65px"><span class="csb" style="background:url(/images/nav_logo195.png) no-repeat -100px -275px;height:13px;width:39px"></span></span> Rating: 3 - ‎2 votes</div>
<span class="st"><span class="f">22 Jul 2014 - </span>Find Kings <em>Dry Cleaners</em> in <em>Twickenham</em> on Yell. Get reviews, opening hours and directions .</span></div>
</div>
</div>
<!--n--></li>
I have tried using the following code
foreach($html->find('li .g') as $e) {
echo $e->innertext . '<br><br>';
}
But this does not show any results, I have also searched for ->find('h3 .r') but I still get no result.
I did go through other similar topics and still was unable to solve my problem.
The following is my form code.
<div id="footer-left">
<div id="subscribe">
<form action="subscribe.php" method="post">
<input type="text" name="name" value="Enter Your Name"/>
<input type="text" name="email" value="Enter Your Email"/>
<input type="submit" value="Subscribe">
</form>
</div>
</div>
And the following my css code.
#subscribe {
z-index:5;
}
#footer-left {
position:relative;
float:left;
bottom:0px;
width:40%;
height:350px;
background:#f0f0f0;
padding-right:2%;
padding-left:5%;
padding-top:50px;
}
And-index-5 is highest among all classes and identifiers. Still my text area is not clickable.
I know I must be missing some small point but unable to know what it is.
And help would be highly appreciated.
Thanks.
Updated to reflect the solution. In the original Fiddle posted in the comments, the z-index of the footer pane was -2. This was affecting the child elements as well. The form is now clickable after changing the z-index here to 3 as shown in the CSS below. Full code is on the jsfiddle.
http://jsfiddle.net/cpTZT/2/
HTML
<body onload="scaleImage()">
<div id="map_header" class="expressWay">
<div id="header_tabs">
<div id="header_left">
<div id="logo_banner"></div>
<div id="logo"><img src="./images/logo-text.png" style="width:100%;height:100%;" />
</div>
<div id="tabs">
<ul class="nav">
<li id="city"><span>City</span>
<div class="dropDown">
<div class="column" style="margin-left:0px"> Bangalore
Chennai
Delhi
Mumbai
Hyderabad
Jaipur
</div>
</div>
</li>
</ul>
</div>
<div class="clear"></div>
</div>
<div id="header_right">
<div id="social_links">
</div> Sign In
<img class="dots" src="./images/dots.png" align="center" style="display:inline-block;float:right;margin-right:40px;margin-top:10px;" />
<li id="partner"><span>Partner With Us</span>
</li>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
</div>
<div id="content"></div>
<div id="footer">
<div id="footer-left">
<div id="subscribe">
<form action="subscribe.php" method="post">
<input type="text" name="name" placeholder="Enter Your Name" />
<input type="text" name="email" placeholder="Enter Your Email" />
<input type="submit" value="Subscribe">
</form>
</div>
</div>
<div id="footer-right-left">
<ul>
<li><b>COMPANY</b>
</li>
<li>About Us</li>
<li>Careers</li>
<li>Legal</li>
<li>Terms & Conditions</li>
<li>Press/Publications</li>
</ul>
</div>
<div id="footer-right-right">
<ul>
<li><b>CONTACT US</b>
</li>
<li>Street No XYX Locality City State,Pincode</li>
<li>query#ananas.in</li>
<li>+91-xxxxxxxxxx</li>
</ul>
</div>
</div>
CSS
#footer {
position:relative;
z-index:3;
font-size:0.8em;
}
The area was clickable when I put the original code on JS Fiddle, but when you typed, the text did not disappear.
EDIT: Fixed the information to properly address the question.
I have this website which is under construction.
http://www.orangewebscape.com/
The problem is in the packages page. When you click on the packages menu item a jquery load loads a php file named wrap2.php . The wrap2 page has a big form with many checkboxes , 3 textboxes and a submit button. The submit button works well in chrome but fails to work in every other available browser(IE9,opera,mozilla). Though it works in IE8. Even the css style don't apply to the form and the submit button.
Jquery load
$('#tabs li').click(function(){
$("#loading").show();
$('#container').load('views/'+$(this).attr("class")+'.php', function(){
setTimeout( "jQuery('#dloading').hide();",2000 );
});
return false;
});
wrap2.php
<div id="wrap2" >
    
<h1>    <span id="packtop">Build Your Order</span></h1><br><br>
<div id="buildtext"> We have choices and options for everybody. Please pick as many you like and submit a query. We assure you of an instant reply.</div>
<div class="servcont">
<form name="packages" action="core/orderplace.php" method="POST" onsubmit="xmlhttpPost3('core/orderplace.php', 'packages', 'MyResult4', '<img src=\'pleasewait.gif\'>'); return false;">
<br>
<div class="plancont">
<div id="plantit">Biz Launch Pack</div>
<div id="planbody">
<ul>
<li><img src="styles/images/2.jpg" width="10" height="10" /> Web Presence Pack <span id="price">INR 6717*</span></li>
<hr>
<li>Responsive Website Dev<span id="price"> 2499</span></li>
<li>Web Hosting <span id="price"> 2499</span></li>
<li>Email id's (pro+) <span id="price"> 1320</span></li>
<li>Domain name <span id="price"> 398</span></li>
<li>Customised Blog <span id="price"> Free</span></li>
</ul>
<ul>
<br>
<li><img src="styles/images/2.jpg" width="10" height="10" /> Print & Design Pack <span id="price">INR 1196*</span></li>
<hr>
<li>Logo Design<span id="price"> 298</span></li>
<li>Business card <span id="price"> 198</span></li>
<li>Brochure design<span id="price"> 498</span></li>
<li>Tshirt Design<span id="price"> 198</span></li>
</ul><br>
<ul>
<li><img src="styles/images/2.jpg" width="10" height="10" /> Stationary design Pack <span id="price">INR 896*</span></li>
<hr>
<li>Letter Head<span id="price"> 198</span></li>
<li>Envelope Deisgn<span id="price"> 198</span></li>
<li>Folder design<span id="price"> 298</span></li>
<li>CD Cover design<span id="price"> 198</span></li>
</ul>
<div id="totprice">Total = INR <span id="str">8800</span>*</div>
</div>
<div id="finalpricefoot">Offer Price - <b>INR 7800</b>* </div>
<div id="cartbt"><br><br><br> <input type="checkbox" name="pack[]" value="Business Pack" /> Select This Package</div>
</div>
<div class="plancont">
<div id="plantit">Bands ,Events & Gigs</div>
<div id="planbody">
<ul>
<li><img src="styles/images/2.jpg" width="10" height="10" /> Web Presence Pack <span id="price">INR 5397*</span></li>
<hr>
<li>Responsive Website Dev<span id="price"> 2499</span></li>
<li>Web Hosting <span id="price"> 2499</span></li>
<li>Domain name <span id="price"> 398</span></li>
<li>Customised Blog <span id="price"> Free</span></li>
<br>
</ul>
<ul>
<br>
<li><img src="styles/images/2.jpg" width="10" height="10" /> Print & Design Pack <span id="price">INR 1393*</span></li>
<hr>
<li>Logo Design<span id="price"> 298</span></li>
<li>Flyer Design <span id="price"> 199</span></li>
<li>Poster design<span id="price"> 499</span></li>
<li>Banner Design<span id="price"> 199</span></li>
<li>Tshirt Design<span id="price"> 198</span></li>
</ul><br>
<ul>
<li><img src="styles/images/2.jpg" width="10" height="10" /> Creative Pack <span id="price">99*</span></li>
<hr>
<li>Mascot Design<span id="price"> Variable</span></li>
<li>FB timeline cover<span id="price"> 99</span></li>
</ul><br>
<div id="totprice">Total = INR <span id="str">6889</span>*</div>
</div>
<div id="finalpricefoot">Offer Price - <b>INR 5889</b>* </div>
<div id="cartbt"><br><br><br><input type="checkbox" name="pack[]" value="Band,Events,Gigs,Package" /> Select This Package</div>
</div>
<div class="plancont"><div id="plantit">Individuals / Professionals</div>
<div id="planbody">
<ul>
<li><img src="styles/images/2.jpg" width="10" height="10" /> Web Presence Pack <span id="price">INR 5397*</span></li>
<hr>
<li>Responsive Website Dev<span id="price"> 2499</span></li>
<li>Web Hosting <span id="price"> 2499</span></li>
<li>Domain name <span id="price"> 399</span></li>
<li>Customised Blog <span id="price"> Free</span></li>
<br>
</ul>
<ul>
<br>
<li><img src="styles/images/2.jpg" width="10" height="10" /> Print & Design Pack <span id="price">INR 497*</span></li>
<hr>
<li>Logo Design<span id="price"> 298</span></li>
<li>Business card <span id="price"> 199</span></li>
<li>Book Cover Design<span id="price"> Variable</span></li>
<br>
</ul><br>
<ul>
<li><img src="styles/images/2.jpg" width="10" height="10" /> Stationary design Pack <span id="price">INR 896*</span></li>
<hr>
<li>Letter Head<span id="price"> 198</span></li>
<li>Envelope Deisgn<span id="price"> 198</span></li>
<li>Folder design<span id="price"> 298</span></li>
<li>CD Cover design<span id="price"> 198</span></li>
</ul>
<div id="totprice">Total = INR <span id="str">6790</span>*</div>
</div>
<div id="finalpricefoot">Offer Price - <b>INR 5790</b>* </div>
<div id="cartbt"><br><br><br><input type="checkbox" name="pack[]" value="Individual & Professionals"> Select This Package</div>
</div>
<br><br><br><br>
</div><br><br>
<h1><br><br>    Individual Picks</h1><br>
<div id="itemcont">
<div id="indiitem">
<div id="inditext"> Web Presence Pack</div>
<div id="indibody">Website + Email+ Hosting + Domain+Blog <br><br>
<div id="indiprice"><input type="checkbox" name="pack[]" value="Webpack subscription">INR 6717*</div>
</div>
</div>
<div id="indiitem">
<div id="inditext"> Website Development</div>
<div id="indibody">Responsive Website + CSS3 + amazing stuff<br><br>
<div id="indiprice"><input type="checkbox" name="pack[]" value="Website development">INR 2499*</div>
</div>
</div>
<div id="indiitem">
<div id="inditext"> Business Card Design</div>
<div id="indibody">High Quality & Innovative cards. 1 or 2 Sided<br><br>
<div id="indiprice"><input type="checkbox" name="pack[]" value="business card Designing">INR 198*</div>
</div>
</div>
<div id="indiitem">
<div id="inditext">Logo Designing</div>
<div id="indibody">Highly creative logo designing<br><br><br>
<div id="indiprice"><input type="checkbox" name="pack[]" value="Logo Designing">INR 298*</div>
</div>
</div>
<div id="indiitem">
<div id="inditext"> Brochure Designing</div>
<div id="indibody">Various Types of Brochures. 2,3 <br>& 4 fold.<br><br>
<div id="indiprice"><input type="checkbox" name="pack[]" value="Brochure Designing">INR 498*</div>
</div>
</div>
<div id="indiitem">
<div id="inditext">T-shirt Designing</div>
<div id="indibody">Simplistic or innovative designs<br><br> <br>
<div id="indiprice"><input type="checkbox" name="pack[]" value="T-shirt Designing">INR 198*</div>
</div>
</div>
<div id="indiitem">
<div id="inditext">Flyer Designing</div>
<div id="indibody">Flyers for parties, events, gigs & shows. HQ<br><br>
<div id="indiprice"><input type="checkbox" name="pack[]" value="Flyer Designing">INR 199*</div>
</div>
</div>
<div id="indiitem">
<div id="inditext">Poster Designing</div>
<div id="indibody">Poster for anything.<br><br> <br>
<div id="indiprice"><input type="checkbox" name="pack[]" value="Poster Designing">INR 499*</div>
</div>
</div>
<div id="indiitem">
<div id="inditext"> Banner Designing</div>
<div id="indibody">Simplistic or High Quality Banner designing.<br><br>
<div id="indiprice"><input type="checkbox" name="pack[]" value="Banner Designing">INR 399*</div>
</div>
</div>
<div id="indiitem">
<div id="inditext">Letter Head</div>
<div id="indibody">Part of Corporate Branding<br><br> <br>
<div id="indiprice"><input type="checkbox" name="pack[]" value="letter Head Designing">INR 199*</div>
</div>
</div>
<div id="indiitem">
<div id="inditext">Envelope Design</div>
<div id="indibody">Creative and Awe-inspiring designs<br><br> <br>
<div id="indiprice"><input type="checkbox" name="pack[]" value="Envelope Designing">INR 199*</div>
</div>
</div>
<div id="indiitem">
<div id="inditext">Folder Design</div>
<div id="indibody">Simple and eye catching deisgns for folders.<br><br>
<div id="indiprice"><input type="checkbox" name="pack[]" value="Folder Design">INR 299*</div>
</div>
</div>
<div id="indiitem">
<div id="inditext">CD Cover Design</div>
<div id="indibody">CD covers.<br><br> <br>
<div id="indiprice"><input type="checkbox" name="pack[]" value="CDcover Designing">INR 199*</div>
</div>
</div>
<div id="indiitem">
<div id="inditext">App Icon & Buttons Design</div>
<div id="indibody">Icons & Buttons for websites & Apps<br><br>
<div id="indiprice"><input type="checkbox" name="pack[]" value="Application Icon Designing">INR 199*</div>
</div>
</div>
<div id="indiitem">
<div id="inditext">Books Cover Design</div>
<div id="indibody">Book covers.<br><br> <br>
<div id="indiprice"><input type="checkbox" name="pack[]" value="Book Cover Designing">INR 499*</div>
</div>
</div>
<div id="indiitem">
<div id="inditext">Mascot Designing</div>
<div id="indibody">Highly Creative Thinking<br><br><br>
<div id="indiprice"><input type="checkbox" name="pack[]" value="Mascot Designing">Variable</div>
</div>
</div>
</div>
<div id="formel">Name *</div>
<div id="formel"><input type="text" name="fname" id="fname" size="20" ></div>
<div id="formel">Email * </div>
<div id="formel"><input type="text" name="fmail" id="fmail" size="20" ></div><br><br>
<div id="formel">Phone No </div>
<div id="formel"><input type="text" name="phone2" id="phone2" size="20" ></div>
<div id="formel">Country *</div>
<div id="formel"><input type="text" name="country" id="country" size="20" ></div>
<input type="submit" id="formsent" value="Order" name="forpackages" />
<div id="MyResult4" ></div>
</form>
<br>
</div>
Looks like the HTML-tags are unbalanced. There appears to be an extra </div> just before the Individual Picks-section. Different browsers will try to recover from errors like that differently. In this case the extra closing tag is probably causing the <form> to end on the </div> on the line before Name *, i.e. before the button is parsed, so the button isn't connected to any forms.