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

php and create table if not exist

is it good practice to use create table if not exist or not? or i should just manually create tables ?

View Article


using Prepared Statement's to Insert data into a Database

HI,    I am building  a PHP and Mysqli based shopping cart for my UNI project. I have been using prepared statements for everything so far and they work great.   However I have hit my first problem. I...

View Article


Image may be NSFW.
Clik here to view.

email address from form submission to appear in "From"

How do I code my php script to have the users e-mail address populate the "sent from" in the e-mail message. When the admin responds to the message by hitting "reply", it should go back to the user....

View Article

insert values from checkboxes to database

I'm trying to include a checkbox group in a form submission. The user can check one, two, or all three of the choices. I need only the checked boxes to how can i do that?help me with a small example if...

View Article

large data issues

I'm developing an app that uploads users' CSV files into a mysql database with the following table structure:   mysql_query("create table `datasets`( dataset_id int auto_increment not null primary key,...

View Article


OO Admin Stuff

Hello freaks.   I've been trying to familiarize with OOP for some time now and I've come to the point where I actually start building stuff. So now I'm trying to figure out what is the proper way of...

View Article

Image may be NSFW.
Clik here to view.

how to start multiple session in one page?

View Article

Image may be NSFW.
Clik here to view.

Need Help with a form

Hello- I am trying to create a form where the results will be viewed in a table. I know I'm close. What am I doing wrong?    order form.php   2.11K   0 downloads  results form.php   781bytes   0...

View Article


Image may be NSFW.
Clik here to view.

simple trouble on account verification script

Hey guys, I am having a bit of trouble on my new registered account verification script. It gets the code from the email sent after you register to activate your account to a 'level1' user. It uses a...

View Article


Is an asterisk (*) a reserved character?

Assume the following string that is the result of a read of a MySQL table:   *2*111*222*333*444* I then do this:   $mface  = explode("*", $row[cdata] ); The $mface array is totally empty. However if I...

View Article

Connecting to databse via Flash

Hello All, Just a query. I have Fla and php file. I'm trying to connect flash to a mysql database through PHP to create a login system for Flash. I've setup the server and database, and i'm trying to...

View Article

Image may be NSFW.
Clik here to view.

Array ( ) - Only showing! - login.php

I'v been stuck on this now for the past 4 hours! I'm trying to get this code to prompt a user with the right error when not entering the right pass or username but its just prompting with Array ( )...

View Article

"expects parameter 1 to be resource"

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\Muratcea_S_3014_hw5\index.php on line 101 Call Stack # Time Memory Function Location 1 0.0003 149672...

View Article


<pre> tags with readfile()

I can't figure out how to combine readfile() with <pre> tags so that the \n linebreaks in my text file are displayed properly.   // works but doesn't print line breaks echo...

View Article

Can't insert form data into database

I am working through a Create a CMS tutorial and I am on the very last step, but I am hung up.  My code is below.  It is supposed to pull up a blank form when you want to add a new blog post and it is...

View Article


Need help with array

Hi all. I decided it was time to re do my warning map that I have on my website as it was a very in-efficient way to create the map. I have been trying a few things to determine the quickest and most...

View Article

URGENT help for a beginner!

Hi all, I urgently need some help with a PHP project. Basically I have a system that contains infomation on a football tournament and the purpose of the system is to allow access into different venues....

View Article


Developing a web based two player game in PHP

I want to develop a simple game in PHP.Game is as follows, a server displays a image to the two players,two players have to type keyword corresponding to the image if the key word is same,they are...

View Article

New to php need a little help.

Ok here it goes guys let me explain what I want to do.   I am writing a PHP script built into a HTML file.  The page will have a series of tables.  The fist table will have be were the user inputs the...

View Article

Which way

Hey I am wondering, would it be better to learn php on its own or going through a framework i.e cakephp etc hope this makes sense

View Article
Browsing all 13200 articles
Browse latest View live