38,020 Topics
|
|
I am trying to log a user out of my CMS after a set amount of time. By inactive I mean has not clicked the mouse or typed on there keyboard. So after 30 minutes of inactivity my log out function is ran. There is already a log out function … |
|
I downloaded Simple Directory https://wordpress.org/plugins/simple-directory/ & Recommended Plugins to run the Simple Directory plugin INSTALLING SIMPLE DIRECTORY http://lautman.ca/simple-directory/ But it is not working well. After Installing plugin, when you add Listings, it gives problem with `archive-listing.php` while displaying listings. How to set up pages to create directory??? |
|
Any body help me how to use stored procedure and sample code for how to use. I dont know usage of stored procedure. Currently i am facing interview questions on stored procedure |
|
Hi Im having a hardtime making my query work the way it should be.i'm getting wrong output. basically what im trying to do is a simple user statistic that will show the user inputed data and user processed data base on the date range the user selected. heres the screenshots … |
|
Hello, please help me sold this issue. It can read the content on the MySql table but when I change the value on the input, then click on Submit, nothing is updated on the table. I don't know why. <?php global $wpdb, $current_user; $user_id = get_current_user_id(); $sql = 'SELECT `slot`, … |
|
Hello to all, i have my problem using php in updating mysql database, i have codes here. my problem is, when i click update, all data update altogether, i dont know what is wrong on my codes, your help is much appreciated. <?php if(isset($_POST['req_code'])){ $servername = "localhost"; $username = "root"; … |
|
Hello, after print my query print_r ($code_2); I have received the result which has the duplicate array. Please help me to merge them! Thanks. Array ( [0] => stdClass Object ( [id] => 1 [name] => admin [phone] => 353534545 [notes] => ) ) Array ( [0] => stdClass Object … |
|
I have my codes here, i cant update my database using this codes please help. if(isset($_GET['submit'])){ $servername = "localhost"; $username = "root"; $password = ""; $dbname = "elev8groupportal"; $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } //$req_code = $_POST['req_code']; … |
|
I cant seem to understand the issue with this statement, admittedly i have not written this code myself but have found it and modified it to work with what im doing, as most open source code is. This is for a secure login script that will pull a salted password … |
|
Hello, I hope that I can get an answer for this question. I have a MYSQL table for charges which contains the following fields: ChargesID, ChargesTitle, OfficialFees and ProfessionalFees. What I need is to make a dropdown list which contain ChargesTitle and upon selection to autofill the OfficialFees and ProfessionalFees. … |
|
Hi there , how to integrate auto login in codeigniter? anybody can give idea? |
|
Please help I am creating this contact form where everything is working fine but I am not getting attachment in the email, What am I doing wrong? Here is the code Here is the script I am using <script type="text/javascript" src="js/jquery-1.11.0.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#submit_btn").click(function() { //get input field … |
|
<?php require_once('includes/dbconn.php'); error_reporting (E_ALL ^ E_NOTICE); session_start(); $userid = $_SESSION['userid']; $username = $_SESSION['username']; ?> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Home</title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <!--Header--> <div class="header"> <div class="logo"> <img src="images/logo.gif" alt="logo" /> </div> </div> <!--Start of content--> <div class="content"> <div class="padding"> <div class="contentarea"> … |
|
I have a problem with mysqli syntax. I really can't see what the problem is in this code. I dont know much about it. When i use it on a function like this public function Somefunction() { $query=mysqli_query($this->db,"SELECT title,url,img FROM table WHERE status='1' ORDER BY id DESC")or die(mysqli_error($this->db)); while($row=mysqli_fetch_array($query,MYSQLI_ASSOC)) { … |
|
hi, I am creating a form for user to update their details which is saved in the database. So far i can show their details in the form where i have a submit button but the updating part doesnt work(it doesnt update at all). here is the code: [CODE] <html> … |
|
Hello everyone, I have been using xampp for my web app developments for quite a while now. Usually after the app development is done, I upload my files to paid hosting. Now, this is the case I'm designing a school's accounts managements software which will be used on an intranet. … |
|
Hi there, I follow this tutorial for my web app. link: http://www.thesoftwareguy.in/creating-multi-user-role-based-admin-using-php-mysql-bootstrap/#comment-4583 Can anyone give me idea to do this same app using codeigniter.? Thanks. |
|
I was wondering if anyone could tell me how I would approach building a music search engine using php and mysql. I have a design for my Music search engine which I did using html css on Dreamweaver and I have some mp3/audio files on my computer and all i … |
|
There is a problem with static variables and functions in how it is used by apps and frameworks in PHP , they are used as global functions or parameters while this is by far what they mean. It is easy to write the same functional or even procedural code in … |
|
Here is my php code. It is working fine. <?php ........ $cdt1 = Date("Y-m-d H:i:s"); $last_seen = "2015-05-20 12:15:20"; $datetime22 = new DateTime($cdt1); $datetime11 = new DateTime($last_seen); $interval1 = $datetime11->diff($datetime22); echo $interval1->format('%y years %m months and %d days %H hours, %i min and %s sec '); ......... ?> It is … |
|
Anyone can create bigbluebutton class by php. If no then you can get help from me. |
|
hi all i have following a tutorial for a groups system for my site and if i click on groups link nothing happens if someone can see whats happening Sorry for all the lines but im stuck :( see code below for that # php code # <?php $thisPage = … |
|
Hi friends i am facing some url redirection issue in my .htaccess. please help me to fix it. **my url is** domainname.com/article.php?url=test.html **my expected URL is** domainname.com/test.html **.htaccess** Options +FollowSymlinks RewriteEngine On RewriteRule ^([a-zA-Z0-9-/]+).html$ article.php?url=$1 RewriteRule ^([a-zA-Z0-9-/]+).html/$ article.php?url=$1 **Server** nginx |
|
hi ive followed a w3 schools form works fine for submission but if i refresh browers i get the following error Error: INSERT INTO userprofile (postcode, town, firstname, pfirstname, sexuality, psexuality, height, pheight, bodytype, pbodytype, tattoos, ptattoos, piercings, ppiercings, drinking, pdrinking, race, prace, smoker, psmoker) VALUES ('', '', '', '', … |
|
hello danifriends. i'm developing my website with php and i want to make dynamic header, so i create i file header.php with logo and menu and the page had all html doctype and and head tag for link with css and js..., i include the header in my page using … |
|
Hi, Reading CodeIgnitier documentation I saw some statements having this form: $this->someword->somefunction(); and I don't know what is that. Is someword an multi-dimensional/associative array? I know that if I create an instance of a class I can access its properties and functions with a single -> operator or with :: … |
|
I have a PHP class file A with a static variable, I have one class file B that uses that class A and instantiates its static variable. i wish to access Class A's ststic varibale from another class C in another file. How do i do this. I tried this … |
|
I am trying to force log out an inactive user from my CMS. The timeout value is stored in a value called PREF_TIMEOUT in my database. Ive borrowed this code and modified it a little. The code does not seem to be doing anything. Does anyone know of a better … |
|
I see in phpbb template system it has <!-- PHP --> code <!-- ENDPHP --> tags in template and you can include php code inside them <!-- PHP --> = start tag of php <?php <!-- ENDPHP --> = ?> I want to use something else in mustache php, like: … |
The End.