39,402 Topics

Member Avatar for
Member Avatar for janicemurby

hi all im trying to place this piece of coding in a table that i iam echoing if anyone has any ideas as been trying for last god knows how long $fetch_img1 = mysqli_fetch_array(mysqli_query($conn,"select user_image from user_images where user_id = '".$show_id."' and main_image = '1' ")); $show_image = $fetch_img1['user_image']; ?> …

Member Avatar for diafol
0
170
Member Avatar for SARDEN

Hi everyone hope you are ok i have mistake in my php and i cant find it. please help me I need to create 3 php . create table , insert_pdo ands select data. That is my html: ` <form action="" method="get"> <!-- Search box --> <input type="text" name="search_text" id="search_text" …

Member Avatar for AndrisP
0
475
Member Avatar for Latrell_vie

Hi ! I´m developing my first wordpress plugin. To create a shortcode according to tutorial i should duplicate following code. But why is it function form_creation(){ ?> instead of function form_creation(){} ?> I mean why is only a part of function form_creations curled bracket inside the php ending tag ? …

Member Avatar for Latrell_vie
0
297
Member Avatar for UI

Hiya Folks, Why is not mysql getting UPDATED, do you reckon ? <html> <head> <title> <?php $user?> Home Page </title> </head> <body> <body background=".png"> <?php session_start(); require "conn.php"; /*Check if user is logged-in or not by checking if session is set or not. If user is not logged-in then redirect …

Member Avatar for diafol
0
262
Member Avatar for SimonIoa

Hello i want to make a script that allows the user to record audio from his device mic and then store it as a .mp3 or .wav file on my database. Does anyone knows any tutorials or scripts? I found this one `http://stackoverflow.com/questions/16413063/html5-record-audio-to-file` but i dont know to make it …

Member Avatar for diafol
0
14K
Member Avatar for McLaren

I am strugling to find my productivity bottlenecks. I decided I could record a video, so that someone could see how I work and my thinking process. I know one way to increase productivity is to have experience with something. But often there is tasks which are rarely or first …

Member Avatar for rproffitt
0
285
Member Avatar for Kunyepa

Hello, New to programming and have been trying to use PHP and jQuery or AJAX to accomplish the task listed in the title. I'm using an MVC type of approach and have a page to remove wines in the view directory, the controller for the remove wine page in the …

Member Avatar for The Diamonds
0
177
Member Avatar for surprino

I have a command which I run on linux terminal like below: curl –W “Authentication: Token r4r4xxxxx” “https://api.com/v1/results?display=true&format=image/jpeg&lang=en” –o image.jpg And this command will authenticate me from the server and download the image named image.jpg to my local machine from where I am calling this command… But I am looking …

Member Avatar for cereal
0
416
Member Avatar for solomon_13000

