Jump to content

satishpoul

Members
  • Posts

    52
  • Joined

  • Last visited

Everything posted by satishpoul

  1. check thishttp://www.htmlcodetutorial.com/forms/index_famsupp_158.html
  2. u can add that in else part of thank you.php where u have written echo 'email will send shortly';
  3. and if i want to use popups when reminder reminds me.. then also cron will help me for this. ?
  4. in thankyou.php <?php $FullName=$_REQUEST['FullName']; if(isset($_REQUEST['code'])) $Code=$_REQUEST['Code'];.............................//your code//........................?><html><head><title></title></head><body> <?phpif (isset($_REQUEST['Code'])) echo '....................................';else echo 'An email with a Code will be email to you shortly.';?> </body></html>
  5. yess firstly thankx for reply..i m also searching but cant understand how can i do this.. means which type of functions will help me.. i have some knowledge about php but detailed js and javascript are new for me. i saw some functions like $ajax.( data: .. url: success: url: ) something like this.. can u tell me what is this so that i can start my search or give some links to start my search for this concept.
  6. in index.php if(isset($_REQUEST['code'])) <input type=hidden name= Code value="<?php echo $_REQUEST['code'];?>"and then again in thankyou.php if(isset($_REQUEST['code'])){ }else{ echo "An email with a client I.D. will be email to you shortly."} something llike this..
  7. in your index.php <input type="hidden" name="Code" value="<?=$Code;?><?=$Code;?> is not yet set and still you are using..
  8. no it should be $_REQUEST['code'] only... and this will only work if u have submitted (using post/get) this value from somewhere else.. but as u said u already have this value means u have stored that in session or somewhere else.. so first get the value from there..
  9. satishpoul

    PHP Styles

    if u want to do this run-time then u have to use jquery look at this link http://api.jquery.com/css/ hope so this will help you..
  10. satishpoul

    PHP Styles

    yes it is possible.. for that u will have to give the option to the user to choose the color of background or particular div or else...u can make ur css file dynamic like /* store in stype.php #header { background: url("<?php echo $CDNURL; ?>/images/header-bg.png") no-repeat;}a { color: <?php echo $linkColor; ?>;}*/and then you can use this for css file path<link rel='stylesheet' type='text/css' href='css/style.php' />.
  11. don't use if in condition of another if.. like u didif(... && if() ... )
  12. yahh if((isset(..)) && (isset(..)) && (another conditions...))
  13. if(isset($_POST['etd'][$row])){ your line....}else{ $etd = "";}
  14. $tmp = mysql_uery(" insert .... values (),()") or die(mysql_error());
  15. in last line i think instead of ('$date','$nreports','$nreports_time','$nreports_ini')" or die (mysql_error());it should be('$date','$nreports','$nreports_time','$nreports_ini')") or die(mysql_error());
  16. use this logic.. your limit on one page is = 2if page no. is not set then page = 1 otherwise corresponding page num. check out total number of products using select * and num_rows if u have less than or = 2 productsthen (then its easy u will get following) $first_pro: 0 (assume row number) second pro : 1( 0,1 these are row numbers) else if u have more than 2 (e.g: 5 means row numbers will be 0,1,2,3,4these are the five products u have in cart) then first product = ((per_page * page_num) - per_page); (e.g for page 1 => $first_pro : ((2*1) -2) = 0 and second product 1 for page 2 => $first_pro : ((2*2)- 2) = 2 and second product 3 for page 3 => $first_pro : ((2*3)- 2) = 4 no second product here ) you can limit this per page 2 products by using sql queries also..in above code after finding $first_pro fire another query which limit this perpage 2 products dyanmicallyby using :query1 = select * from .... where ... LIMIT $first_pro , $per_page. since your first pro value gonna change in each page u can get each time different result(e.g in this example of 5 productsfor each page query1 returns two rows for page 1 = > 0 and 1 for page 2 => 2 and 3 for page 3 => 4) hope so this logic will help u.. and hope so i havn't confused u.. but i think this is easiest logic if u take a look on it.
  17. <input type="button" name="some_name" onclick="your_function();" />or post your code to understand your problem briefly
  18. i don't think so that i will have to give u much info about this.. because word "REMINDER" says itself everything.so i just want to use this concept in my website.if any activity i want to do after some fix timing say 2 hours. then after 2 hours my website should give me reminder about this.so i m searching some real-time functions to implement this concept if anybody have any idea please suggest me.thank you in advance.
  19. if(isset($_POST['select'])){ if(isset($a)) { echo $a; }}
  20. yes.. first use var_dump($arrayname); it returns all the elements. then u will get idea abt ur solution.
  21. yahh but instead of sms n mail.. i have to use a notification pop-up like in Facebook or gmail chat. instant pop-up.
  22. and another way is directly replace ur if ( isset ( $code ) ) to if ( isset ( $_REQUEST['Code'] ) ).
  23. do one thingdont assign $_REQUEST['variable'] to any ohter php variable directly. ( in ur case this step => $code=$_REQUEST['code'] )first check is whether they are set or notreplace this isset($_REQUEST['code'] $code=$_REUEST['code'];for each attribute or variable.
  24. guys.. i m new here and came with hope of getting solution to my problem.i m developing one site which will be accessed by customers and employees of company.my doubt is clear that i want my employee will get notification as soon as any customer will sends an any inquiry or any feedback. so that i can processed that request as early as possible and make my customer happy ;)means my question is : i just want to get notification as soon as customer edit/add his data. thats it.so how can i implement this in php. (e.g Facebook live notification is best example u can assume. take Facebook notifications just as an example.)so please help me for this.thanks in advance
  25. okk so sorry.. i will post it in php forum.... and i used fb notifications just for example of working.. i dont wanna include fb at all.. sorry if i asked it wrongly..but i just want to get notification as soon as customer edit/add his data. thats it. no fb..and thankx for ur reply
×
×
  • Create New...