Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

What Is Wrong With Number Of Rows Count Function ?

Guys & Ladies, This LOGIN.php was working lastnight and so I don't know why not now. The ELSE at 53 gets triggered even though I have typed the right password! What do you think of line 16 ? ... if($numrows >1) I tr...

How To Force MySql With Php To Show Final Row Only?

Buds! How to code so php forces mysql to show only the final row of the column ? The followings are how I coded (2 copied youtube tuts) to show all rows to allow user to delete multiple rows:SAMPLE 1 [php] <?php session_start(); re...

How To Add More Than One Entry On A Single Cell/Array Where Each Entry Is Separated By Commas?

Programming buddies, I'm back online after nearly 2wks of offline. Gonna be harassing you guys again and more this time. Eeek! Anyway, right now, I'm trying to build a script that adds multi-entries into the same single cell MySQLsq...

Add children objects to a parent only if they don't yet exist

I am busy developing an action for parent that should add a number of children given by the user input. The children have 3 properties, and combining them, each child should always be unique. I make use of Symfony and Doctrine and my basic ...

Which Parts Of Php Not To Learn ?

Guys, After getting putoff from php.net to learn php 7 (because it is not beginner friendly) and raoming around youtube for 1.5mnth to learn php and failing to get proper tutorials there, I returned to php.net. Was reading the CONSTANT chapter...

How To Display Data in iFrame A Url From Mysql?

This is my latest shortened version of the homepage in my reg-login site PHP. When you login to your account, your homepage welcomes you with your first & surname. Then it is supposed to show you your bio ($row "bio" in tbl) and s...

What On Earth Is This Outlandish Error - PHP Parse error?

Programming Buddies, Here's my latest script. It is a member reg-login script. It registers you and gets you to activate your account confirming your email and then auto logs you into your account. It uses cookies to remember your user de...

Which tutorial should I pick out of these (member reg, login site) ?

Programming Buddies, Looking at the following links, can you be kind enough to tell me which one I should learn from and which one teaches what method (mysqli, pdo, etc.) and whether they are on php 7 or 5 because only looking for php 7: ...

Php 7 Acting Weird - Failing To Send Email, Failing To Send Link With Random Numbers

Hi, I'm a beginner in php. Starting my learning at php 7 and not 5 or earlier. I don't understand why php 7 is showing me an error like this: [09-Mar-2017 20:54:49 UTC] PHP Fatal error:  Uncaught Error: Call to undefined metho...

Why Reg Page Php 7 MySqli Code Fails While Login Page Code Works ?

Hi, I am using php 7 and I do not know why the following 2 different codes for user the user registration page is not working. The login page php is working, though. I would appreciate the communities feed-backs. Thank You!   ...

php class vars auto instantiation using (PDO) ?

I'm creating an admin class and i need to know how to auto instantiating the class vars   class Admin{ public $admin_id ; public $admin_name ; public $admin_email ; public $admin_type ;...

What is This Php Method Called For Tracking Links On Foreign Domains (Web Proxies)?

Php Experts, I am a complete beginner in Php. Trying to learn Php 7 as much as I can. I need your help to point me to the right direction. What kind of method in Php 7 is used to track URLs belonging to a foreign domain ? I mean, you all...

Where Can I Find Best PHP 7 Tutorials For Complete Beginners

I would like to learn PHP 7. PHP 7 tutorials are available online for those who already know previous version which I don't know. Please resolve my following questions: Q1. What are your top best Php 7 tutorials (paperback books, eb...

Countdown using PHP or Jquery

