619 Posted Topics
Re: Yes, We can place php code in js, when page is loaded php code executed and place output between js. But here in this code $idarry returns array, so might be you will not get value in enable function. Just pass one value not array. e.g.$idarry['userid'] | |
Re: In second code line number 11 foreach loop is wrong: [CODE] $selstatus = $_POST['selstatus']; foreach($selstatus as $key => $value) { echo $key . ': ' . $value . '<br>'; } [/CODE] | |
Re: [CODE] <a href="event.php?month=01">Jan</a> <a href="event.php?month=02">Feb</a> <a href="event.php?month=03">Mar</a> <? // -------------- event.php page -------------- $month = $_REQUEST['month']; $days = cal_days_in_month(CAL_GREGORIAN, $month, date('Y')); $firstDate = date("Y-m-d", mktime(0, 0, 0, $month ,1, date('Y') ) ); $LastDate = date("Y-m-d", mktime(0, 0, 0, $month ,$days, date('Y') ) ); echo $sql = "select * from events … | |
Re: Here Jquery Ajax plugin is geven: [url]http://jquery.offput.ca/every/[/url] What you have to use is "everyTime" function. One php page will return total number of search count. everyTime function will be called in every second. And based on php files output your number of count will be reflected on the user page. | |
Re: This is code for htaccess file, [CODE]Options +FollowSymLinks RewriteEngine on RewriteRule index/ukh/(.*)/ index.php?Module=$1 RewriteRule index/ukh/(.*) index.php?Module=$1 [/CODE] Save this .htaccess file at root of your website and as per 'Krstevski' change apache setting. | |
![]() | Re: not sure but if you want just paging for one big content. then go with this link: [url]http://blog.mastykarz.nl/paging-large-content-sharepoint-jquery/[/url] ![]() |
Hi All, I want to display local time on the page based on user's selected country. Is there any [B]FREE [/B] API available for getting local time of any country. Input may be whatever, country or longitude and latitude. | |
Re: This one is very good player to integrate. [url]http://www.longtailvideo.com/players/jw-flv-player/[/url] Try this out. | |
Re: This is one js function , which will help u . [CODE] function continue() { var hasSelected = false; var FormObj = document.formName; // formName => name of form tag var chklen = FormObj.elements.length; for( var n = 0; n < chklen; n++ ) { currobj = FormObj.elements[n]; if(currobj.type == … | |
Re: When u r inserting record in this table? meance post php code sample. what is structure of this table? | |
Re: HI, you do not need to include js twice. all u need is to just call fuction 'NewCal' with different parameter with both text boxes. | |
Re: I have just changed this part of php.ini and it works for me. Check it out. [mail function] ; For Win32 only. SMTP = mail.mywebsite.com // smtp mail server name smtp_port = 25 ![]() | |
Re: This is one jquery demo for dynamic add and remove row: [url]http://devblog.jasonhuck.com/assets/infiniteformrows.html[/url] | |
Hi all, i want to know that 'Is mysql support chinese language?' If yes then any changes require in configuration? My site is in english. Let if any user have inserted their information in Chinese and if anyone search using Chinese keyword, then it should match with mysql and if … | |
Re: [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script language="javascript"> function sendTextarea() { var text = escape(document.getElementById('tb').value); window.location.href='second.php?tb='+text; } </script> </head> <body> <textarea id="tb">this is text</textarea> <input name="Pass" value="Go To Second Page" onclick="sendTextarea();" type="button" /> </body> </html> [/CODE] this is … | |
Re: Even you can use nl2br function during displaying it. e.g. <td><?php echo nl2br($address);?></td> | |
Hi all, i want php code which will add website's logo in user's uploaded doc file. So whenever that doc file is downloaded from website logo appears at top. How can i achieve this in windows/Linux both. any help will be appreciated. | |
Re: You can give userid on delete button's href. e.g. <a href="user.php?act=delete&userid=<?=$result['user_id']?>">delete</a> ![]() | |