I am attempting to create a simple project for the subject matter for learning and discovery purpose however it doesn't seem to work. My rest API works well but the integration of AngularJS with Laravel doesn't work. You can pull my mini project from [Click Here](https://github.com/solomon13000/angulara). Your help is kindly …

Member Avatar for solomon_13000
0
394
Member Avatar for UI

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 and really got pissed-off. Read this page and tell …

Member Avatar for UI
0
305
Member Avatar for dbalas

Hi! Anyone can help please? I am searching around like crazy to make this work but no luck... There are allot of articles with some solutions but nothing works for me... Here is my code <?php require_once('../tcpdf/config/lang/eng.php'); require_once('../tcpdf/tcpdf.php'); // create new PDF document $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, …

Member Avatar for salman_15
0
4K
Member Avatar for Lloyd_4

Hi Everyone, I am having a bit of a mare trying to get my htaccess file working the way I would like it too. I am trying to redirect the index.php from websitename/directory/index.php to websitename/directory/ I have tried the following rewrites but nothing seems to be working, Hope someone can …

Member Avatar for gottaloveit
0
585
Member Avatar for SeanKann

Having an issue passing info from the modal to the model so that I can do a where statement. The first line below is the link to open the modal. Works fine no issues. <td><a href="javascript:;" class="openModal" data-toggle="modal" data-target="#email_details_<?php echo $SP->fit_tv_rollout_info_id;?>"> <span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span> </a></td> <div id="email_details_<?php echo $SP->fit_tv_rollout_info_id;?>" …

Member Avatar for gottaloveit
0
289
Member Avatar for patk570

Hey Everyone, I am looking for possibly a CRM that can be used for multiple items: 1. Invoicing 2. Credit Card Processing 3. Front End Website 4. Customer Area/Members Pages 5. Admin Area 6. Integrate with Quickbooks? 7. Manage Employees (Time and Sales) 8. Inventory Management Any advice would be …

Member Avatar for gottaloveit
1
189
Member Avatar for Maheshwaran

**id Autor Title ** 1 xyz DCN when i click Dcn go to load book pdf url help me

Member Avatar for diafol
-2
80
Member Avatar for Marlon189

Hi, i have a db system where i fetch results from two tables. A user and transaction table. In the transaction table i have two columns which are sender and reciver id which refence in the user table. how do i get a sender name and receiver name in a …

Member Avatar for Reverend Jim
0
239
Member Avatar for gahhon

function email($reqNo){ //Database Configurations $host = "some.url"; $username = "someuser"; $pass = "xxxxxx"; $db = "mydatabase_db"; //Customer Configurations $cName = null; $cEmail = null; $DBConnect = @mysqli_connect($host, $username, $pass, $db) or die ("<p>Unable to connect to the database server.</p>". "<p>Error code ". mysqli_connect_errno().": ". mysqli_connect_error()). "</p>"; $SQLString = "SELECT name, …

Member Avatar for gahhon
0
381
Member Avatar for momo_1

I have a form on my checkout page that redirect to the payment gateway and at same time write customer info on database, but i don't know how to pass info that customer just fill on the checkout page to the payment gateway. I use php xml for the dynamic …

Member Avatar for momo_1
0
547
Member Avatar for UI

Hello People, Do you know why iframe is not opening to the url (variable value) ? Here is latest update of the code but still it shows not the variable value as the iframe URL. Variable calls db row data. Mysql column "Latet_View" has an entry on position zero: http://www.google.com …

Member Avatar for UI
0
377
Member Avatar for UI

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, …

Member Avatar for UI
0
448
Member Avatar for UI

Ladies & Gentle Men Programmers! If you add the following anonymous web proxy url prior to your chosen URL then you can view that URL anonymously via the http://anonymouse.org web proxy: Anonymouse.org[^] For example, if you want to view ebay.com then you'd view it anonymously via this url: http://anonymouse.org/cgi-bin/anon-www.cgi/ So …

Member Avatar for UI
0
345
Member Avatar for mohan_5
Member Avatar for Sylvia_4

Need Help to create **Gmail** style realtime chat app for my website. I found server for realtime chat here https://xmpp.org/software/servers.html (I will go for [ejabberd](https://www.process-one.net/en/) or [Openfire](http://igniterealtime.org/) **or** which one should I choose?) **Goals** 1. send & receive chat request 2. accept or reject request 3. show sent/pending chat request …

Member Avatar for Sylvia_4
0
351
Member Avatar for UI

Programmer buddies, Do you mind pointing me to the right direction ? I've been waiting from dec 2015 to learn php 7 but no tuts on php 7 were out until a month or 2 ago but yet again they are not proper or complete tuts. Can you recommend some …

Member Avatar for UI
0
321
Member Avatar for UI

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: https://daveismyname.blog/blog/login-and-registration-system-with-php https://www.codeproject.com/articles/759094/step-by-step-php-tutorials-for-beginners-creating http://buildinternet.com/2009/12/creating-your-first-php-application-part-1 And, is …

Member Avatar for UI
-1
339
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
120
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
290
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
348
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
182
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
125
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
268
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
299
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
952
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
543
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
263
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
267
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
264
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
457
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
134
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
579
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
161
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
376
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
85
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
563
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
318
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

The End.