Quantcast
Channel: PHP Freaks: PHP Help
Browsing all 13200 articles
Browse latest View live

auto email after form submit errors.

alright so another post- might be a dumb issue on my part.  I want this email to be sent to my customer when the form is submitted. <?php include_once("scripts/connect.php"); $message = '';...

View Article


MYSQLI code to retrieve info

This code is meant to retrieve a row in a form but it returns nothing, I have tried it many different times even with HTML in it it returns nothing at all. <?php $conn = new mysqli("****", "***",...

View Article


Basic php photo post and upload

Hey Guys,   Just stuck on this php form to upload.  I am trying to post a photo to the upload script.  For some reason it seems that only the photo's filename is being passed on from the form to the...

View Article

Payment

Good day   Can somebody help me with a link or some sort of code. I want a person to pay an amount into my bank account when the person register to be a member. So the person will type in his credit...

View Article

how to connect FTP server

i need a connect ftp server that server  encrypted : FTP over TLS    

View Article


Creating packet for sockets using pack

Welcome, I try to build interface to communicate with an application (remote console) using its own protocol and php sockets. Problem is that I have huge experience using most of php librariers and...

View Article

problem with php/mysql search feature

Hello guys, so let me give some information, i have a database which is storing some information, and im building a simple search feature which just searches for particular things in the database....

View Article

help with php/mysql inserting with binds

hello guys, so i have an interface that inserts data into a mysql database with PDO.   so i am binding params, however not everything in my query is binded, as some of them are just ints which i...

View Article


Data submit with ajax get result but not contact form

Hi everybody ! I'm struggling since few days with that, I have a online quiz by jQuery, I want once the user submit it, to send the results with the contact information's of the users to the moderator....

View Article


Question about opacity

Hi my shopping cart has an image background whos opacity I want to be able to change so I had someone work on it and they managed to apply opacity to the whole section not just the back ground so now...

View Article

2 database columns displaying the same values?

I have a simple query, but for some reason when I display the value of two columns they both return the value of the first column.   Syntax: [ Download ] [ Hide ] [ Select ]...

View Article

Image may be NSFW.
Clik here to view.

textoverimage problem

I am having an issue with text over image.  At first I thought the code wasn't saving the new image after inserting text, but after some troubleshooting, found that its actually not putting the text...

View Article

Variable Variables Question

Hi Everybody, I'm trying to simulate a "register globals = ON" environment with this:   foreach($_POST as $var=>$value){ ${$var} = $value; }   I just noticed that I can use the bracket-less "$$var =...

View Article


php page to populate database

I have an html form that allows user to enter data.  Data type for the most part is text.  I want to have a drop down to allow people to choose and have it populate a database.   In the database I have...

View Article

Get Mod Date

Hello All,   I'm trying to show the modication date of a file with php output.  I added the "filemtime" to the print() function but I want it to show the date and time rather than just numbers.  Any...

View Article


pulling user data after login

I've implemented a login script, and now want to pull all of the rows of data related to the user to display on the page once they have logged in successfully.   This is the function that logs the user...

View Article

PHP Array Help

Hello Guys, I have a database that is set up something like this:   Name                Type_a             Type_b   3 series               Car                  BMW 1 series               Car...

View Article


Error reporting within form

Hey guys...I have another question.  I am trying to get error reporting to echo out in my form from my upload script.  I followed an example from the forums and tried a few different things with no...

View Article

brackets vs $$ for variables

Hi everyone, I have a question. Which code is better at extracting variables:   a.) foreach($_POST as $var=>$value){ ${$var} = $value; }   -or-   b.) foreach($_POST as $var=>$value){ $$var =...

View Article

confirm email and redirect to a confirmation page

For about 2/3 years  I have had a purchase order form - which  sends the forms returns to the recipient by email. After the form is sent, the user  will then see a confirmation page - with  links back...

View Article
Browsing all 13200 articles
Browse latest View live