39,316 Topics
| |
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; … | |
Hi all, I am trying to get a for loop to cycle through, sleep, and then keep going until a specified time. I'm running into memory errors and unsure whether this is legitimate, or because its created a memory leak. My code is: $currentTime = time(); $time = time(); while … | |
Hello everyone. I have the following problem get the last id from the database but you can not insert a text field, the last id has, solution? pls pls <? $localhost = "localhost"; $username = "username"; $password = "password"; $dbname = "nameMyDB"; $conn = mysqli_connect($localhost, $username, $password, $dbname); // Check … | |
how to create own portfolio plugin in wordpress step by step. Thanks A lot in advance. | |
WAMP 2.5 server on my windows 10 machine was working completely fine, until I accidentally installed a software which silently installed Win MySQLAdmin on the same machine. That day since, Wamp server icon remains in orange color (never turns green). **Issues:** 1. localhot/ phpmyadmin displays 'access denied' error. following is … | |
Please Can Any one tell me How do I Greet a user with his name after he submited His form into my Data base /please i need your help. | |
Hi all, I'm using nginx to host multiple servers on one terminal through virtual hosts. Each one needs to be able to send emails, but I am unsure how to specify which account to use when I call the php mail() function. Should I be specifying in the nginx configs … | |
hi i have just picked up a script of the net for my site and when i uploaded in onto my site i get the following message: Warning: Cannot modify header information - headers already sent by (output started at /home/matureco/public_html/new/php/connection.php:4) in /home/matureco/public_html/new/php/session.php on line 19 ive tried different things … | |
Hie guys.I am new to web development.I need a tutorial of how to auto fill textboxes in form with data from mysqldatabase. | |
Hi everyone. Am trying to send email reminder for users to update their progress 1 month before end of every quarter. So every February and May etc the email notification will be autosend to the users from the system. Below is the code. Please advise if this is the correct … | |
Hello, I've been asked to create a tool using 3rd party API. The API requires to send the user details in encrypted format. The problem here, they didn't mention what kind of encryption we should do. They just provided a two C++ functions to encrypt the data. I'm a PHP … | |
My code is include "src\whatsprot.class.php"; $username = "91xxxxxxxxxxxx"; //Mobile Phone prefixed with country code so for india it will be 91xxxxxxxx $password = "password"; $identity = strtolower(urlencode(sha1($username, true))); $w = new WhatsProt($username, $identity, "WhatsApp Messaging", true); But This part of the code $w = new WhatsProt($username, $identity, "WhatsApp Messaging", true); … | |
Good day everyone I just want to know whether its possible to upload a file using joomla that wouldnt be downloable at all, I tried saving the file as a read only pdf file but that still made the file downloable on the web. Taking into consideration that the internet … | |
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? | |
| Sir I am learning core php and how to use multiple user login and admin login seperately |
How to make Ajax search filter checkbox using codeigniter? | |
Hi, I used this code to translate in any language, what I am typing . It is working good. But, for English, I don`t know how to do? can anybody know it? <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <script type="text/javascript" src="https://www.google.com/jsapi"> </script> <script type="text/javascript"> // Load the Google Transliterate API … | |
Hi all, I am aiming to create an array with the same structure as this: Array ( [798D25C0DEABD] => Array ( [quantity] => 1 ) [40B2B0FA3D222] => Array ( [quantity] => 1 ) ) The code I am using is therefore: for($i = 0; $i < count($response); $i++) { $ph[] … | |
I have a couple of sites (on different servers) that I want to see if some critical urls are up and running and this is what I've tried: $handle = curl_init($url); curl_setopt($handle, CURLOPT_RETURNTRANSFER, TRUE); /* Get the HTML or whatever is linked in $url. */ $response = curl_exec($handle); /* Check … | |
hi im attempting to change my website from mysql to mysqli ive replace mysql with mysql on all the files and when i attempt to load site im gettting the following: Warning: mysqli_select_db() expects parameter 1 to be mysqli, string given in /home/matureco/public_html/config/db_connect.php on line 6 heres code for this … | |
How can I add parameter to this <a href="javascript:;" Or is there any way to post data on the same page on that link above Thanks | |
It might be obvious, but I can't seem to understand it. So don't laugh. Let's assume this scenario. My website has 5 themes, there are 5 buttons. Clicking each button changes theme respectively and uniquely. I use JavaScript to do that, so I set name of theme in a cookie, … | |
For the last 5 months I've tried to organize myself and my friends in order to collect some relevant information on news sites (information about global warming, pollution, ecology etc.) The only solution that I've found was to use a local search engine from the news site and type in … | |
a PHP code for Matrix plan of Multi-level marketting software. This is a logic where a referal gets paid s his down line increases. a kind of social marketting. | |
Hi all, I have been using this tutorial: [bootply.com](http://www.bootply.com/lxa0FF9yhw) and I almost have it working, the problem is that my table is generated VIA AJAX from a php file. Basically I see my table but no working pagination unless I open chrome web tools and go to console and paste … | |
I have a quick question, I am hoping it is an easy answer but if I wanted a query like the following: SELECT * FROM items ORDER BY date ASC Is there anyway to replace the order by information with prepared statement attributes? would either of the following work? SELECT … | |
How To connet mssql to php please please please help meeee. I'll wait for you guys to answer | |
Hi, been awhile. I'm fighting this captcha form; it's been a battle (flaws in code) now all looks fine but it doesn't send to email. What's the obvious prob?? <?php $name=''; $visitor_email=''; $user_message=''; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Preview</title> </head> <body bgColor=#ccffff onload=doCookie() onunload="thank-you.php"> … | |
iam using php in developing our website which is our user has to check banana symptoms that he observe on his plantation,out of that checked symptoms our system will show the possible disease based on what he checked, but i have a problem, if i checked 1 and 4 checkbox … | |
I'm looking for a graphic library to create a visual for data that involves between about 100 to 300 data points. Each set of data points covers a full day - so one day would have a few hundred data points total, and I'm looking to plot a graph of … |
The End.