Click here to Skip to main content
15,883,883 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
AnswerRe: Exporting HTML file to PDF format Pin
Niall Barr11-Mar-10 23:07
professionalNiall Barr11-Mar-10 23:07 
QuestionUse PEAR's datagrid export to an excel sheet, but getting all unrecognized characters [modified] Pin
alexyxj11-Mar-10 8:44
alexyxj11-Mar-10 8:44 
QuestionStored Procedure with Php and MySQL Pin
scorpio2211-Mar-10 5:19
scorpio2211-Mar-10 5:19 
AnswerRe: Stored Procedure with Php and MySQL Pin
PHP_Guy19-Mar-10 7:46
PHP_Guy19-Mar-10 7:46 
GeneralRe: Stored Procedure with Php and MySQL Pin
scorpio2222-Mar-10 4:25
scorpio2222-Mar-10 4:25 
GeneralRe: Stored Procedure with Php and MySQL Pin
PHP_Guy22-Mar-10 10:44
PHP_Guy22-Mar-10 10:44 
GeneralRe: Stored Procedure with Php and MySQL Pin
scorpio2222-Mar-10 10:56
scorpio2222-Mar-10 10:56 
GeneralRe: Stored Procedure with Php and MySQL Pin
PHP_Guy22-Mar-10 11:21
PHP_Guy22-Mar-10 11:21 
ok
look at this code

<script src="yourpage.js"></script>
<form>
<select name="c" onchange="showchange(this.value)">
<option value = "c1"> C1
<option value = "c2"> C2
<option value = "c3"> C3
<option value = "c4"> C4
</select>
</form>

an at yourpage.js

type

var xmlHttp

function showchange(str) {
xmlHttp = GetXmlHttpObject();
if (xmlHttp==null)
{
alert("your browser deosn't support AJAX");
return;
}
var url = "url" <- your link
url=url+"?q="+str;
url=url+"&sid="+Math.random();
xmlHttp.onreadystatechange=statechanged;
xmlHttp.OPEN("GET",url,true);
xmlHttp.send(null);
}

function statechanged()
{
if (xmlHttp.readystate==4"number of chooses")
{
document.getElementById("txtHint").innerHTML=xmlHttp.responsetext;
}
}
function GetXmlHttpObject()
{
var xmlHttp=null;
try
{
xmlHttp = new XMLHttprequest();
}
catch(e) {
try
{
xmlHttp = new ActiveXObject("Msxm12.XMLHTTP");
}
catch (e)
{
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
}
return xmlHttp;
}
GeneralRe: Stored Procedure with Php and MySQL Pin
scorpio2223-Mar-10 3:44
scorpio2223-Mar-10 3:44 
Questionphp - include_once Pin
thes3cr3t16-Mar-10 22:39
thes3cr3t16-Mar-10 22:39 
AnswerRe: php - include_once Pin
chevu7-Mar-10 22:37
chevu7-Mar-10 22:37 
AnswerRe: php - include_once Pin
PHP_Guy19-Mar-10 7:51
PHP_Guy19-Mar-10 7:51 
QuestionOrganize mysql results in html table with PHP Pin
pelikan20026-Mar-10 14:15
pelikan20026-Mar-10 14:15 
AnswerRe: Organize mysql results in html table with PHP Pin
Luc Pattyn6-Mar-10 14:38
sitebuilderLuc Pattyn6-Mar-10 14:38 
GeneralRe: Organize mysql results in html table with PHP Pin
pelikan20027-Mar-10 0:53
pelikan20027-Mar-10 0:53 
GeneralRe: Organize mysql results in html table with PHP Pin
pelikan20027-Mar-10 5:22
pelikan20027-Mar-10 5:22 
GeneralRe: Organize mysql results in html table with PHP Pin
Luc Pattyn7-Mar-10 8:45
sitebuilderLuc Pattyn7-Mar-10 8:45 
GeneralRe: Organize mysql results in html table with PHP Pin
pelikan200211-Mar-10 5:05
pelikan200211-Mar-10 5:05 
GeneralRe: Organize mysql results in html table with PHP Pin
Luc Pattyn11-Mar-10 5:13
sitebuilderLuc Pattyn11-Mar-10 5:13 
GeneralRe: Organize mysql results in html table with PHP Pin
pelikan200211-Mar-10 5:19
pelikan200211-Mar-10 5:19 
AnswerRe: Organize mysql results in html table with PHP Pin
PHP_Guy19-Mar-10 7:32
PHP_Guy19-Mar-10 7:32 
QuestionInteger conversion for dummies Pin
Jack Vanderhorst6-Mar-10 4:14
Jack Vanderhorst6-Mar-10 4:14 
AnswerRe: Integer conversion for dummies Pin
Jack Vanderhorst6-Mar-10 4:31
Jack Vanderhorst6-Mar-10 4:31 
QuestionDetect when Tomcat Startup Pin
bilal.hobnail5-Mar-10 1:08
bilal.hobnail5-Mar-10 1:08 
QuestionHow to connect Tata indicom USB modem in fedora 9 Pin
Tripathi Sushant S4-Mar-10 5:56
Tripathi Sushant S4-Mar-10 5:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.