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

Clockwise table rendering

Hello, everyone. Can anybody help me, i'm trying to populate an HTML table with numbers in clockwise order, starting from last cell in the table then spiralling to the center. User inputs number of...

View Article


problem with php-mysql for rating sytem

Hello to all!   I have a question about how to do something with php and mysql.   On my site, user can upload photos and choose if they want to let others users rate this photos (from 1 to 10).   So...

View Article


custom cart php help

Many moons ago we had a custom cart written, works great but I need to make some changes, just can't seem to get them to work! There is a file called data.php which has this code :- case 20: //Displays...

View Article

Image may be NSFW.
Clik here to view.

Undefined variables & Cannot Modify Header Messages

Hi - I have a website that was working previously and then all of a sudden, I got these messages on the front page of the website and can o longer log in to Wordpress at all.   Error 1 and 2 are...

View Article

Fatal error: Call to a member function add() on a non-object in

Hello everyone !   I'm studying ZF2 and i would like to create with ZendFrameWork 2 an application about manage "Produit" ( in french ) or "Product" ( english ) and "Commande" ...   Now before...

View Article


Image may be NSFW.
Clik here to view.

List all users in a database in a drop-down menu

Hi.   Sorry if I've posted in the wrong forum or something - I joined this forum a few seconds ago.   I'm trying to create something which displays all of the users in a database table in a drop-down...

View Article

Need assistant on if else try catch after form submission

I would like someone to please help look over these lines of codes and help me correct what's wrong with it.    The first problem I found out on my registration form is when a user fills out a portion...

View Article

Image may be NSFW.
Clik here to view.

Using two Mysql databases - tables being pulled from wrong database

I have a website that has two separate databases - customdbase2 and sfdsomni.   There are two problems I believe are caused by the system not pulling configs and coupons tables from the correct...

View Article


PHP Help... New to this -__-

Okay, so when I hit submit, it goes to /php/contactus.php instead of /thank-you.html, but it still displays the content of the /thank-you.html page   I'm not sure what I'm doing wrong, and It's been...

View Article


Store php

So i have this store which links to sql values and there is a admin control panel (php)where u can edit all ur listen items, categories etc..   The problem here is that i can only see this in-game and...

View Article

using checkbox[] array to update a string not working

I have a page that allows a user to enable / disable multiple options (14x)   for some reason the code is running but the database isn't updating and the data isn't being passed.   but i don't get the...

View Article

Search Engine Improvements

Hello All.I am new to PHPFreaks and wanted to receive some advice on how to improve our search engine for products on burpy.com. Was wondering to see if there were any market tools already out there...

View Article

Custom PHP calendar - Integer to Month String?

I wrote the following code to create a set of 12 php calendars to display specific entries from a database. I have found many posts about converting a date into an integer but can find nothing to...

View Article


Read filename with date in php

Hello,   I have csv filename with date. Everyday i have same csv file with respective date. I need to read filename (everyday date changes in filename) and do operation.   For example, I have file...

View Article

Convert to array

Hi - How do I convert the following to an array? if( (isset($_GET['full']) && $_GET['full'] == 1) || (isset($_GET['fromApp']) && $_GET['fromApp'] == 1) || (isset($_GET['fromQB'])...

View Article


Creating a class for a comment box

Hi Everyone.  I am new to the world of coding in PHP and I am currently doing some practise stuff. At the moment I have a mysql database set up and I have a very basic html site. I want to place a...

View Article

In WordPress, should I escape input variable to external database besides the...

I'm currently working on a WordPress website project and I am hoping someone can help me out on this. In the registration page, the data entered is stored into the WordPress database. I've also build a...

View Article


Image may be NSFW.
Clik here to view.

Why my search engine Goes wrong Everytime I have User Logged In

GOOD DAY phpfreaks.com    Can Anyone Help about my code. My search engine can search and display if there is no user logged-in, but it goes wrong when it have user logged-in ?   //The Error Shown Every...

View Article

returning value whilst updating db

Hello   So I must return a value from somewhere, lets say image total uploaded count from a user account check. The value is returned, used within a loop etc. I also want to update my database with...

View Article

how to format

Looking on how to format this:    $string = "(215.354100, 218.613800, 2501.263000)"    into    (215,218,2501)        

View Article
Browsing all 13200 articles
Browse latest View live