hello,
i am tring to submit a iframe form from JS in the parent. but it works in IE, and not in fireforx. anyoen can help?
the code i use isone of the following:
window.frames['groupFile'].document.groupForm.submit();
//window.frames['groupFile'].document.getElementById('groupForm').submit();
hello, please help.
i have two(maybe more ) tables. i a now trying to create a virtual table basing on the existing tables.
the two tables have no relationship and both have the same number of records(e.g both 5) in the virtual table, i want i have all the fileds of both table and list all the...
i am insert some record using "insert select", and in some case, there are several record are inserted once, i am wondering is it possible to get the all the insert id without having to write down sother queries "select .....";
thank you in advance.
hello, help appreciated.
in my page, i have more 100 checkbox. and when i select some of the checkbox, i loop with javascript and hide the one unselected. it seems quite slow. i am wondering any one know how to make the loop work faster?
thank you in million
dragon
i have the following code,
function selectOne(check,n,total,myVal) {
n = n+1;
for (i=0;i<total;i++) {
if (check) document.reportForm.myVal[i].checked=false;
}
}
in the above code, "myVal" is the id of a form element array, e.g, userList. if i change the 'myVal' to the...
i am trying to name a variable with a varaible, but met some broblem.
$userArray[] = array('pntr','userLevel',....);
$userInfo[] = array('gdf','dfgdf',....);
for($i=0;$i< count($userInfo);$i++){
$myVal = 'this->'.$userArray[$i];
$$myVal = $userInfo[$i];
}
what i want is ...
thanks for help:
i am now serialize and unserialize an array. and in the array , there are some single quote. when serialize the array, i use addslashes because i need to insert the data to the database. to this point everything ie ok. but when i try to unserialze the data from the database, i...
any one has experience creating GD image with Smarty?
i am createing the image in a file named function.load-xxx_xxx.php, but i don't know how to output it in the tpl file.
thank you for your help.
hello:
i am uploading a file using iframe and https. when i click the submit button, i got a message "The page cannot be displayed". what's wrong? how to fix? thank you.
hello, i have problem with curl.
i am using curl to upload file with the folloinwgphp code. but it seems that there are some problems here. thank you for your help.
<?php
$filename = 'test.txt';
$fp = fopen($filename, "r");
$ch = curl_init();
//URL and filename with authentication details...
hello, i need some help;
i have the following code, but it does not work. i am using attachEvent, but it seems thant i can not put a variable in the "myFunction"? any solution will be highly appecitaed.
btn.attachEvent('onclick',myFunction(myVar));
I have been searching for a progress bar that works for page loading.
I am having a hard time figuring out how you could run the progress bar and detect when the page has finished loading then stop the progress bar.
Any advice would be appreciated.
hello, all:
i have the following code trying read a pdf file and updated it. but i always ge the error "The file is damaged and could not be repaired". thank you for help.
<?php
header( 'Content-type: application/pdf' );
header( 'Content-Disposition: filename=cert.pdf');
$fileName =...
hello:
i am tring to insert some data into the database without any luck. please give me a habd. thank you.
$qry = 'INSERT INTO event VALUES(?,?)';
$stmt = $this->connect->stmt_init();
if($stmt->prepare($qry)){
$stmt->bind_param('is',$userPntr,$startTime);
if(!$stmt->execute()){...
hello:
i have a problem with my php code.
i created a drop down list for a form. and in the list, some value has such character as "+" or "&". i use javascript "onchange" function to pass the value to the url.
but when i tried to get the value from the url with php, i can not get the with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.