3,446 Topics

Member Avatar for
Member Avatar for Harman_2

Below is a php code for inserting comment to a post, It works fine now I want to add ajax code to add comments live (without page being refreshed). I prefer ajax code and php code on same page because code will be carrying id's of users so don't want …

Member Avatar for diafol
0
183
Member Avatar for wolfgang1983

I have a small problem when I clone my editable div into my iframe. Each time I click on my code view button it copys the content from my editable div and then displays it in my iframe But each time I do that it copys the same content multiple …

0
152
Member Avatar for wolfgang1983

If my slected text is wrapped in bold or iltalic or pre tag and then if i click on the revert button it should remove the tags around the selected text. But for some reason will not with my code. Question when I select/highlight some text and then click my …

Member Avatar for wolfgang1983
0
297
Member Avatar for Ian David

I have a to-do list made in HTML, CSS and JavaScript, and I want to redirect to a website only if they are 0 elements unchecked remaining. I think that the code should contain "numRemaining". I have tried something in JQuery, but it was a total failure. This is my …

Member Avatar for rproffitt
0
552
Member Avatar for AntonyRayan

Hi, I am new to framwork, Now I started to learn Codeigniter. I have installed version of CodeIgniter 2.2.6, from the following link https://codeigniter.com/download I want to do a simple registration form with image upload , storing that image in a seperate folder, image name in to database, and with …

Member Avatar for Nishant shukla1
0
4K
Member Avatar for brispea

Alo All, I am really really tired of searching for a simple file manager for PHP/Code Igniter. I am not looking for advanced one at all: 1. No MYSQL 2. NO user tracking 3. Basic File Operations (copy, move etc) 4. Multi upload (in anyway) I have tried fileman and …

Member Avatar for cereal
0
3K
Member Avatar for AntonyRayan

I use this code to find time difference, alert(( new Date("1970-1-1 12:42 ") - new Date("1970-1-1 9:42") ) / 1000 / 60 / 60 ); it works in chrome, but in firefox it shows NaN error. How to solve this?

Member Avatar for cereal
0
118
Member Avatar for abim usman

