39,393 Topics
![]() | |
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**  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 … | |
I am trying to create a search box on my website that will allow readers to type in search words and display results strictly from all pages of my .org. I found a php code on this website that I think will do this? So I have created a page … | |
I installed this php with captcha email form on my website --> http://reusableforms.com/d/d4/php-email-form-with-captcha I have it working. :) But there are two things that I want to change. (1) I want to change the color of the submit button. I have semi done that with the following code: .btn { … | |
Hello people, I've been working on a registration form project that needs to contain a captcha code that will be validated. Even if the captcha string inserted in the text box is correct, it displays the error "Captcha string is incorrect". Also, even if the captcha part did not exist, … | |
$query = "INSERT INTO 'user-profiles' ('name', 'avatar', 'description', 'votes', 'pay_methods', 'location', 'user_id') VALUES ('sadj', 'qwesad', 'sadqwdqw', '0','sadsad', 'sadasdsad''4')"; $resultprof = $this -> conn -> query($query); votes and user_id are INT columns, and user_id is a foreign key. Making this insert on mySQL directly it works perfectly, but on my PHP … | |
First program is adding a new topic on forum second program reprtesents a form where we can fill data. so it will showing error undefined index conent and topic and the data is not inserted in my database please help me |
The End.