- Strength to Increase Rep
- +8
- Strength to Decrease Rep
- -2
- Upvotes Received
- 35
- Posts with Upvotes
- 30
- Upvoting Members
- 20
- Downvotes Received
- 36
- Posts with Downvotes
- 28
- Downvoting Members
- 10
- Interests
- Reading,Listening to music, singing, programming etc.
- PC Specs
- MS SQL, LAMP,Ajax,jQuery,HTML,CSS,javascript.JAVA,C++OS: - Windows XP/2007, Linux
Re: to store the elements in the binary tree form is not much difficult. Create table with fields 1)element 2)level 3)parent_id in it | |
Re: Have you tried to updaten it to the latest version? Also try ckEditor js code at the end of the html | |
Re: You have written very confusing statements. You want to reset the timer for each question or questions continue to have same timer running. Share your relevant code to spot the correction required | |
Re: Try ` $a=$jsn->{$i}; ` in the place of ` $a=$jsn[$i]->Pic; `. let me know what happens. Also can you echo the output of json_decode() | |
Re: you have done creating the first drop down box so far properly and I think on selecting from this drop down you expect to change the contents of second (sub-category) drop down box. To achieve this you will need to call another script which will load the sub category combo-box … | |
I have a Premium SEO Pack – Wordpress Plugin installed and with its Facebook planner, we are supposed to authorize app after providing the initial settings. I have provided all the settings correctly. Provided app id, app secret, app domain, site url (through add platform), settings->advanced->enabled browser OAuth login, provided … | |
Re: did you try removing an extra space in the query below - $sql="SELECT * FROM schoolentry WHERE classs =".$q." and division =' ".$k."'"; should have been - $sql="SELECT * FROM schoolentry WHERE classs =".$q." and division ='".$k."'"; | |
Re: $query = "INSERT INTO booking (firstname, address1, days, months, bookingtime, address2, lastname, cdays, cmonths, duration, datefrom, dteCallTimeTo, meettype, county, cnumber', fee, pcode, comments, user_id ) values ('$firstname', '$address1', '$days', '$months', '$bookingtime', '$address2', '$lastname', '$cdays', '$cmonths', '$duration', '$datefrom', '$dteCallTimeTo', '$meettype', '$county', '$cnumber', '$fee', '$pcode', '$comments', '$userid')"; you were mixing insert and … | |
Re: [QUOTE=ayesha789;1050144]I can clarify my problem Please give me some hint how to print PDF DOcument using PDF.[/QUOTE] look for some javascript - [CODE]window.print()[/CODE] | |
Hi, I have created a test procedure (for the sake of example to get this working) called test_proc like below - DELIMITER $$ CREATE DEFINER=`tloken`@`%` PROCEDURE `test_proc`(In user_id varchar(100), OUT message varchar(1000)) BEGIN set message ='OK'; END and calling it from php test page like below - $sso = $_GET['sso']; … | |
Re: If we hav any other web server running apart from apache(installed through XAMPP in ur case) the apache wont work. First check for any other server installed. | |
There's trouble in using font awesome icons as they suggest, so I am using them as below - <i class="nimg nicon-ico_help_rnd_lg" style='color: #FFFFFF !important;' alt="Info" title="Color code information" onclick="info()"></i> and style below - .nimg { height: 37px; width: 37px; float: left; /*display: table-cell;*/ display: block; text-indent: -9999px; vertical-align: middle; /*border:1px … | |
Re: you can try to do that by executing below query first - `SET foreign_key_checks = 0;` | |
Re: I would suggest to check the file permissions on the target upload directory and make it writable. | |
Re: you could hide all these notices by modifying the error reporting parameter as below, just for the current executing script, or directly on the server php.ini file `error_reporting(E_ALL ^ E_NOTICE);` | |
Re: try this - [CODE] <?php echo "<a href='http:////digg.com//submit?phase=2&url='$_POST['url']'&title='$_POST['title']' target='_blank'><img src='http:////www.virtualdolphintherapy.com//images//digg.png' alt='Digg' width='64' height='63' border='0' //><//a>"; ?> [/CODE] | |
Re: I guess there is no such inbuilt function in PHP, so you have to do it manually by creating a custom function of your choice. something like below - $arr_find = array('!', '?'); $arr_replace = arrray('', ''); $processed_str = str_replace($arr_find, $arr_replace, $target_str); | |
Re: can you put `if(mysql_num_rows($result) > 0)` before the `while()` | |
Re: There's a typo in your first line. Also you are passing the parameter but not using it. Which is not a problem, but just to keep it clean, we can remove it too. Find the corrections below - function checkIBAN() { var iban = document.getElementById('IBAN').value.length; if (iban != 24) { … | |
Hello All, I need to modify the default settings for the filesMatch in the apache httpd.conf file from - <FilesMatch "^\.ht"> Order allow,deny Deny from all Satisfy All </FilesMatch> so that to also include - <FilesMatch ".(eot|ttf|otf|woff)"> Header set Access-Control-Allow-Origin "*" </FilesMatch> I would appreciate the suggestions, somehow the combination … | |
Hi, I have come across another programming challenge again and hopefully I wont close the thread myself this time. I am expecting good suggestions or examples from you to do this. I want to build a (scrollable) nested list, from which children of two parents could get swapped after some … | |
Re: [QUOTE=Ouwgel;1045199]<p>How to show pdf file in web page? ex: www.scribd.com</p>[/QUOTE] [CODE]<iframe id="myFrame" style="display:none" width="500" height="300"></iframe> <input type="button" value="Open PDF" onclick = "openPdf()"/> <script type="text/javascript"> function openPdf() { var omyFrame = document.getElementById("myFrame"); omyFrame.style.display="block"; omyFrame.src = "test.pdf"; } </script>[/CODE] | |
Hello, I am installed php 5.3.28 with apache 2.2 and mysql 5.5.38 on windows 64 bit machine, despite configuring php correctly with apache and also enabled the extensions, its not able to recognise the mysql extension loaded. The connection attempt through adodb throws the error "call to undefined function mysql_connect() … | |
Hello, I have an event ('show' & 'click') bounded to the element to make it scrollable using the jquery '.on' method but when I try to bind another event on click like below the alert does not show up - `$('.elem').on('show', function(){//some code here}).on('click', function(){alert($(this).text())});` what I am actually trying … | |
Re: I think good example to use triggers! | |
Hello, I am trying to configure PHP 5.3 on already installed Apache 2.0 on windows machine, using the guidelines mentioned on - http://www.thesitewizard.com/php/install-php-5-apache-windows.shtml So far I have done - LoadModule php5_module "C:/PHP/php5apache2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/PHP" All these at the right spots in httpd.conf file. I have apache in … | |
Hi All, I have a ajax call in script like below - function testMe() { $.ajax({ type: "POST", url: "http://3.84.46.104/tloken/test/testAjax.php", // data: "ajax=1&elem=" + elem+"&clicker="+clicker, data: "ajax=1", method: "POST", success: function (html) { alert(html+' >>'); return false; // var response = html.split('@'); // document.getElementById(elem).innerHTML = ""; document.getElementById('cmbxCategory').innerHTML = ""; document.getElementById('cmbxType').innerHTML … | |
Hello, I have installed apache 2.2 but when I try to make it listen to 80, I can browse the target page and access denied error is displayed. But when I change the listening port to say 8080, I could browse using this port. I have already tried to check … | |
Re: if the checkboxes are not checked they wont appear in the $_POST superglobal. Try to print your post data like print_r($_POST) and you would know the reason. | |
Re: you could use a blanket and a small popup at the center saying 'Please wait..' while the code is in progress. Alternatively you could create a small heading like div with jquery with a timeout option. it should load till the rest of the html in the page loads and … |