39,326 Topics

Member Avatar for
Member Avatar for ruby_2

Please guy am new to php am writing a project now.....but I want to be sure how to merge a user to another user with same amount or figure (project idea ponzi scheme like mmm)

Member Avatar for rubberman
0
119
Member Avatar for gahhon

Let's all be examples. I am redirecting from A.php to B.php with a parameter, let's say it ID=1. Therefore, ..../B.php?ID=1 And I wanna hold the value of the ID. Whenever I press a button on B.php, the value ID=1 gone. Any idea of how can I hold that value ? …

Member Avatar for gahhon
0
283
Member Avatar for new_coder

hi im new in php im trying to create a log-in system but i got an error need your help guys THIS IS MY LOGIN PROCESS <?php require 'connect.php'; $employeeno = $_POST['employeeno']; $name = $_POST['name']; if(isset($_POST['LOGIN'])) { $query = "SELECT * FROM tbl_employee_information WHERE employeeno='$employeeno' AND name='$name'"; $query_run = mysqli_query($query,$db); …

Member Avatar for cereal
0
344
Member Avatar for UI

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 details. It was working fine until I added the feature …

Member Avatar for cereal
0
179
Member Avatar for UI

Programming Buddies, Looking at this youtube channel, do you think as a beginner in php (starting at php 7), the channel is good for me to learn php 7 (and no previous version to avoid learning deprecated stuffs) and pdo of php 7 ? Check his php series and then …

0
122
Member Avatar for gahhon

function display_questions() { $lines = file('questions.txt', FILE_IGNORE_NEW_LINES); $count = count($lines); for ($i = 0; $i < $count; $i++) { $newLines = explode(",", $lines[$i]); $no_question = $i + 1; ECHO ('<b>' .$newLines[0]. '</b><br />'); ECHO ('<input type="radio" name="' .$no_question. '" value="' .$newLines[1]. '/>' .$newLines[1]. '<br />'); ECHO ('<input type="radio" name="' .$no_question. …

Member Avatar for gahhon
0
265
Member Avatar for janicemurby

hi ive got a html table echoing through php and im having problems displaying image in the table heres what i have so far if($fetch_image['user_image']!='') { echo '<td>'.$fetch_image['user_image'].'</td>'; } else { echo '<td>'.<img src='images/blank_big.jpg' height='150px;' width='150px;' />.'</td>'; } and here is the fetch section $user_image = mysqli_query($conn,"select * from user_images …

Member Avatar for cereal
0
371
Member Avatar for idaryl

I am using this output from a radio array in a heredoc output {$custom_radio2_2} and wanted to add a font awseome icon to the variable output like `<i class=fa fa-eye></i>` - however if I just use it in the heredoc its always present...and I just want it to appear whenver …

Member Avatar for rproffitt
0
298
Member Avatar for bbizzl

Hello, I have a PHP email script that works I just can't figure out adding the unsubscribe link and tracking. [CODE]<?php $formMessage = ""; $senderName = ""; $senderEmail = ""; $senderMessage = ""; if (isset($_POST['cusername'])) { // Gather the posted form variables into local PHP variables $senderName = $_POST['cusername']; $senderEmail …

Member Avatar for andrew_38
0
950
Member Avatar for janicemurby

good got job nearly finished but one slight glitch i have 2 entries in database but only one is showing twice in table results how can i get to show both results heres code fetch and connection block <?php include("config/db_connect.php"); //include("config/ckh_session.php"); $sql = "SELECT * FROM meets"; $result = mysqli_query($conn, …

Member Avatar for janicemurby
0
449
Member Avatar for UI

Hi, I have gathered this list of sources to learn php 7. I have ranked according to priority I am giving. Do you pros mind checking them out and then give your own ranking hich onees you give priority to as a good learning source ? Btw, these sources never …

Member Avatar for rproffitt
0
541
Member Avatar for janicemurby

hi i have a form for members to fill in and i want there own personal submissions under form where i will be adding options but it will only work if i put the submitted data above form else i get white screen heres my coding **top php block ** …

Member Avatar for diafol
0
260
Member Avatar for guyinpv

Hi, I'll try to make this quick. I'm used to programming PHP in context of building websites, to add random bits of dynamic functionality, but every once in a while I need to build something like a complete application. My problem is this, as a single developer, there comes a …

Member Avatar for diafol
3
264
Member Avatar for shivya_1

Hello to all, I am working on a project of job posting. There is a table in database. I have a html form and postcode.php (there will be code) , I am facing a problem with this code. **My html form code:-** <form name="posting" action="postcode.php"> <table class="table"> <h4>Job Details: <span>specify …

Member Avatar for Traevel
0
262
Member Avatar for PoroUsedSnax

Hi All, I'm currently designing a website for my business and would like to have a system that pulls products from my database via PHP and adds them to my products section, but I'm unable to find anything that explains how to do it for the kind of setup I …

Member Avatar for diafol
0
448
Member Avatar for UI

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!

Member Avatar for UI
0
131
Member Avatar for UI

<pre>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 acting weird. It give different result at different time. Do you guy mind checking if I got the coding wrong or if I've come across a …

Member Avatar for diafol
0
574
Member Avatar for Phil_7

I have found a source of and aledged xml file (although it is named as solarxml.php, when I download it the data that I want is there, i.e. solarflux, aindex, kindex and sunspots, but I have no idea how to determine how to extract the 4 data fields I want, …

Member Avatar for Traevel
0
1K
Member Avatar for Marlon189

Pls i want to how to embed another laravel application into another. Something like the url/admin. Am able to access the url/admin though but all other urls still run back to the main url. Thnaks

Member Avatar for diafol
0
159
Member Avatar for abubaker_2
Member Avatar for jeffersonalomia

How do facebook, twitter, and other social media app store the data of the user's chat history or chat log? Is it on the database or on a separated file? How can i create a professional chat application on my website?

Member Avatar for pty
1
369
Member Avatar for Rathi_1

Iam doing library project in php,mysql. Library user should have alert message for expiring their book return date. So,I need to send an auto generated notification email before 2 days to multiple person's mail address. Please help me to complete this task.

Member Avatar for diafol
0
82
Member Avatar for Dylan_11

HI, I have the below php code that i am attempting to use to search the database for a value that has been inputted in the form. This connects to the database and works fine but brings back no results. I found the following error: Warning: mysqli_num_rows() expects parameter 1 …

Member Avatar for abubaker_2
0
557
Member Avatar for janicemurby

hi all ive got a file to display info from database and im trying some way to fetch username from another table for it i have put this at top of file. <?php $query = mysqli_query($conn,"select * from user"); $fetch_user = mysqli_fetch_array($query); ?> and here is the section for displaying …

Member Avatar for janicemurby
0
317
Member Avatar for Dylan_11

HI, I have attempted to put a login page on to my web page that i am developing as a learnig curve. I am almost there i think, i have created a table in my database that stores the username and passwords and i have a php script that i …

Member Avatar for diafol
0
1K
Member Avatar for janicemurby

hi im attempting to add mysqli_real_escape_string into form to make more secure and after i added it in code below $event_type = $_POST['event_type']; $event_date = $_POST['event_date']; $event_country = $_POST['event_country']; $event_postcode = mysqli_real_escape_string($conn, $_POST['event_postcode']); $event_title = mysqli_real_escape_string($conn, $_POST['event_title']); $event_description = mysqli_real_escape_string($conn, $_POST['event_description']); $event_ltm = $_POST['event_ltm']; like so and go to fill …

Member Avatar for janicemurby
0
250
Member Avatar for gamechick1988

hi, I'm new to PHP and mysql (so you're warned ;) ). i'm making a videogame database ( with XAMPP) and something goes wrong when I try to update my game data. It says the update went fine but the only all the spaces are now blank except for the …

Member Avatar for diafol
0
210
Member Avatar for berserk

SO Basically i have this problem with this test build of a little project im rewriting and so far its not looking to good I have multiple tables that are all the same, they have been set up this way for simplicity as far as i can tell. Tables +----+----------+-----------------+---------------+-------------------+ …

Member Avatar for Traevel
0
722
Member Avatar for janicemurby

hi im struggling with this error see section below if anyone can help be much appreciated ty jan x <?php include("config/db_connect.php"); include("config/ckh_session.php"); // Inserting user Details code if(isset($_POST['submitmeet'])) { $event_title = addslashes($_POST['event_title']); $description = addslashes($_POST['description']); $insert = mysqli_query($conn,"update meets set event_type = '".$_POST['event_type']."' , event_date = '".$_POST['event_date']."' , stateid = …

Member Avatar for janicemurby
0
1K
Member Avatar for Rendrix

Please i want to buy or get help on a software that can sort list of people who has paid in my group its a forum of payment and receiving and recieving vise visa. please can any body develop such software and how much will it cost.

Member Avatar for Traevel
0
143

The End.