<?php $time=time(); $time_out=$time-60*24; if($userInfo['deleteTime'] < $time_out){ $countTime=$userInfo['deleteTime'] - $time_out ?> ...

Page Isn't Redirecting Properly Error in Magento Application

While working on a Magento allication for eCommerce website, I am getting "Page Isn't Redirecting Properly Error". Can anyone let me know how to resolve this issue.

How to get difference between two or more arrays in PHP?

Hi everyone, I am a beginner and have been learning various programming languages like PHP, DotNet, Java etc. I faced an issue regarding php programming in which I wanted to learn how we can find out the difference between two or more arrays base...

Why we use Php Frameworks instead of CorePhp?

Hello Readers,  I am a beginner in Php and want to know why we use Php Frameworks instead of CorePhp? If, we can do all things in corePhp. So, what is the basic use and advantage to use and work on Php framework?

How can i print values of array in this program? it is printing the key?

 In program below, I  want to print values of array but it is printing the key, can someone help. <?php $CHAMP = array("ESP"=>"BARCELONA", "GER"=>"BAYERN", "POR"=>"BENFICA","ENG"=>"CHELSIA"); $TEAM = array("ESP"=...

Which PHP Framework is easiest to learn?

Hello Readers,  I am Fresher in a company and working as a HTML Developer. Now a days, I am planning to learn PHP, So I want to know which PHP framework is easy to learn?

passing id from function to another in php?

I have PHP MySQL functions and I need to pass the id number from one function to another and each function are called in different page. I'm using the URL to pass the variable. I don't know if that is possible but can I use session to pas...

Php mail function if statement

  I want to use another if statement in below mail function with failure message. so when mail will not sent it can display failure message on the screen <?php if(isset($_POST['submit'])){ $to = "Test@gmail.com"; // this...

Explain like I'm 10, when and why should I move my site to https from http?

I am new in web development. I notice that in web url there are two typs url 'http' and 'https'. I dont know the deference of these two also when and why we should change it from http to https. Any can can help me to understand t...

How to Validate & Process Data Before Posting into Payment Processing Site?

Need to post data to a payment processing website - but need to validate and preprocess first Apologies if this is a dumb question. I am not an experienced web programmer. I am trying to integrate an online payment processing site with my o...

How to Instantiate Class Using Namespaces in PHP?

Trying to figure out how to instantiate class with name spaces. The library was built for Composer to manage dependencies, but we're using just the necessary classes for our project. We are using this library: https://github.com/thephpl...

Best web socket server and PHP which can handle 500-1000 simultaneous connection?

Now days you can see, most of applications are using socket programing. I want to implement socket programing in PHP. How i can build best web socket server in PHP which can handle more than 500 simultaneous connections. Please share your views.

How to make a progress bar using PHP ?

Hello friends, I am looking for the script to create a progress bar using PHP. Please share your suggestions.

How to use database to handle sessions in PHP ?

Hi I'm developing a php web application where the front end users are countless. Currently the sessions are saving in users web browser which are likely to remove after certain duration of time. I want to develop the session and save it to my...

How to generate report like pivot table from php 3d array on question_id base

Actually I am generating a report and print out answers under that question id. Like 13377 questiin id answered 3 times so i want to echo their answers underneath and the same for other question ids. All data is dynamic. Get unique questions id t...

What is the use of memory_limit = -1 in php.ini?

Hello, php.ini file is the configuration file of PHP. There is a parameter memory_limit in the file. Can anyone explain me what is the use of this parameter?

Getting Foreign Key Constraint Fails Data Insertion Error in MySQL

I am trying to create to 2 tables and inserting data into them but I am getting this error Creating Athlete the table failed SQLSTATE[23000]: Integrity constraint violation: 1217 Cannot delete or update a parent row: a foreign key constraint fail...

How to you use MySQL as a session store instead of file system?

I am working on web project and facing session storing problem, actually i need to store session details into MYSQL database but don't know how to do this?

Google calendar event API time zone inconsistent

We are using google calendar watch API in our application to sync all calendar events for connected user's account. Until yesterday, we were getting all updated events from google calendar API in UTC time zone but now we have started getting ...

What issue/bug trackers are the best according to you and why?

Hello friends, I am working on a project in PHP. So, want some information related to issue/bug trackers. Anyone know about Bug Trackers pleases help me which one should I prefer and why?

How can I secure my APIs using O-Auth?

I wrote some APIs in PHP to expose my website to a greater no of audience. Now, can anyone help to know how I can secure them using O-Auth.

update multiple values using php and mysql?

i need to update multiple choices for question but every time i run the query it's only update the last choice only also i need to update the value of the correct answer which is (0 or 1 ) which the best using input text or radio button ...

Any Alternative to WordPress for Easy Content Management By End User?

Can anyone please suggest some good alternatives to WordPress for client sites, so that it is easy for them to manage themselves?   We all knows that Wordpress provides us many different features to build as well as manage the website....

set the correct answers equal to 1?

i'm working in query to insert answer into answers table and i need to set to correct answer equal to 1 and the incorrect answer equal to 0 for that i'm using radio buttons to assigned value into the answer but every time when i run the q...

how can i insert a value into foreign key in mysql table using php?

I am having a problem when I try to push value into a foreign key in MySQL table I don't know if it's correct but I have used the  GET method to pass the primary key through a link but it didn't work so how can I use the right wa...

how to choose correct answers from multiple choices questions ?

how to choose correct answers from multiple choices questions using php and mysql i don't know if i'm doing in the right way because i'm still new in programming world  1- i'm using an array to store the questions  ...

Export Excel Data to mysql by using codeigniter framework

How do i  export Excel Data to mysql by codeigniter framework?

Shopping cart quantity counter incrementer?

Hello all, I am creating my first shopping cart in cakephp but got stuck while updating the product quantity. I want to update the product quantity using a session variable. Problem here is that when ever I am adding the same product to the cart ...

Send correct emails depending on customers language settings

Hi guys, When customer creates an account in language other than english (e.g. german) Magento sends an email using default english template account_new.html. Email template account_new.html in app/locale/de_DE/template/email seems to be ignored...

countdown timer for online test

countdown timer for online test how can i add timer to my online test which allows me to -1 time your testing 2-if the countdown is finish the form will submit 3- after submit i need to give score the questions that he has already answered it...

convert letters to digits and get all combinations

I have letters in a string, I would like in result get all possible sets of those letters and convert them to numbers, each set should use all numbers, each number can occur only once in a set. numbers automatically should increment until 9. and ...

update data using get method

update and delete using get method i have this code to update data from my database i have no error reporting but he's not updating  any data can you help me with that   my database and my code -- -------------------...

php script help needed

using wamp server ive created a table called tbl_users which has columns user fname, lname, email and password. ive populated all these fields already. ii am currently using note++ and need php code that will create a login form that will accept ...

Create a Login Form With Validation

Hi All My Question is as follows. Create a login page for your project. The login page must:  a. Accept a user’s name, surname, email address and password. b. The password must be compared to a, e.g. hash “29ef52e7563626a...

Create and Delete and Recreate Table

Hi i have been asked to the following task.   Your project must meet the following specifications: 1. Create a table tbl_User in MySQL using the console or phpMyAdmin, consisting of the following column names: a. The table struct...

PHP error after updating my php version to 5.4.0-3

Hello I'm get a strange PHP error after updating my php version to 5.4.0-3. I have this array: Array ( [host] => 127.0.0.1 [port] => 11211 ) When I try to access it like this I get strange warnings print $me...
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: