Have an account? Sign in
Login  Register  Facebook
help on the jQuery advanced PHP comments system
need your help. i want to add new field for URL.
when i check for error. i add
if(empty($_POST['name'])){
 	echo '<li class="error">you cant let the name empty</li>';	

 ////ADD//////////////////////////////////////
 }elseif(empty($_POST['url'])){
 	echo '<li class="error">you cant let the mail empty</li>';	
 /////////////////////////////////////////////
but url field not detect i also add ADD
 <p>
 <label for="url">Your Url:</label>
 <input id="url" value="" size="40">
 </p>
my page is here
i try to make comment system based on unique page id .. but still no idea .. hehe .. need to explore more
need your advise
azmi
malaysia
Started: September 18, 2011 Latest Activity: November 20, 2018 php jquery javascript
11 Answers
http://cialisgengrx.com
how many mgs of viagra should i take
<a href=http://cialisgengrx.com/#>http://cialisgengrx.com</a>
best place to buy viagra online 2015
<a href="http://cialisgengrx.com/#">cialisgengrx.com</a>
www.viagranrxch.com
viagra on steroids
<a href=http://viagranrxch.com/#>viagranrxch.com</a>
viagra pill
<a href="http://viagranrxch.com/#">www.viagranrxch.com</a>

Posted: drevien
In: November 20, 2018

is cialis available in generic
<a href=http://cialisrxgn.com/#>buy generic cialis</a>
cialis pills ingredients
<a href="http://cialisrxgn.com/#">cialis online</a>

Posted: prepeste
In: September 26, 2018

alternative zyprexa cialis 20mg
<a href=http://cialisgenbrx.com/#>buy cialis</a>
1 a day cialis 20mg buy
<a href="http://cialisgenbrx.com/#">buy generic cialis</a>

Posted: clOulp
In: September 23, 2018

pay day loans
<a href=http://x1cashadvanceonlines.com/#>first cash advance</a>
20 minute payday
<a href="http://x1cashadvanceonlines.com/#">cash advance loans</a>

Posted: WariJals
In: September 22, 2018

price comparison cialis 20mg
<a href=http://bchcialisrx.com/#>cheap cialis</a>
cialis online canadian pharmacy cialis
<a href="http://bchcialisrx.com/#">cheap cialis</a>

Posted: attemy
In: September 20, 2018

<a href=http://pay2daymyloans.com/#>pay2daymyloans.com</a>

Posted: addenue
In: September 20, 2018

generic cialis soft tabs 20mg
<a href=http://cialisrxche.com/#>buy cialis online</a>
best price to buy generic cialis online
<a href="http://cialisrxche.com/#">buy cialis</a>

Posted: attemy
In: September 19, 2018

Viagra Pour Homme Canada <a href=http://tadalaffbuy.com>generic cialis from india</a> Ed Supplements At Walmart

Posted: Coljasses
In: April 22, 2018

Amoxicillin 600 Mg viagra cialis Clomid Provames Buy Cialis Online Nopw

Posted: LiaForb
In: February 14, 2018

Best Price For Cialis Tablets 5 Mg cheap cialis Elocon Buy Now Price Shipped Ups Propecia Customer Service Paxel

Posted: LiaForb
In: February 2, 2018

first, your html is ok and your php is ok too but your jquery code is not complete you have to add new line like that
var link = $(\"#link\").val();
and replace this line with the old one
var dataString = \'name=\'+ name +\'&mail=\'+ mail +\'&comment=\'+ comment+\'&link=\'+ link;
html
 <p>
 <label for=\"link\">Your Url:</label>
 <input id=\"link\" value=\"\" size=\"40\">
 </p>
php
if(empty($_POST[\'link\'])){
 	echo \'<li class=\"error\">you cant let the mail empty</li>\';

Posted: MacOS
In: September 18, 2011

Your Answer

xDo you want to answer this question? Please login or create an account to post your answer