- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- 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
I m working on a MLM project in which i have to store member automatically in binary tree form like 1 is root 2 is child of 1 3 is child of 1 Then 4 is child of 2 5 is child of 2 6 is child of 3 7 … |
|
Hello, I wonder why my ckeditor occassionally hang. Like I cannot type any text in it when it is hang. Here is the error when it is hang: ckeditor.js:438 Uncaught TypeError: Cannot read property 'getSelection' of undefined at CKEDITOR.dom.selection.getNative (ckeditor.js:438) at new CKEDITOR.dom.selection (ckeditor.js:436) at a.CKEDITOR.editor.getSelection (ckeditor.js:434) at new CKEDITOR.plugins.undo.Image … |
|
I created quiz application using PHP..in that Application i display one question per page when user click on next button it display next question from database randomly..so for that i want to display time...but my problem is.. i want to display timer from starting only seconds..and user click on next … |
|
//The php section of the code <?php function getJSONFromDB($sql){ $conn = mysqli_connect("localhost", "root", "","rent"); //echo $sql; $result = mysqli_query($conn, $sql)or die(mysqli_error()); $arr=array(); while($row = mysqli_fetch_assoc($result)) { $arr[]=$row; } return json_encode($arr); } $jsonData= getJSONFromDB("select Pic from Display"); $jsn=json_decode($jsonData); //for loop to retrieve rows from database for($i=0;$i<sizeof($jsn);$i++){ $a=$jsn[$i]->Pic; //here is the main … |
|
Hi, I'm struggling with creating a dynamic drop down menu and hope someone can help with some direction, or possibly even a code snippet to build on. I have a table called 'cat_table' fields are cat_id, cat_name, cat_parent, create_date, last_update What I am creating is an ad page, displayed by … |
|
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 … |
|
here is my code and iam not able to do search in that.only the first search box list the data and when i given second search option both results wont come any idea //this is my html code <script> function showUser(str) { if (str == "") { document.getElementById("txtHint").innerHTML = ""; … |
|
Hi im attempting to copy a php code and get it to work with a script im trying to create and i have come across the error below can anyone tell me whats going off any help would be much appreicated x You have an error in your SQL syntax; … |
|
Dear All I have developed a lease management System. I have stored 4000+ Lease agreements and purchase orders. Folders Structure Main Folder : LAPO Subfolders: North , Center , South Subfolders : 1245 , 9867 like these (numeric) In each numeric folder there are 2 files LA.pdf and PO.Pdf How … |
|
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']; … |
|
Hello everyone! I got a series of C++ tutorials and a series of Blender tutorials and 1 tutorial on how to get free Windows Vista look on your Windows XP on YouTube.. So I thought I would so some PHP tutorials too... And as always I wanted to check if … |
|
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 … |
|
i have two tables. in 2nd table i assigned the 1st table primary key as foreign key. i have two options edit and delete. i can't delete foreign key value and also primary key value in 2nd table. |
|
I am using uploadify to upload images in php. After uploading the files, showing the progress bar as completed but the uploads folder is showing as empty. I have downloaded the script and just added a new folder to upload files as uploads folder. Here is my code index.php <!DOCTYPE … |
|
I have some errors while trying to fix the following codes: update_image2.php <?php //LOAD IMAGE TABLE if (!empty($_GET['image_id'])){ $result = mysql_query("SELECT * FROM image_upload WHERE image_id='".$_GET['image_id']."'") or die(mysql_error()); $data = mysql_fetch_array($result); $image_id = $_GET['image_id']; $newfilename = $data['newfilename']; $class = $data['class']; $location = $data['location']; $minwidth = $data['minwidth']; $maxwidth = $data['maxwidth']; $minheight … |
|
[CODE]How to echo html code in php echo not for email... <?php echo '<a href="http://digg.com/submit?phase=2&url='. $_POST["url"] .'&title='.echo $_POST["title"].'" target="_blank"><img src="http://www.virtualdolphintherapy.com/images/digg.png" alt="Digg" width="64" height="63" border="0" /></a>'; ?> how can i make this code to disply in browser page...[/CODE] |
|
How to remove special characters but still allow HTML tags.Im getting data from Mysql Database |
|
<?php echo "<table border='1' style='border-collapse: collapse;border-color: silver;'>"; echo "<td width='100' align='center'>date in</td><td width='100' align='center'>date out</td> <td width='100' align='center'>model</td> "; echo "</tr>"; include("proses/dbcon.php"); $date_in = $_POST['date_in']; $date_out = $_POST['date_out']; if(isset($submit)) { $sql = "select * from inventory where createdate >= '$date_in' and createdate <= '$date_out' "; } $result= mysql_query($sql); while($row=mysql_fetch_array($result)) { … |
|
Hello, I am trying to build a function that takes the input of the IBAN field (alphanumeric), counts them and compares the to the needed value (24). Then, if don't match it triggers an error message, if they match it does nothing. This is the code: <script type="text/javascript"> function checkIBAN(iban) … |
|
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 … |
|
<p>How to show pdf file in web page? ex: www.scribd.com</p> |
|
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 … |
|
We have 2 Tables, One is Primary Table and another one is a Transaction Table. Both Tables are identical. We have to insert or update the record in Primary Table, based on Transaction Table. If a record is found identical on primary keys for Primary and Transaction Table, we would … |
|
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 … |
|
Hi I am selecting wdays1 checkbox is checked and remaining checkbox is unchecked after submitting, i am getting an error message as below can any one please help me to resolve the issue **Error** `1 Notice: Undefined index: wdays2 in C:\xampp\htdocs\smart\checkvalue.php on line 10 0 Notice: Undefined index: wdays3 in … |
|
I have a form for member registrations that after submitting it, it takes some seconds to a minute depending on inteernet link. during these period, The browser just spins but I want this spinning be acompanied with a message like 'please wait while we process...'. How can I do it? |