10,940 Topics

Member Avatar for
Member Avatar for Ventech_IT

I am trying to make my bootstrap carousel dynamic in codeiginter here is what i have so far Model Fucntion function get_all_images(){ $query = $this->db->query("SELECT * FROM property AS p INNER JOIN property_images AS pi ON p.ID = pi.image_id GROUP BY p.ID ORDER BY p.ID"); return $query->result_array(); } My Controller: …

Member Avatar for mangel.murti
0
5K
Member Avatar for vikasmca2k11
Member Avatar for brispea

Hiya all, I really need your help with understanding. But first, please avoid offering wordpress or so as a solution. I have a couple of templates (more to come) done from scratch to meet a specific business type (very specific). My problem if a customer selects one template, how do …

Member Avatar for brispea
0
127
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
105
Member Avatar for janicemurby

hi can someone check this section up for me as im getting a error from it after converting to mysqli Fatal error: Call to a member function query() on a non-object in /home/matureco/public_html/config/db_connect.php on line 67 // find total message per user if(! function_exists(unReadMsgCount) ) { function unReadMsgCount($id) { return …

Member Avatar for diafol
0
228
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
290
Member Avatar for pilucho

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 …

Member Avatar for Taywin
0
386
Member Avatar for Vivek_14
Member Avatar for diafol
0
91
Member Avatar for varun_6

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 …

Member Avatar for cereal
0
3K
Member Avatar for Abdulrasheed_1

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.

Member Avatar for broj1
0
90
Member Avatar for janicemurby

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 …

Member Avatar for janicemurby
0
137
Member Avatar for Malachig

Hie guys.I am new to web development.I need a tutorial of how to auto fill textboxes in form with data from mysqldatabase.

Member Avatar for diafol
0
77
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 adishardis

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 …

Member Avatar for adishardis
0
165
Member Avatar for janicemurby

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 …

Member Avatar for diafol
0
264
Member Avatar for toxicandy

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 …

Member Avatar for diafol
0
312
Member Avatar for toxicandy

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 …

Member Avatar for cereal
0
405
Member Avatar for arulprabin

i am new to JSP and this is my first trial on JSP i have a table "des" 1. id - auto increment 2. desn - varchar(50) and i wanted to access the table data on my JSP(index.jsp) file: <%@ page import="java.sql.*" %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Add …

Member Avatar for Taywin
0
338
Member Avatar for WebMedia_1

Pls i need your help here, im working on web page in which i want the user who register or subscribe will login to know thier status either membership expired or active but this code it is working manually if i set the date but not working from the database …

Member Avatar for WebMedia_1
0
2K
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
928
Member Avatar for AntonyRayan

HI, I need a query for this. In a table, I have two date columns like fromdate and todate. My date format will be yyyy-mm-dd. I need to know how to compare dates including the given date to take all dates between the given dates For example,fromdate is 215-08-01 and …

Member Avatar for pritaeas
0
158
Member Avatar for paul.rothenberger

Hey everyone, I'm working on a project that allows the user to register but am running into an issue where when the registration page is submitted the user receives a blank page and no confirmation(database record isn't entered). I've read and re-read the code and can't seem to find the …

Member Avatar for Taywin
0
360
Member Avatar for AntonyRayan

Hi, I do not know about this. In a table I have from_date and to_date only. I will pass two dates to compare from_date and to_date . I want all the dates with day in between two days. My query is SELECT * FROM tbl_name WHERE fromdate>='2015-11-01' AND todate <='2015-11-30' …

Member Avatar for pritaeas
0
161
Member Avatar for Natsu123

Hi guys, I really need your help. I am Programming an app where a teacher logs in with a username and password. After the login a new Fragment in the app opens where the Teacher see all his students in a ListView. To Login I only type the username and …

Member Avatar for Natsu123
0
357
Member Avatar for pilucho

in all pages will code with "session_start ();" but does not display all the information, as "First name, Last name" But if the user is connected, and when browsing pages, only shows the nick, and the other names disappear on the first page to connect, if it shows all the …

Member Avatar for pilucho
0
274
Member Avatar for sasankasekhar2003

I am in the process of developing a web application with a "question - answer" session in PHP and MySQL. This is more like a forum, where the user asks questions and a dedicated expert answers the questions. I am trying to implement the following feature: * When a user …

Member Avatar for overwraith
0
184
Member Avatar for shabbir04

Hello everyone.. this is my php code <div class="content-1 col-sm-12 nopadding"> <div class="list-header col-sm-1">Date</div> <div class="list-header col-sm-2">Product</div> <div class="list-header col-sm-2">Username</div> <div class="list-header col-sm-1">Quantity</div> <div class="list-header col-sm-1">Rate</div> <div class="list-header col-sm-1">Sale Amount</div> <div class="list-header col-sm-1">Payment</div> <div class="list-header col-sm-1">Balance</div> <div class="list-header col-sm-1">Remarks</div> </div> <?php $sql = "SELECT * FROM sale_history order by date …

Member Avatar for diafol
0
246
Member Avatar for SimonIoa

Hello i want to retrieve only one row from an mysqli statement. The catch is that i use the `$row=mysqli_fetch_array` in a `while()` to loop the data. But i need a row to run as variable before the while begins This is what i mean $query=mysqli_query($db,"SELECT a_id,a_title,a_desc,a_url,a_img,a_uid,a_times FROM table WHERE …

Member Avatar for SimonIoa
0
646
Member Avatar for Dmennite

Everything I have found shows how to add a row to a database for new images... I am trying to update an existing row with a longblob field to store a logo and cannot seem to grasp what to do Any help would be greatly appreciated

Member Avatar for Ehab_1
0
2K
Member Avatar for SimonIoa

Hello, i have a problem. I want to do two things First, explode an array to retrieve the ids from a row on the table e.g. 1,5,23 and then use a variable to call a Mysql statement. Here is my code public function Show($times) { $q=mysqli_query($this->db,"SELECT to_uid_fk FROM table WHERE …

Member Avatar for SimonIoa
0
364

The End.