619 Posted Topics

Member Avatar for niths

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']

Member Avatar for storm123
0
155
Member Avatar for methuselah90

In second code line number 11 foreach loop is wrong: [CODE] $selstatus = $_POST['selstatus']; foreach($selstatus as $key => $value) { echo $key . ': ' . $value . '<br>'; } [/CODE]

Member Avatar for vibhaJ
0
87
Member Avatar for jhonnatas

[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 …

Member Avatar for vibhaJ
0
87
Member Avatar for digiplaystudios

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.

Member Avatar for vibhaJ
0
95
Member Avatar for phpangel

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.

Member Avatar for phpangel
0
103
Member Avatar for kirtan_thakkar

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]

Member Avatar for kirtan_thakkar
0
159
Member Avatar for vibhaJ

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.

Member Avatar for vibhaJ
0
114
Member Avatar for shailendra_agra

This one is very good player to integrate. [url]http://www.longtailvideo.com/players/jw-flv-player/[/url] Try this out.

Member Avatar for vibhaJ
0
88
Member Avatar for niths

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 == …

Member Avatar for niths
0
104
Member Avatar for balagod

When u r inserting record in this table? meance post php code sample. what is structure of this table?

Member Avatar for balagod
0
104
Member Avatar for sinyi

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.

Member Avatar for sinyi
0
162
Member Avatar for charvie

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

Member Avatar for rajarajan2017
0
207
Member Avatar for maunica

This is one jquery demo for dynamic add and remove row: [url]http://devblog.jasonhuck.com/assets/infiniteformrows.html[/url]

Member Avatar for vibhaJ
0
102
Member Avatar for vibhaJ

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 …

Member Avatar for colweb
0
67
Member Avatar for MDanz

[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 …

Member Avatar for vibhaJ
0
945
Member Avatar for sallecpt
Member Avatar for sallecpt
0
184
Member Avatar for vibhaJ

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.

Member Avatar for colweb
0
183
Member Avatar for niths
Re: php

You can give userid on delete button's href. e.g. <a href="user.php?act=delete&userid=<?=$result['user_id']?>">delete</a>

Member Avatar for rajarajan2017
0
87
Member Avatar for ryan311