894 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Sappie

Hi, I built a maze game and it's working pretty well except on touch devices. Before this project, I had never used touch events and so I had to learn about them to implement. But I'm sort of unable to make them work. This is my git repository- (https://github.com/sapinder-pal/Cheesy-Maze-Depth-First-Search-Algorithm), and …

Web Development javascript
Member Avatar for AndreRet
1
49
Member Avatar for Sponge_2

Hi, How do i store files into blob datatype into mysql via user input with python? def read_file(filename): #Convert digital data to binary format with open(filename, 'wb') as f: photo = f.read() return photo @app.route('/createProduct', methods=['GET', 'POST']) def createProduct(): createProductForm = CreateProductForm() msg = '' if request.method == 'POST' and …

Web Development sql
Member Avatar for AndreRet
0
634
Member Avatar for cbz6109

Hi all, I have WordPress blog, problem is that when we upload new content and browse the blog the latest change won't appear on blog until unless explicitly refresh the page after opening a blog. Here is the blog URL: https://corevoila.in/ Any help or clue will be appreciated Thanks

Web Development wordpress
Member Avatar for AndreRet
0
79
Member Avatar for texelbee

I am a nyophyte to PHP, and I've seen this answered so many different ways that it is confusing. I have a combobox that is dynamically populated from a MySQL table ACTIVE in a database AIRCRAFT. Based on the selected AIRCRAFTREGISTRATION value from the combobox, I want to find and …

Web Development mysql php
Member Avatar for Biiim
0
295
Member Avatar for Martin_42

Hi all I'm trying to put together a room hire site, to be used by the lettings clerks, for our local Quaker meeting house and I've hit a couple of problems. I have an HTML form that, using data from a MySQL database and some JSON and JavaScript, when a …

Web Development javascript mysql php
Member Avatar for Martin_42
0
264
Member Avatar for sunil_32

I have a website in laravel [instazood](https://www.iinstazood.com/) I want to apply limit clause with eager loading. I tried many other ways made r and d but could not get any solution. function fetchData() { $user = new User; $data = $user->with('comments'=>function($query){ $query->where('status',5); $query->limit(1); })->get(); }

Web Development php
Member Avatar for sunil_32
0
233
Member Avatar for fecapeluda

Hello guys i'm using [batflat](https://github.com/sruupl/batflat/blob/master/inc/core/lib/Image.php) for a small project. The thing is want to save/display webP images too, How can it enabled/possible?. I try **imagecreatefromwebp** without luck. Any idea/help will be awesome. Gracias! /** * Saves image * * @param string $path Path to location * @param string $type Filetype …

Web Development images mysql php upload
Member Avatar for AndreRet
0
228
Member Avatar for 2020_man

Php Seniors, I still on OOP and mysqli. Not on pdo or oop yet. So, kindly show samples to that level, if you must. Can you tell me if this query is ok to get row count ? It works on my side but I need your confirmation. [code] $query_2 …

Web Development database mysql
Member Avatar for AndreRet
0
61
Member Avatar for serkan sendur

As usual i searched google to convert Decimal numbers to their Binary equivalents but i couldnt find any short algorithm for that matter. So here is mine..

Web Development javascript
Member Avatar for Deendayal_Hindu
1
3K
Member Avatar for garyjohnson

Hello I have a simple for and PHP that uploads multiple images to a file. The problem is I want these images to be resized when they are uploaded. Does anyone know of a simple way to resize these images with PHP? I am not a professional so further explaining …

Web Development images php upload
Member Avatar for haree54
0
3K
Member Avatar for priyamtheone

I’m working with Visual Studio 2017 and Bootstrap 4.5.0. Under a master page, I have a Payment page that contains a txtName textbox, a txtPin textbox and btnPay button. To this, I want to add a DateTimePicker. When btnPay is clicked, values of txtName, txtPin and DateTimePicker should be saved …

Member Avatar for AndreRet
0
880
Member Avatar for pandglobal

I have a html form and a validation php file for the form, every thing works when a user submits the form, but there are certain aspect of the function that i want the user to get in real time, such as if field A value is (yam) then unset …

Web Development ajax jquery php
Member Avatar for jkon
0
280
Member Avatar for mexabet

I'm struggling to add a course to a MySQL database table using PDO prepared query with positional placeholders. When the form is submitted, the database table is not updated, as expected and no error is displayed. Please, where exactly do I place `var_dump()` to display the error? And how can …

Web Development mysql pdo php
Member Avatar for mexabet
0
232
Member Avatar for emiola

Hello, kindly look at my php code to insert registration data into a MySQL database. Here is the code below and further below, the error response I keep getting. <?php error_reporting(E_ALL); ini_set('display_errors', 1); $servername = "localhost"; $username = "emiola"; $password = "emmybaba2020"; $dbname = "tutors"; // Create connection $conn = …

Member Avatar for AndreRet
0
111
Member Avatar for nishita_1

please help me. below chart.js works very well but here show all date data from database but i want only last fifteen days data to show. How can i show last 15 days sale reports. i am attach code below. thanks ![chart_edit_result.PNG](/attachments/large/4/3b3130d6f7da66a0d9ff733730021645.PNG) I an developed an chart.js for my daily …

Web Development ajax javascript jquery mysql php
Member Avatar for pandglobal
0
4K
Member Avatar for mexabet

I'm struggling to create a two-paged form using $_SESSION. What I want to achieve is the first page (page1.php) requires the user to enter his/her email address. And the second page (page2.php) requires the user to enter his/her password. When the user submits page1.php, it takes you to page2.php, where …

Web Development login php
Member Avatar for mexabet
0
124
Member Avatar for priyamtheone

## Basic workflow of my page ## [Image of Payment page](https://1drv.ms/u/s!Ava3iL9se3C3gTF_XJ_RiBBsWDHs) I have a payment page that has a name textbox (txtName), a PIN textbox (txtPin) and two textboxes (txtPaymentDate and txtPaymentTime) containing payment date and time respectively. The page also has a payment button (btnPay). txtName has a RequiredFieldValidator …

Member Avatar for priyamtheone
1
463
Member Avatar for Violet_82

Hi there, I am totally new to Java script (just began to looking into it) and I would like to do something with the comment box on one of the website I am working on [url]http://antobbo.webspace.virginmedia.com/webediting/documents.htm[/url] Basically rather than that box at the bottom of the page I was thinking …

Web Development javascript
Member Avatar for Mohamed Thaha
0
6K
Member Avatar for aveeva7

I have couple of shipping methods DHL & FedEx, if selected products exits in cart show only selected shipping method, how to archive using shopping cart pricing rule or any other way to do this?

Web Development magento php
Member Avatar for Harshal Shah
0
272
Member Avatar for larryson

****pls am not getting things right with this my code i want to alert the user when there is no input made in the FIRSTNAME, LASTNAME, USERNAME BUT i am done with the EMAIL and PASSWORD SECTION SOMEONE PLS HELP ME WITH THIS CODE PLS...**** <!DOCTYPE html> <html> <head> <title>Page …

Web Development javascript
Member Avatar for pandglobal
0
263
Member Avatar for Stefce

I want to echo the results of this mysql query SELECT username, task_completed FROM accounts WHERE referrer_by = :referrer_by AND task_completed < 1 I have this code so far but this doesnt return anything and it should return the values which are less than 1 $ref_query=$db->prepare("SELECT username, task_completed FROM accounts …

Web Development php
Member Avatar for AndreRet
0
76
Member Avatar for ANIMEXD

i am making api in PHP but i have some problems with cors(preflight) i know how the cors works, my problem is when i request the data from api with (fetch api) i get the response from the server(api) but it suppose to also send cookie for authentication purposes but …

Web Development ajax javascript php
0
77
Member Avatar for tareqjhe1

Hello Friends, Recently I have created a website. And whenever I am visiting [my website](https://www.tblog.net/) one yellow i can see left side of address bar. It saying my connection not secure. "Part of this page are not secure(such as images)" . I don't know why it's showing like this.

Web Development security
Member Avatar for Dani
1
262
Member Avatar for Danny159

Hey guys, I have the following code... And what I want it to do but cant get it to do is add up all the price fields and change the sum every time a number is changed or a new line is added... but its not working? Can anyone see …

Web Development javascript
Member Avatar for AndreRet
0
5K
Member Avatar for Stefce

I made an website which i require of the user to enter their credit card details for virtual money transfer inside the website only. I only take the first two numbers of the card in order to detect the Card Type and i take last four because of the UI …

Web Development php
Member Avatar for Stefce
0
265
Member Avatar for Erd_1

I am just getting this mistake **" Parse error: syntax error, unexpected 'if' (T_IF) in C:\wamp64\www\genius\install\run_install.php on line 48" **is there anyone to solve?** ** <?php define('GENIUSOCEAN','https://geniusocean.com/verify/'); ini_set('max_execution_time', 300); if (!isset($_POST['web_name']) || $_POST['web_name'] == ""){ echo "Please Enter Website Name"; }else if (!isset($_POST['web_url']) || $_POST['web_url'] == ""){ echo "Please Enter …

Web Development mysql php
Member Avatar for AndreRet
0
207
Member Avatar for fecapeluda

Hello guys, I am using a Bootstrap grid with 6 element (As articles). 5 come directly from the database, and I need to add one more article element at the beginning, just for aesthetics. This is what I have so far. Any help is welcome. Thank you! Here's the idea …

Web Development css database php table
Member Avatar for Dani
0
183
Member Avatar for danny2

i created a registeration form which i linked to my database whenever i try to make i data registeration i always get this error:Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you …

Web Development php
Member Avatar for pritaeas
0
73
Member Avatar for sahilmohile15

I have been trying to solve this error for almost 2 days have tried various posts from multiple places like github, stack overflow, and even daniweb. None have helped so far. So expecting atleast explaination for issue if you don't have answer. So here how I am creating database in …

Web Development database flask python sqlalchemy
0
178
Member Avatar for ibz95

Hi guys, I have written the following javascript code that validates the credit card information entered by a user. I now want to rewrite the same validation code in PHP. But since I am still very much new to PHP, can anyone give me pointers or help me rewrite it? …

Web Development javascript php
Member Avatar for sunbury2003
0
102

The End.