$mysql_hostname = "localhost"; $mysql_user = "root"; $mysql_password = ""; $mysql_database = "loan"; $connect = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) or die("Something went wrong..."); mysql_select_db($mysql_database, $connect) or die("Something went wrong..."); if(isset($_POST['btn_submit'])) { $datess = $_POST['datess']; $control = $_POST['control']; $payee = $_POST['payee']; if(!empty($datess) && !empty($control) && !empty($payee)) { mysql_query("INSERT INTO `sales`(`datess`, `control`, `payee`) VALUES …

Member Avatar for klemme
0
298
Member Avatar for Keep_1

hello , I running google map api with multiple select of category (checkbox), everything fine working , but I dont know how to link(when u click on marker) form market window to page , if my page loop , any examples or suggestion.

Member Avatar for AleMonteiro
0
66
Member Avatar for karthic2914

1) initially i have a row if the user click save & next button it will say you have 3 fields missing 2) if the user click the addmore button and he did not type any value in the text field then he click the save and next button it …

Member Avatar for diafol
0
248
Member Avatar for AntonyRayan

HI, In a page I load table in while loop with time duration calculation for multiple times. I want to display time difference in their respective rows. Here I included my code. <?php $a = mysql_query("SELECT * FROM user")or die(mysql_error()); $a_count = mysql_num_rows($a); if($a_count > 0) { ?> <table border="1" …

Member Avatar for diafol
0
279
Member Avatar for Yousef Altaf

I was trying and trying to get this to work as expected I got this chain drop down menu to work but the problem how can I edit or retrieve data to edit pls if you have time look at my script here on (MS oneDrive) https://onedrive.live.com/redir?resid=B6ED478A72FB6A78!33834&authkey=!AO9oNU_4snXOqH4&ithint=file%2czip the three drop …

Member Avatar for diafol
0
204
Member Avatar for AntonyRayan
Member Avatar for samertaha

hello i have an online gallery i used blueimp plugin to get the good features in it like lightbox and touch support ... you can look on it here : [www.aburaga.com](http://aburaga.com/en/gallery) as you see its a big cakes gallery with many categories and pagination ( i built it with codeigniter/php …

Member Avatar for samertaha
0
560
Member Avatar for mintu_2

LightGallery is counting wrong number of images.. here is [jsfiddle code..](http://jsfiddle.net/jetnku0x/3/). In this jsfiddle i am append dynamical element with a div that is in html file.. Please check manually ... Why lightgallery is count wrong images ?

Member Avatar for mintu_2
0
703
Member Avatar for toxicandy

I have a page running scrolling nav bootstrap theme which essentially means for me that I have multiple forms on one page. The problem I am having is whenever someone submits any of the 3 forms it sends data from all forms on the page. The code is below, I …

Member Avatar for toxicandy
0
404
Member Avatar for AntonyRayan

I included my mail attachment code in php But it is not working correctly, Please give me a alternate solution which works in online <?php //define the receiver of the email $to = 'demo@gmail.com'; //define the subject of the email $subject = 'Test email with attachment'; //create a boundary string. …

Member Avatar for AntonyRayan
0
318
Member Avatar for Jatinder_1

problem in getting live data in my web page search_ajax.js $(document).ready(function() { // Icon Click Focus /*$('div.icon').click(function(){ $('input#search').focus(); });*/ // Live Search // On Search Submit and Get Results function search() { var query_value = $('input#search').val(); $('b#search-string').html(query_value); if(query_value !== ''){ $.ajax({ type: "POST", url: "search_ajax.php", data: { query: query_value }, …

0
112
Member Avatar for Aeonix

Website is exclusively built with `.click()`, `onclick=""` and alikes. I'd like to use a plugin that there is out in the world, which would allow me to use custom scrollbar to scroll content of a lengthy `<div>`. I've tested about 6, whom 1 didn't work (maybe I just can't read), …

Member Avatar for Sanchit_Sahu
0
431
Member Avatar for AntonyRayan

Hi, It is a new for me. In a site, I have 10 to 15 menus. I want to know a user what are the menus he accessed , how many times he visited a particular menu from he logged in, and from which IP Address. How to know these …

Member Avatar for rch1231
0
136
Member Avatar for pro-tek
Member Avatar for AntonyRayan

In local, mail works perfectly. But in online I got error like: SMTP->ERROR:Password not accepted from server:534-5.7.14 Please log in via your web browser 534-5.7.14 then try again. Learn more at 534-5.7.14 https://support.google.com/mail/answer/78754z190sm15009353oig-25 - gsmtp Message was not sent.mailer Error:SMTP Error:Could not connect to SMTP host.

Member Avatar for cereal
0
236
Member Avatar for angelburgos

Good day to all, Can anyone please assist a beginner in determining the best way to convert or parse the information generated by a secure GPS device? Am creating a script for tracking GPS based watches and I need to convert the output so it can be read in real …

Member Avatar for pritaeas
0
185
Member Avatar for Florea

Hy there! I have the following thing that I need to solve: In the Menu I have the Parrent Category Name and inside are 7 categories for food.... If I click on the menu on the parent category name it send me to the home page and open the menu. …

Member Avatar for gentlemedia
0
706
Member Avatar for gentlemedia

I have a form where I save the data in a cookie with localStorage. This all works fine, but If clear (just deleting with backspace) the value of an input field or textarea so that the placeholder text shows up again and I refresh or come back at the page, …

Member Avatar for gentlemedia
0
396
Member Avatar for AntonyRayan

Can anyone give me the full sample code to Send email from one requested email to multiple emails in php

Member Avatar for diafol
0
200
Member Avatar for grahf23

Hi guys, need some help on a star rating system i am working on. The issue is that i have multiple star rating on a single page but if i click on a star for another field, it will highlight all the previous unlighted stars too. Not sure how to …

0
120
Member Avatar for vipula

I have a username and password for a external website. I want to have a link from my webste to log in to that site without giving username and password to my users. How can I achieve that. I tried lke this but failed. If any one can rectify this …

Member Avatar for jkon
0
2K
Member Avatar for Pavan_9

how is this front end combination for a php web application? BackboneJS, RequireJS, Bootstrap, HTML5, jQuery & AngularJS for Front End Will these help me load pages and images load at supersonic?

Member Avatar for diafol
0
201
Member Avatar for karthic2914

Currently working on jQuery datepicker and jquery clone with my current code where i can able to add years for all the rows but when i am trying to add the months for example from date - 01/01/2000 to date 12/01/2000 it the message should come as 0 years and …

0
158
Member Avatar for Subhankar_1

I am trying to create a registration form in Bootstrap and then connecting it to the Oracle Database but the data entered by the user isn't sending any value to the database. Please suggest what editing I should do. <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta …

Member Avatar for Subhankar_1
0
278
Member Avatar for jiah2345

I have a column with employee Id and employee name.When i enter the EmployeeID in the textbox, the employee name should be automatically populated from the database in the second textbox. Please Help

Member Avatar for urtrivedi
0
103
Member Avatar for AntonyRayan
Member Avatar for Subhankar_1

My code below has a radio button in the form to select the Sex. But on submitting it's sending as Male=on or Female=on.I want to send only Male/Female to Database. Please tell me the necessary editing I should do. I'm using Bootstrap. <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta …

Member Avatar for diafol
0
1K
Member Avatar for london-G

Hello Guys, I have been hopelessly trying to make the sidebar full height on this site. When the content expands, its height stays the same. [Site](http://www.5th-floor.co.uk/blog) Any idea how I can do that?

Member Avatar for london-G
0
248
Member Avatar for Violet_82

Hi guys, I'm having some problem with cloning a div with a button in and its functionality. 2 words about the functionality first. Basically I'm creating some HTML with javascript (it has to be done that way I'm afraid) and append it at the top of the page. I also …

Member Avatar for Violet_82
0
167
Member Avatar for Vivek_13

array = [1, 2, 3, 1, 2, 4, 5]; for (var i = 0; i < array.length; i++){ for (var j = 0; j < i; j++){ //if (i != j) { if (array[i] == array[j]) { $('#result').append(array[j]+'Repate<br>'); } //} } $('#result').append(array[i]+'<br>'); } ## given output is 1 2 3 …

Member Avatar for parvez alam
0
278
Member Avatar for programmer12

HI , I am creating a social media site, but getting stumped on updating the status comment boxes. Currently, when a user post a comment to a status it updates in REAL-TIME (ajax) on their page, however, it does not on the clients side. How can I build a comment …

Member Avatar for ryantroop
0
167
Member Avatar for squeak24

OK, I have an HTML page that contains two scrolling divs. The two divs I have are: content-hoo-m content-hoo-s In both divs I have anchored links, for example <a href="#1">Link 1</a> <a href="#2">Link 2</a> <a href="#3">Link 3</a> <a href="#4">Link 4</a> These link to anchors in content-hoo-s. But when you click …

Member Avatar for squeak24
0
863
Member Avatar for UK-1991

Hello, I have created a quiz system where I tried to create a condition which is just simple one if time is up then correct answer will be shown up and the button would be disabled but I am confused and unable to make some logic about I need you …

Member Avatar for UK-1991
0
248
Member Avatar for nevek

Hi, I have a stupid problem with jquery, On my htmlpage I have a div with id intakegesprekDates and when I try to add an element to it with jquery like this ` $("#intakegesprekDates").append("<div class='row form-group'><label>Datum gesprek</label>"+ "<div class='col-md-2'><input type='text' class='form-control' id='txtIntakeGesprek' name='txtIntakeGesprek'></input></div></div>"); ` My elements are shown in te …

Member Avatar for nevek
0
162
Member Avatar for AntonyRayan

Hi, I am new to this concept. I have data in my table in different languages like, English, French, Chineese, Serbian....) I want to display that languages in MPDF, how they are in table,. How to do that in MPDF? Which PDF format is best? FPDF or MPDF or TCPDF …

Member Avatar for diafol
0
109
Member Avatar for Deep_4

So, I've some free time in December and want to make a web-app that lets people login, put books they've read, review the books they've read etc. But, I'm not sure how and where to start? What Languages/Frameworks to use? Any help would be appreciated. Thanks!

Member Avatar for diafol
0
331
Member Avatar for AntonyRayan

Here, I included my time difference code, but I am getting NaN error. How to do time difference in my code. I need my output like, 03 Hrs : 30 Mins Here is my code: /////Calculate time duration start/////// /*function calculate_Duration() { //var start_time = document.getElementById('start_time').value; //var end_time = document.getElementById('end_time').value; …

Member Avatar for Taywin
0
293
Member Avatar for AntonyRayan

Hai, I am new to this concept. After clicking the button it has to insert into database and has to refresh the div in jquery ajax. How to do?

Member Avatar for broj1
0
2K
Member Avatar for squeak24

OK, I am working on a website in HTML. I have an Overflow Div similar to this: <section id="content-wide-scroll"> <div id="scrollbar" class="content" style="left: 10px; top: -5px"> <!--Main Body Text --> <div id=“id1”></div> <h3>Anchor 1</h3> <br> Anchor 1 text here. Anchor 1 text here. Anchor 1 text here. Anchor 1 text …

Member Avatar for squeak24
0
337
Member Avatar for praba_web
Member Avatar for shabbir04

Hello everyone, Please help me to create a chained select box here i created something , but when i select 1st one its load 2nd one's options from database, but get 1st one unselected <form action="" method="post"> Username: <br><select name="productforuser" id="option" onchange="location = this.options[this.selectedIndex].value;"> <option selected value="no_user_selected">No User Selected</option> <?php …

Member Avatar for diafol
0
938
Member Avatar for phoenix254

Hi I am new in php programming and learning this i have found a small problem.I am trying to creating a file called lib.php, where i add all my files jquery lib downloaded in /js and css files.My directory look like this: ** -practise + /css + /js + /images …

Member Avatar for bigtalk
0
663
Member Avatar for Simon180

Am having a issue with ajax form for some reason it dont always work post the correct data am having to click the image 3 or 4 times before it will load the portrait and gallery numbers. can anyone help me out ? ** Form.php** <script> $(document).ready(function() { $('.ajaxform').click(function() { …

Member Avatar for Simon180
0
248

The End.