Featured
-
How Regression Testing Detects Integral Errors In Business Processes
Humans are forever changing and evolving and so to
by kristina.rigina -
Get Display Banner Advertising Opportunity on FindNerd Platform
“Do you have a product or service that nee
by manoj.rawat -
Android O Released with Top 7 New Features for App Developers
Android was founded by Andy Rubin, Rich Miner, Nic
by sudhanshu.tripathi -
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi
Tags
Change product image by selecting only one attribute in Woocommerce Variable Products
This relates to an online clothing store. We have variable products set up with colour and size attributes, for example a product might have 2 variations; Green/Any Size and Black/Any Size.
There is an image of the product in the corresponding...
Converting code from C to PHP
Hi! I have a question about a small piece of code in C to make the same piece of code work in PHP, it has to do with a bit shift and I can't figure out what's wrong.
C:
unsigned u = 3910796769;
u += u << 8;
printf("%u\n&q...
Modal dialog getting closed on submit and without processing form
I have a modal that when opened through ajax displays a form with a submit button. The modal is getting opened successfully but when I am submitting the data in the form the modal disappears without doing the requisite function.
I have tried m...
Senior PHP/JS + Python Developer Required
We are expanding our development team and looking for a Senior PHP/JS + Python developer.
REQUIREMENTS:
You need to speak English
Have at least 5-7 years of commercial experience
Be great in PHP (Laravel, Symfony or both),
Be great...
Want to develop a Book review iOS application using php,mysql and Xcode, please help
1
In this tutorial, I am using the same hosting service (bluehost) in combination with wordpress. Does anyone know why the page is showing an error message when I input the url... aside from this issue. I am following along in this tutorial an...
My datatable not showing in laravel project
I'm working on inventory management project in laravel but currently my datatable is not showing for sales order list
SalesController.php
<?php
namespace App\Http\Controllers\Transaction;
use App\Http\Controllers\Controller;
...
Displays Profiles with a Similar Job Title and Industry in php
What I want:
When I click the First Name a profile.php will open and in one place of a profile.php displays Profiles with a Similar Job Title and Industry
Example
Click Steven and Neena, Lex, and Alexander's profile will display in p...
How do I get the selected ID for the second dropbox based on the first dropbox in PHP with a refresh?
I am building an editor for a blog. Each post will be categorised.
When the user clicks on a post title from the first dropdown menu and presses Ga (go in Dutch), then the page reloads with the second category dropbox selected to the category ...
Can you Spot the Error in this PHP Code?
<?php
class Post {
private $user_obj;
private $con;
public function __construct($con, $user){
$this->con = $con;
$this->user_obj = new User($con, $user);
}
public function submitPost($body, $user_to) {
$body = strip_tags($...
Improve Your PHP Skill and Efficiency with These Amazing Tools & Frameworks
One of the fastest growing programming languages, PHP, has had a strong foundation and is unshakeable today. The fandom behind PHP is huge and the language deserves it. Numbers say it easily that a majority of websites today are built on PHP.
...
How to Implement a Logic in PHP for Fight App?
Please take a look at the code below. We've got a class FightService, which implements a logic of a fight between two heroes. After the fight one of the hero may lose some health points.
Please implement a test for FightService::...
How to Check If Bootstrap Last Column is Even or Odd
Im new to this forum and new to php too… hope i get some help…
I have bootstrap column in while loop, what i want is if bootstrap last column is odd then i want column to be 12 (col-12), i found the way to check number even or ...
Displaying Default Images When There's No Photo Displayed on Bootstrap Carousel
Hi there, I am having a problem here. Hope you can help me solve it.
Scope: I have this slider which display pictures from my SQL which status is 1. It does display those pictures, but when there's no picture with 1 status, it do...
Why wp-cron.php disabled in shared & How to make it works for a website
What is wp-cron.php?
In WordPress, there is a one function name called wp-cron. It is placed in the root path of your website with the name wp-cron.php. It is a kind of run cron job for making below.
>>> Checkin...
Node.js vs. PHP: Which Language is Popular among Developers?
The most popular general-purpose programming language is PHP, which is used for web development. Also, thousands of websites run PHP on their servers. Several Content Management Systems such as WordPress, Joomla, and Drupal, are entirely ba...
Reasons Why PHP is the First Choice of Web Developers
PHP is one of the most famous unique web advancement dialects. The flexible and competent server scripting language is currently what includes on most destinations which needs a specific username to sign-up, download, transfer, use shopping baske...
How to Convert SVG to Image (JPEG, PNG) in Browser & Save on Server
How to Convert SVG to Image (JPEG, PNG) in Browser & Save on Server for product preview to checkout
I'm converting svg using html2canvas to save on server side as png product preview before checkout with base64. The svg works...
How to Create a Simple Admin Page in HTML?
At first i'm a beginner and i have a simple project to do.
I'm trying to build a simple admin page that add some content to my website
This is not a big deal, but i need someone who can instruct my directly ...
Getting Error When Trying to Pass JSON PHP to JS with Ajax!
Hey, I'm in desperate need. I have made a JSON object with PHP named userAuth and I am trying to pass it to a JS file with Ajax, here is my PHP code (auth.php):
$userAuth->access = 1;
json_encode($userAuth);
...
Top 10 PHP Tools for Web App Development
PHP is a scripting language is derived from C and C++, the syntax of PHP is similar to C++ and it supports object-oriented applications. So, developers find it easy to learn and create websites. The PHP built websites can be integra...
Cloud Based PHP Web Development Platforms To Build Faster, Better Web Apps
There was a time when email users had to keep their email stored on their local computers. Outlook was one such service provider where it used PST files, and Eudora used box files. POP3 protocol was designed to allow users to connect to a mail se...
How to Send Username Using Post Method in WordPress to Another Link
I would like to send the username of the user who is online in the WordPress system with a POST method to another link.
How to Send More Than One Data in PHP Ajax Form
<input type="file" name="file" id="file" />
<div style="background:url() no-repeat">
<span id="uploaded_image" ><img src=" '.$row["carimg"].' " height="150" width="225" class="img-thumbnail" /></span></div...
How to Auto-load Classes using spl_autoload_register and Namespaces in PHP App?
I have this simple project built by oop php but it seems that i cant make the autoload class working properly.
I keep getting this error unable to load class. So how can i make the autoloader working in the right way
...
Why my If Statement not Working in While Loop in PHP Program?
I have searched and an IF statement seems to be the only way
The only thing is,when i put IF statement in - it doesn't seem to DO the INSERT statement at all, so nothing is being inserted, it's as if it's stopping before ...
How to Do 2 Steps Verification with Google Authentication in PHP App
Hi,
I wan to add google two step authentication process (http://findnerd.com/account#url=/list/view/How-to-Use-2fa-Google-Authentication-in-CakePHP-3-and-Above---8-Steps-Guide/33464/?utm_source=hashnode.com).
I have alre...
How to Covert Function Query from Mysql to Mysqli
can you please help to convert the outdated function query into mysqli
function query($querystring)
{
$this->q...
Use Firebase Cloud Messaging to Send Push Notification in PHP Application
Using (FCM) Firebase Cloud Messaging you can send the real time notification to the browser in your PHP web application , Using FCM, you can notify a client that new event or other data or mail is available to sync.
&nb...
How to Implement ResellerRatings API to Get Star Rating Reviews from Third Party Site - 5 Easy Steps
ResellerRatings API for Brand Reviews is the API’s constructed to tell a story about brand reviews, your review data collection effort, product reviews, and the collection of reviews around ResellerRatings as a business unit.
This tutori...
Convert flat multidimensional array into a hierarchical multidimensional array
I am trying to list photo albums where each album contains individual photos. This is similar to categories where each category cotains posts.
I have two database tables, namely "albums" and "photos".
The albums table ...
What is Zencart eCommerce PHP Web Development Framework & Why is it so Popular?
ecommerce has turned into the method for doing online business today. We as a whole comprehend the criticalness of installing shopping cart programming on your web based business site. Along these lines, on the off chance that you are searching f...
While creating PHP login script using Javascript Ajax, Why I ain't getting response?
create php login script using javascript ajax ?
i have this script for php login and i need to use ajax to login the users
but i can not make it work i can't get response form processing page
and i use alert function to alert response text...
Where & on Which Line Banned Word Filter Code On Mini Proxy to be Put in PHP?
Folks,
Where on Mini Proxy, on which line, would I add the banned words filter code (the code which you see below) so that, when banned words are found on the proxied pages, then the banned words are substituted ?
Mini Proxy is here:
https...
Why httpS Fails To Load on HTTP Request via Multiparameter in cURL in PHP Code?
Php Gurus!
This is a php web proxy called Mini Proxy not written by me.
Why do https pages show blank white when I visit any https pages with the proxy ?
I reckon the https pages are failing to load. Why do you think that is ?
You c...
How To Check For Banned Word On Page With Javascript ?
Folks,
I'm trying to add a content filter (banned words filter) onto a web proxy. When the Javascript detects any of the banned words on the page, it should:
* echo/print on screen/display a warning to the user:
"Banned word "...
Finding Banned Words On A Page And Not Within Other Words!
Php Lovers!
I am NOT searching for banned words within other words on a page but searching for banned words within a loaded page.
I am not actually looking for banned words within other words but within the page (meta tags, content).
...
Looking for SQL, NodeJs and PHP Programmers to join Our Startup
We are looking for programmers that know SQL, NodeJs and PHP, as well as web designers, to join our startup.
Requirements:
- Applicants must be able to take initiative when it is needed
- Applicants must be creative
- ...
Login With Username or Email And Password - Cleaning Up The Reg Page
Php Folks!
You know others in other forums suggest I use regex but yet again they never provide sample or I reckon many don't know the regex.
I will mention your sample on other forum and link back to this thread. Hopefully, a lot of newb...
How to Code cURL PHP Script to Auto Type In Search Box & Click Search Button?
Hi,
I want to build a cURL script that auto searches a keyword on any site's search feature.
In this example, imagine I want it to search ebay.com.
How should I code it ?
What is the code that:
1. Types a keyword in the search box;
...
Why password_verify Function Not Passing the Verification in PHP Application?
Php Programmers,
Why does the password_verify keep failing ? I checked the myql tbl column name (passwords) and there is no typo.
The $query is able to get the $result querying the db ($result = true).
The password_verify is in...
Why string_replace Fails On Arrays ?
Php Folks!
I am trying to do the following with cURL:
* Keyword Search on Google.
So, basically, when you do a keyword search on Google, then cURL is supposed to fetch the Google Search Result Page (SERP) showing you the search results o...
CURL Fails To Load Page
Php Guys,
Why does this cURL show complete blank page ?
<?php
/*
ERROR HANDLING
*/
declare(strict_types=1);
ini_set('display_errors', '1');
ini_set('display_startup_errors', '1');
error_reporting(E_ALL);
mysqli_rep...
How to Implement Registration Functionality in PHP?
Programmers,
I wrote a registration.php (member reg) and it was working fine but the coding was not perfect (old version).
Neated-up the new version but I see a complete blank page once I click "Register" button. I do not get this m...
Enable sending mails on localhost
I am trying to send mails from localhost. I followed a tutorial and found online but still cant send the mail. please help!!!
How to Export Data Reports in Excel Using Codeigniter Framework
Excel is a spreadsheet which contains cells in form of rows and columns. We can say it is a computer program which is used to record and manipulate data in rows and columns.
In this blog we will learn how export data reports in excel format us...
Top Pain-free Hosting Providers For PHP Web Applications
Since PHP is a popular choice for application developers it is not surprising to note that almost all hosting providers support PHP. The most ideal environment for hassle-free deployment of PHP application is when your hosting provider gives you ...
How to Securely Implement Password Encryption in PHP7 Application
If you are developing a web application or any website, you should have to take a stem to store your user's admin password securely in your database.
Secure way means that the way to save your password in your database in an encrypted way ...
How to create a feature similar to Sign in with Facebook using PHP?
How to implement a feature similar to sign in with facebook , I have a site B . com ,I want sign in to B.com using email and password registered in B.com from another website A.com . How can i implement it ?
How to Create Token Based Approach for Authentic Requests on PHP API
Unlike in website the session are useful for handling users data from one page to another, The API requires a secret token to do the same.
The secret information like email, user type, balance need to be get passed from one request to an...
How to Display Recent Article Title to Top New Bar of PHP WordPress Site from Specific ID
Hello
I recently stumbled upon this site and was wondering if someone out there could provide help.
Currently there is an area in the top bar of my Wordpress site that has a section called "BREAKING" (this "BREAKING...