Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
58% Quality Score
Upvotes Received
35
Posts with Upvotes
30
Upvoting Members
20
Downvotes Received
36
Posts with Downvotes
28
Downvoting Members
10
9 Commented Posts
~169.63K People Reached
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
Favorite Tags

373 Posted Topics

Member Avatar for hemgoyal_1990

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

Member Avatar for Manabendra
1
19K
Member Avatar for davy_yg

Have you tried to updaten it to the latest version? Also try ckEditor js code at the end of the html

Member Avatar for network18
0
418
Member Avatar for bharathi_2

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

Member Avatar for network18
0
210
Member Avatar for Mohammed_44

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()

Member Avatar for network18
0
380
Member Avatar for showman13

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 …

Member Avatar for diafol
0
3K
Member Avatar for network18

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 …

Member Avatar for network18
0
425
Member Avatar for mohammed_22

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."'";

Member Avatar for diafol
0
228
Member Avatar for janicemurby

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

Member Avatar for diafol
0
289
Member Avatar for ayesha789

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

Member Avatar for cereal
0
3K
Member Avatar for network18

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

Member Avatar for cereal
0
4K
Member Avatar for Smoking Bros

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.

Member Avatar for J. M. P.
0
811
Member Avatar for network18

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 …

Member Avatar for anandvaishnav
0
988
Member Avatar for malatamil
Member Avatar for mangel.murti
0
212
Member Avatar for divyakrishnan

I would suggest to check the file permissions on the target upload directory and make it writable.

