Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
last_insert_id
- Page 1
pass data to another asp page
Programming
Software Development
4 Days Ago
by Fergus_1
ok so i have a page with a gridview on it and it displays rows from sql table. i have also a link assigned to each row: <asp:GridView ID="GridViewMatters" runat="server" AutoGenerateColumns="False" OnRowDataBound="GridViewMatters_RowDataBound"> <Columns> <asp:…
Re: Improve HAVING BY performance
Programming
Databases
1 Week Ago
by Biiim
> INSERT INTO electronics.products(ProductID, ProductName, Price) VALUES ('1','capacitors', 2.50), ('2','resistors', 4.50), ('3','rectifiers', 7.50), ('4','diodes', 10.00), ('5','ICs', 25.00), ... ('50000','...', ...); I don't see any mention of an index on it & your benchmark indicates you don't have one: ALTER TABLE `…
How Build video-player in html And css ?
Programming
2 Weeks Ago
by Kirubel_2
<head><title>navigation</title> <link rel="stylesheet" href="../css/nav.css"> <link rel="stylesheet" href="../css/tutorial.css"> <link rel="stylesheet" href="../css/vedio.css"> <link rel="stylesheet" href="…
How Build Html form ?
Programming
2 Weeks Ago
by Kirubel_2
<!DOCTYPE html> <html style="font-size: 16px;" lang="en"><head> <title>Comment</title> <script src="js/jquery.js"></script> <link rel="stylesheet" href="sign.css"> </head> <body …
AirTM API: How to Build a Form?
Programming
Web Development
3 Weeks Ago
by FarrisFahad
Hello, I am somewhat new to APIs. I have integrated PayPal payments successfully. With PayPal, I can send the user to the payment page using an HTML form. Here is an example ... <!-- PAYPAL --> <form action="https://www.paypal.com/cgi-bin/webscr" method="POST" name="_cart"> <input…
Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Weeks Ago
by mx_983
Basic background information Mariadb Ver 15.1 District 10.11.6 MariaDB Glarea cluster, one with three nodes: Node1:192.168.18.78 Node2: 192.168.18.79 Node3: 192.168.18.80 Among them, Node1 node was restarted after a power outage of 1 hour, and after executing the system ctl start mariadb, it was stuck for a long time (running for 6 hours) …
How to Optimize RecyclerView performance by implementing the ViewHolder
Programming
Mobile Development
2 Weeks Ago
by Mikekelvin
When working with RecyclerView, always utilize the ViewHolder pattern to improve performance by minimizing the number of findViewById() calls. public class MyAdapter extends RecyclerView.Adapter<MyAdapter.ViewHolder> { public static class ViewHolder extends RecyclerView.ViewHolder { TextView textView…
Re: Improve HAVING BY performance
Programming
Databases
2 Weeks Ago
by toneewa
I'm a little late to the party, however, I want to share my experience learning MySQL in the past day. I setup a server, a database, and wrote a C++ program to connect to it. It measures the times for 3 SELECTs. The whole product list, using HAVING, and WHERE. I also tested reversing the orders. Query execution time: 0.0002336 seconds …
Re: Improve HAVING BY performance
Programming
Databases
2 Weeks Ago
by toneewa
Correct. It wasn't about displaying the results, but to measure the different clauses. I'm not impressed by only 95 INSERTs/sec, and a maximum write speed of 175 KB/s for importing data. Increasing to 50K shows WHERE to be faster. 50K: WHERE Query execution time: 0.0599129 seconds HAVING Query execution time: 0.0621748 …
Re: How Build video-player in html And css ?
Programming
2 Weeks Ago
by Kirubel_2
body{ /* background: url(../img/w11.png); */ background: url(../img/m.jpg); background-size: cover; background-repeat: no-repeat; margin: 0; padding: 0; height: 101vh; overflow-y: hidden; } .container button{ background: transparent; …
Re: AirTM API: How to Build a Form?
Programming
Web Development
3 Weeks Ago
by pritaeas
You cannot safely use a form to post directly to AirTM. Post to your own PHP script, which can then use curl to make the request, including headers.
Re: AirTM API: How to Build a Form?
Programming
Web Development
3 Weeks Ago
by Dani
I can see that the URL that you linked me to has 4 steps to create a purchase. The first one is to create a Purchase via an HTTP POST request. That can be done with a cURL request. cURL requests require some backend programming such as via PHP or some other language. Are you using a server-side language to write your web app? If so, which one so…
Re: Finished learning basics of html and css. What next?
Community Center
Geeks' Lounge
3 Weeks Ago
by Dani
Or you could try the React framework instead of Angular. I've heard better things about it.
Re: AirTM API: How to Build a Form?
Programming
Web Development
2 Weeks Ago
by pritaeas
https://docs.airtm.com/purchases-payins/create-purchase You can choose PHP in the dropdown above the sample code. That way you can see what your PHP should contain.
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Weeks Ago
by rproffitt
From https://stackoverflow.com/questions/78269177/mariadb10-11-6-galera-single-failed-node-startup-stuck-failure where they call it out as a bug waiting for a fix.
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Weeks Ago
by rproffitt
The problem is still unresolved. Until the bug is fixed. Be sure to tell all that you don't accept this as a bug and want a fix now.
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Weeks Ago
by rproffitt
I wonder if the last other stable releases show this issue? "Stable release: 11.3.2 / 16 February 2024; 46 days ago" or the most recent release of MariaDB 10.11: MariaDB 10.11.7 Stable (GA) That is, many fixes don't get released for out of date versions. The new version is how many fixes are issued.
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Weeks Ago
by toneewa
I wonder how these IP addresses are issued. Static, dynamic, or is DHCP on? It reminds me of the time a network printer that stopped working, after the power went out. Other devices connected to the network after it's setup. Then, after rebooting, it got a different IP, but the host still thought it was on the old one. I've seen the same thing when…
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
NO! I meant that URL loads but not friendly I have to put these STATIC URLs inside the text retrieved from the database as I cannot insert php strings. Example from database example that htaccess makes unfriendly : <em><a href="../read-lex.php?slug=Provvedimento-di-sospensione-Trib-Cagliari">Vedi SENTENZA&…
Fine Tuning Google Gemma Model for Text Classification in Python
Programming
Computer Science
1 Month Ago
by usmanmalik57
On February 21, 2024, Google released [Gemma](https://ai.google.dev/gemma), a family of state-of-the-art open-source large language models (LLMs). As per initial results, its 7b (seven billion parameter) version is known to perform better than Meta's [Llama 2](https://llama.meta.com/), the previous state-of-the-art open-source LLM. As always, my…
Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Adolfo_1
I have problem with this htaccess in STATIC URL RewriteEngine On RewriteRule ^readlex/(.*)$/?$ readlex.php?slug=$1 [NC,L] **DINAMIC URL** work fine only with defined CONSTANT: Example <a href="<?php echo BASE_URL.READ_LEX ?>Le-mura-di-Lucca">Lucca</a> Result = localhost/mysite/…
ChatGPT ‘Lobotomized’? Performance Crash Sees Users Leaving in Droves
Community Center
2 Months Ago
by Johannes C.
**ChatGPT has had lazy days before, but this week’s performance marks an unprecedented low. Here’s why many ChatGPT Pro users are canceling their subscriptions – and even more might follow.** ![lobotomized-chatgpt.jpg](https://static.daniweb.com/attachments/4/7421f2d25c68fdee20e906d1ae1bfec9.jpg) Yes, complaints about ChatGPT being lazy have …
Odoo : report creation from JSON data
Programming
Web Development
1 Month Ago
by codewasher
Hi, I am new to Odoo ERP development. I have a requirement as below. I need to connect to an external API and get the response JSON data. From this response, I need to prepare the reports and show it as the list, then click on each item, it will show the report in form view. 1. I have JSON data 2. JSON data has student details, so I need a…
Re: import image from database image folder to pdf using fpdf
Programming
Web Development
2 Months Ago
by thir
hai, dani thank for your reply. currently im trying to set up the pdf report using fpdf that include multiple images on it. after googling the best solution for my problem im still cant get it and getting worse. MY CODE IS LIKE BELOW; include 'config.php'; if(isset($_POST['add_gambarvk'])){ $gambarvk_name = $_POST…
Re: Seeking Help for Creating a Circle Generator Tool
Programming
Game Development
2 Months Ago
by jackwells
Here is a code i created <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Minecraft Circle Generator</title> <link rel=&…
Re: How to Code a Load More Button?
Digital Media
Digital Marketing
Search Engine Strategies
1 Month Ago
by MarkMarketer
Creating a "Load More" button is a common feature when it comes to handling large data sets. The idea is to load a small amount of data initially and then load more data as the user requests it. This can be done with a combination of HTML, CSS, and JavaScript. This guide will take you through creating a simple "Load More" …
Re: Extracting values from capturing groups in regex
Programming
Software Development
2 Months Ago
by Tom_45
It's a long one, but here it is. <head><title>Popular Baby Names</title> <meta name="dc.language" scheme="ISO639-2" content="eng"> <meta name="dc.creator" content="OACT"> <meta name="lead_content_manager" content="JeffK"&…
Re: What's up with XOAuth?
Programming
Web Development
1 Month Ago
by toneewa
Maybe you were thinking of something like this: <?php // Include PHPMailer-BMH library require 'vendor/autoload.php'; // Adjust the path as needed // Create a new BounceMailHandler instance $bmh = new \voku\BounceMailHandler\BounceMailHandler(); // Set up Office 365 SMTP settings $bmh->…
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Dani
I suppose I’m not properly understanding your question. Do you mean when you go to the URL in your browser localhost/mysite/readlex.php?slug=Le-mura-di-Lucca it doesn’t load, but when you go to the rewritten URL it works fine?
Re: Htaccess Problem Url Friendly
Programming
Web Development
1 Month Ago
by Dani
I apologize that I still am misunderstanding you. I'm confused what you mean by "example from database", because it seems your question is about htaccess and PHP. I'm confused what is being retrieved from the database In your second example, what are the values of BASE_URL and READ_LEX? Additionally, your .htaccess file said …
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC