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

keeping data from DB current

Hello     Hello, when a member logins into my game, I'm pulling information from my database and this information, depending on what actions the member does, either increases or decrease certin...

View Article


Image may be NSFW.
Clik here to view.

How to create hierarchical json using data from a psql database?

I am using php to connect to my psql database and have some initial code to connect to a database, access a table and set a column to an array etc. I, however, have been struggling to get my data into...

View Article


Fatal Error : Cannot redeclare function ( when functions are own page)

Hey there guys !   so i have finally finished my register log-in page , and with that i have created a couple functions pages , as i am sure you can assume all the functions for logic will be called...

View Article

Error on line 22

Hello,   First of all im not a web designer and have very little knowledge of this subject other then what i can find out on google. All the google search's show that this error has occurred when...

View Article

Page just refreshes

Hey guys, I'm trying to use the script to update a row based on what username is entered into a field. So far the page just keeps refreshing. I'm not sure what I'm doing wrong. Can anyone help me?...

View Article


Image may be NSFW.
Clik here to view.

force the size of variable

i need to set the size of variable for example i need to right '1' into  4 bytes  or 'admin' into  2 bytes    could u help me please 

View Article

Need example code with step by step explanations

I know how to code I don't need to learn about arrays and sorting and other things   But... when I look at code, I just get lost!! I don't know what the heck is happening It all seems daunting   Where...

View Article

Image may be NSFW.
Clik here to view.

Ajax and jquery clash or jquery version clash in my form!

Dear members,                           I m running with the following problem for more than a week but i m not able to sort out.   The scenario is that, in one of my php form i m having two dropdown...

View Article


Image may be NSFW.
Clik here to view.

Help! Uploading mediawiki from my local host to a server

Hello all,   I am not sure if this is the correct catagory. Also, I am completely new to this scene, this is the first time I have ever attempted making a website, so thank you for your patience , so...

View Article


show php mysql record According to date

plz help me , i want the code for  record According to date and  time (2013/04/20 01:20:00 pm)   

View Article

Image may be NSFW.
Clik here to view.

Updating datebase

hey guys this is my fist post here, so im sorry if i dont give enough info! but anyways i made (with help from a youtube tutorial) a users edit page but if i click on the update button it says it has...

View Article

Remember Me, Register & Login - phpacademy

I hope I am posting in the appropriate place. Although I didn't create this code I did write it while following along with the phpacademy 44 video tutorial on Register & Login. Next I followed the...

View Article

How to Prevent Bypass of PayPal Payment Process?

Hi there. I'm a beginner so hopefully someone can help me.   Say I have a paypal button on my site, that after using it to pay, takes you to a page with a download link on it that allows you to...

View Article


Need some help with contact page

Hi Guys, great forum BTW  This is my first time coding in php...great forum! I browsed around the web to look for answers. I have this client who uses a php contact page (multiple contact pages). For...

View Article

Can't get the posted value of an array of dynamically generated textboxesL

I have a form that has 2 dropdown lists (Diplomas, Fields), a submit button and an "Add" button that copies the selected values of the dropdownlists to some dynamically generated textboxes as long as...

View Article


Mysql results

Hi not sure if I'm in the right section and I'm new to this but could someone help, I want my mysql results to show in box form like they do on yell and gumtree, I.e an image of car on left and details...

View Article

Question about updating a record

Hey,     I ran into an issue with updating a record through a class. Everytime I try to run the update i get the following error message? Fatal error: Call to undefined method stdClass::update() in...

View Article


A script issue

Hello,   So I have a script which is basically a quizish thing. I have an admin panel where I introduce questions and I select the correct answers. Also, I am able to select multiple correct answers if...

View Article

Coding error

I'm VERY new at any kind of coding, and tryed to follow some instruction for creating a simple forum.     <?php session_start(); require"db_connect.php"; $sql = "ELECT forum_id, forum_navn, FROM...

View Article

Image may be NSFW.
Clik here to view.

link filename get another file.

File1: <?php $home['1']='home/1.php' $home['2']='home/2.php' ?> File2: <?php Include File1.php <a href="<?php echo $home['1']; ?>">home 1</a> ?> Whats wrong is that simple...

View Article
Browsing all 13200 articles
Browse latest View live


Latest Images