Member Avatar for network18
0
2K
Member Avatar for davy_yg

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);`

Member Avatar for matrixdevuk
0
894
Member Avatar for logonchristy

try this - [CODE] <?php echo "<a href='http:////digg.com//submit?phase=2&amp;url='$_POST['url']'&amp;title='$_POST['title']' target='_blank'><img src='http:////www.virtualdolphintherapy.com//images//digg.png' alt='Digg' width='64' height='63' border='0' //><//a>"; ?> [/CODE]

Member Avatar for gptArun
1
1K
Member Avatar for arafath077

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);

Member Avatar for diafol
0
412
Member Avatar for muhamadtaufiq.zaki
Member Avatar for muhamadtaufiq.zaki
0
2K
Member Avatar for acrocephalus

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) { …

Member Avatar for acrocephalus
0
174
Member Avatar for network18

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 …

Member Avatar for network18
0
600
Member Avatar for network18

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 …

Member Avatar for Traevel
0
196
Member Avatar for Ouwgel

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

Member Avatar for almostbob
0
8K
Member Avatar for network18

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() …

Member Avatar for network18
0
663
Member Avatar for network18

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 …

Member Avatar for network18
0
142
Member Avatar for pravin81
Member Avatar for network18

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 …

Member Avatar for network18
0
523
Member Avatar for network18

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 …

Member Avatar for network18
0
2K
Member Avatar for network18

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 …

Member Avatar for network18
0
323
Member Avatar for rpv_sen

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.

Member Avatar for cereal
0
735
Member Avatar for mwenyenia07

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 …

Member Avatar for JorgeM
0
141
Member Avatar for Aamit

there are some excel parsers available online , read this, it might help you, instead of posting me the similar thing again - [url]http://amiworks.co.in/talk/readingparsing-excel-spreadsheet-using-php/[/url]

Member Avatar for Abdul Waseem
0
134
Member Avatar for annyangel

$this is used to refer the envoking object inside the class definition. every envoked object would have seperate copy of data members, in order to refer to the envoking object's data member you specify $this

Member Avatar for pelle12
0
145
Member Avatar for hriti

make sure to share the relevant code and you have to start the session on each page with session_start() if session_autostart directive in php.ini is not enabled..

Member Avatar for minitauros
0
136
Member Avatar for office1111

you can do so using .htaccess with url rewriting if on apache. on IIS yo have to prepare iirf.ini for the similar reason. A typical rewrite rule in .htaccess file would look like this - RewriteRule ^index.php?username=(.*)$ account_$1/welcome.php

Member Avatar for office1111
0
327
Member Avatar for sandipan.rcciit

when you using [CODE]<input type ="image" src="myfile.jpeg" name="submit" value="Submit"> [/CODE] use [CODE]if(isset($_POST['submit_x']) && $_POST['submit_x'] !='' ){ [/CODE] instead of - [CODE]if(isset($_POST['submit_x'])){ [/CODE]

Member Avatar for diafol
0
995
Member Avatar for edotman

I am sure the entire code to upload is not inside the post check of submit button like - [CODE] session_start(); require("connection.php"); if(isset($_POST['submit_btn_name']) && $_POST['submit_btn_name']!='') { //put your remaining code (what you posted above) here } [/CODE] and that's the reason you getting the blank rows in the database..

Member Avatar for diafol
0
933
Member Avatar for Mapper99

You already did echoed the uploaded file path on the server. you just need to show the same as a innerHTML of the textbox.

Member Avatar for wandi90
-1
288
Member Avatar for jonow

what you trying to do actually is you want to validate your inputs like email id etc before sending the mail.the page you linked up here , shows the use of regular expressions to do that in php. Now which is your other form, from two forms you mean to …

Member Avatar for Squidge
0
1K
Member Avatar for Avasulthiris

no absolutely not, mysqli is just the improved extension of mysql set of functions.It should not make any harms. Also post your code dbconn.php for others to see, maybe it needs some improvements.

Member Avatar for Dr. Raven
0
10K
Member Avatar for network18

Hi, I am planning to create location tracing based on IP and presenting the relevant contents to the user as par his country, similar to msdn website. I have installed the php_geoip.dll and change the ini file too, to include this dll The dll shows enabled in IIS as well, …

Member Avatar for LastMitch
0
655
Member Avatar for janzaldo

your query is failing for sure, echo the query and post it here. or else execute the query directly inside the mysql and post ,if any error you got there

Member Avatar for sudhir1234
0
2K
Member Avatar for architact

see if this is useful for you - [CODE]<?php echo "<img src="http://thumbnails.alexa.com/image_server.cgi?size=large&url=$siteurl">"; ?> [/CODE]

Member Avatar for pritaeas
0
643
Member Avatar for network18

Hi, Needs to construct the tables with the meta info retrived by another stored procedure I wrote, given the table id or name. There could be some flaws in the logic, not sure. The flow is - - iterate through one table which stores tbl name, id info - pass …

Member Avatar for network18
1
296
Member Avatar for meko22

[QUOTE=meko22;1037879]Hi there, I would like to make an email form that would select all the emails from a MySQL db and then send that message to all addresses. I got this script but was unable to get it working. Any help would be great. [code] <?php //Connect to database mysql_connect("localhost","user","password") …

Member Avatar for shahidsidd
0
8K
Member Avatar for kryz

Its going to be hell like complicate than the script above.The script above is producing the blank page because there is nothing to show up in the page ,inside the table it produces. I will advice you to go step by step as below - step 1 - Lets just …

Member Avatar for Stefano Mtangoo
0
205
Member Avatar for network18

what;s wrong with this mysql trigger logically?? [CODE] DELIMITER | CREATE TRIGGER comment_count AFTER INSERT ON comments FOR EACH ROW BEGIN UPDATE sub_sections as t1 SET t1.published_comment_count = (select count(id) as cnt from comments where article_id=t1.id and published=0 and status=0) WHERE id= (select article_id from comments order by date_modified desc …

Member Avatar for Morta
0
217
Member Avatar for network18

Hi to all experts in the forum. I know scripts can be executed through the command prompt,but what are other ways to execute it, if the file is on remote server. Please specify if any clarification is needed.

Member Avatar for jan.cajthaml
0
3K
Member Avatar for cobrax
Member Avatar for bobgodwin

Even I get the sorted result on windows as Nettsite suggests, but would like to suppress the possible warnings on closedir() and readdir() while in attempt to read files as directories, as @closedir() etc

Member Avatar for bobgodwin
0
568
Member Avatar for super_alex

in short what all others are trying to explain you is '==' only checks the contents of both the operands for equality and '===' compares for types (of both operands) too.

Member Avatar for rizvihaider72
0
115

The End.