Jump to content

ksumanth

Members
  • Posts

    34
  • Joined

  • Last visited

Everything posted by ksumanth

  1. hello friends, Can any one have snippet to upload multiple images that store in database(mysql) and store in one row of all images. Thanks Sumanth
  2. because 30 profiles is completed i should deactivate sanju profile
  3. hello friends, In my website one webpage having details like name,age,height,weight and .. In bottom i use "ahref" ViewFullprofile. If i click viewfullprofile it should count the numbers. Suppose i am viewing sanju profile 2 or 3 times it should count only one time.And if i click any other profile "Manju" it should count Can any one help me out Regards sumanth
  4. Can any one know how to disable 3 days in calendar from now (Today, Tomorrow, Dayaftertomorrow) Its Urjent Thanks in Advance.
  5. <script type="text/javascript"> function myFunction(e) { e.blur(); var today=new Date(); document.forms['cal2']['end_date'].value='<?=date('d M Y', strtotime('+21 days'));?>'; } </script> <form name="cal2" method="post" action=""> <table width="100%" border="0" cellspacing="0" cellpadding="5"> <tr> <td width="10%" class="redtxt"> Start Date: </td> <td width="20%"><input class="iselect" type="text" size="20" id="startdate" style="margin-left:7px;" name="startdate" required="true" onfocus="myFunction(this);" value=""/> <a href="javascript:showCal('Calendar1')"><small><B><img src="images/calendar.gif" webstripperwas="images/calendar.gif" width="16" height="16" border="0" /></B></small></a> </td> <td width="10%" class="redtxt">End Date: </td> <td width="38%"> <input type="text" name="end_date" id="end_date" value=""/> </td> <td width="1%" > </td> </tr> </form> This is the function i am using if i select any date from first textbox from that day to 21 days have to calcuate and display in second textbox Thanks
  6. I my form i have 4 fields like gender, fromage& toage, religion , caste. I need to search either one condition have to satisfy or two conditions have to satisfy or three condtions have to satisfy. I did like if all 3 conditions satisfy it will search. Can any one tell me how to My coding is $sql = "select * FROM profile_details where Caste='$caste' and gender='$gender' and Age between '$fromage' and '$toage'"; <? $selmetas=mysql_query($sql); if (mysql_num_rows($selmetas)>0) { while($resmetas=mysql_fetch_assoc($selmetas)) { $religion=$resmetas['religion']; $caste =$resmetas['Caste']; $Age=$resmetas['Age']; ?> <? } } else { ?> <? echo "No results found."; } ?>
  7. I have a some large text that is fetched from database. Now i dont want to display all the text from frontpage. I need only 4 lines from the entire text. If four lines extend it should display .... so that i give read more button it will goes to next page. Give me any sugessions
  8. Hello friends, I have two text boxes and one text box i select calendar and i select particular date.After selecting the date In the next text box i have to add from that date to +21 days . I know how to display from today to next 21 days or weeks. But if i select particular date in that first text box it should calculate automatically +21 days and display second text box Thanks in advance
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.