39,320 Topics
| |
I have a script that populates a form from MySQL database table row for editing. I'm performing MySQL SELECT and UPDATE via PDO. After editing a particular table row and clicking on the submit button, the table row doesn't update. The following is "modify-course.php": <?php // configuration require("../includes/config.php"); // query … | |
I'm somewhat new to coding websites. I'm trying to have a code where it pulls multiple images from a single database and displays it in a grid, not a table. At the top of my page I have a normal connection to the database. (very sorry about not having a … | |
The facts: We are talking about a small company (5 persons) with many clients that making real money (we don't) . We provide our own software that has unique features against the e-commerce completion. The problem: the first glimpse of the problem arose around 2012 and made clear around 2014 … | |
Hi, When I was trying to create the IT Request Form and testing it out, I got some problems during the testing. The home page (index.blade.php) ended up getting an error called "Undefined offset: 1", maybe due to the table database problem. ![0TyCAu.png](/attachments/large/4/8730ed8f11be3f5ed672376eee11d83f.png) The checkboxes in the Request Form (requestForm.blade.php) … | |
Hi, I do need help with the PDF2Text, as this is my first time doing that function in the practice web PHP project created from Laravel. When I remove the PDF2Text.php controller, the error message controller is not found. When I restore the same file, the error message says class … | |
Hi All, So I an creating an online store just to play around with code and learn from it. I am building a store and on the confirmation page, I am trying to update the QTY of items in a cart by using the '-' or '+' buttons. However I … | |
The year 2019 has brought new hopes with its arrivals. People around the world are looking for new web development trends the year is going to bring with it. People who are running their website online is looking forward to the emerging trends to adapt the best possible changes and … | |
I have a website that lists pdf files for downloading, with links to each file. What I want to do now is design a search page that will look in the folder that contains these docs and search for docs that match a partial name. I have created search pages … | |
Hi All, I am trying to create some search functionaltiy for my website, but for some reason when I search any word, even if its not in my database it will display all the results from a particular column. Here is my code <?php error_reporting( ~E_DEPRECATED & ~E_NOTICE ); define('DBHOST', … | |
Hi, Me and my colleague are trying to fix an error when we are testing to upload the file to the storage in our PHP test project. The error is called: **FatalThrowableError (E_ERROR): Call to a member function getRealPath() on null** ![0CtiPf.png](/attachments/large/4/a9bee726794f71d1f2c22c42f3f93093.png) We are using Laravel to create a new … | |
I recently have created a Markdown Plugin for WordPress. It has been tested some my friends, but not many people know it yet. https://github.com/terrylinooo/githuber-md I just need some suggestions to improve it, my some questions like: What features do you need if you are using Markdown to write articles? Do … | |
Hi All, As part of a university project I need to create a website that sells cosmetic products. The customer will need to go through the motions of selecting the items, placing them into a basket and going through the checkout process. However I wouldnt need to use a card … | |
I'm working on the application where I want to calculate the total late hours of an employee from a set of records between the employee timing shift? Example Of Employee Time Shift Shift Start: 01:00:00 Shift End: 09:00:00 Php Code // example 1 error_reporting('0'); $time1 = "01:00:00"; $time2 = "09:00:00"; … | |
I am working on a anouncement system. the announcements are displayed everywhere in the website, every anouncement has a acknowledge button, basicaly to mark it as seen. what i have: Table: announcements: annId, annTitle, annContent, annDatetime Table: annComplete: annCompletedId, annId, userId, annCompleteDatetime I first pull all the announcements from the … | |
Hello i have a mysql statement and i want to add more parameters to get different results. SELECT DISTINCT M.message,F.friend_one,F.friend_two, F.role,U.uid,U.username FROM users U,friends F, messages M WHERE ( U.status='1' AND F.friend_one = '88') OR (F.friend_two='88' ) AND F.role='friend' 88 is the users id so i want to show M.message … | |
Hi i am trying to view my blog or post in detail description at that time my browser title shows %page_title%, But it has to show my blog or post title in that place. please help me to solve this issue. **My permalink settings as below** /%category%/%postname%/ **Note:** i have … | |
What are general considerations when choosing an open source library | |
Hello php community, Could you help me in my research? I just cannot find what I am looking for. I am working on a website with PHP and MySQL. I am trying to get a filter option on my website to fetch the information from database. Here are the filter … | |
I realize that this question has been asked many times, but I've yet to find a flatfile version. I'm looking for a way to achieve this: **Scenario:** A person submits their email address via a form. The email is then stored in flatfile database (.txt) The person then gets an … | |
| Hello there, > colud you please tell me that how can i generate html into csv, actually it display all tr and td into csv file, here i have share my code <?php /*include("wp-config.php"); include("wp-app.php"); include("wp-active.php"); include("wp-settings.php");*/ //include("index.php"); include("wp-load.php"); include("wp-includes/template-loader.php"); header ("Expires: Mon, 12 Aug 1988 23:30:00 GMT"); header ("Last-Modified: … |
Laravel App checks redis database for data pushed by 3rd Party. Laravel Scheduler runs artisan command `php artisan check:redis` every 10 mins. I am expecting about 20k records to be checked every hour at peak times. Please also suggest me if my whole approach as a whole is flawed. 1. … | |
Hey everyone, I'm working on one project of mine and for that I need legit credit card details for testing purpose. Can I develop any small tool or script which can help me out everytime to generate unique credit card details. This way, I can test my billing or payment … | |
Hello, This is PHP. Help me understand this code: if($selectDB == true){ $query = "INSERT INTO recruitment (ID, nama, jenis_kelamin, tanggal_lahir, nohp, email, alamat, provinsi, kota, zip, status_nikah, jumlah_tanggungan, agama, file_attachment, cover_letter) VALUES (NULL, '$nama', '$jenis_kelamin', '$tanggal_lahir', '$nohp', '$email', '$alamat', '$provinsi', '$kota', '$zip', '$status_nikah','$jumlah_tanggungan','$agama','$file_attachment', '$cover_letter');"; // "INSERT INTO Customers (CustomerName, … | |
**HELLO GUYS!** I'm Sergey Romanenko a web-developer with strong will for learning and researching new technologies and architectural solutions. I like creating and using specialised tools for making development processes as efficient as possible. Let me introduce my pet project - Flextype! Flextype is Open Source, fast and flexible file-based … | |
I'm working on the employee management system where i want to calculate employee late hour after after employee punch in? **For Example** ABC Employee Shift Start At : 01:00:00 PM Shift End At : 09:00:00 PM Employee Punch Timing At: 02:30 PM Now how i calculate employee late hour ? … | |
I'm doing both SELECT and UPDATE queries using named placeholders. But course data from the database doesn't populate form, as expected. The database table row records don't populate, each time I try to edit a course in the browser. I connect to the database usining PDO. And I do SELECT … | |
I have a form that uploads a news article with it's picture and then stores all the info correctly. I am using codeigniter with Active Record and would like to know how to display the image with the post it was uploaded with. here is my upload script: public function … | |
i am facing some issue in PHP. i have some records against blood report. That are simple some are possitive and some are Negative. i just want to now that from total records. What is the percentage of total Possitive records in my database in Php. Thanks in Advnace. Regards … | |
*Hello** This has been a question for a long time / Request for help for a PHP script. A year ago I created a homepage for a friend (online tutoring website) and installed a finished script for an occupancy calendar and did not consider / knew that the server will … | |
I'm trying to upgrade my script from PHP 5.5 to PHP 7.2. And that came with the script not able to modify a selected table row as before. The records don't even populate whenever I try to edit a course in the browser. Please, note that I'm connecting to the … |
The End.