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

Storing of Row labelled as "problematic"

Hello   If we had multiple tables which hold data to be processed IMAGE +----+-----------+ | id | image | +----+-----------+ | 4 | test.png | | 5 | bird.png | +----+-----------+ ORDER...

View Article


shuffle an array

I can't figure out why my shuffle function is behaving the way it is. I've populated a multi-dimensional array $_SESSION['data']['question'][$count], $_SESSION['data']['answer'][$count], and...

View Article


Date output, Need help!

So I have a huge problem with probably a simple solution. But after hours of searching on google I gave up. Here is my problem...   I have a date in my phpmyadmin that output like this 2014-01-20 but I...

View Article

Script Won't Get All Database Info

I got a script that I'm going to run on my home server and the coder no longer has anything to do with this project and I can't seem to reach him. I installed everything but it's only grabbing the...

View Article

Text input

Good Afternoon,   I recently took a position at a new company, and the owner of the company discovered I have a small amount of experience in website coding. My "coding" experience is mostly just...

View Article


MYSQl Data not displaying numbers in order

Hello,   I have the following code to get data from mysql. SELECT COUNT(*),pickup FROM journeys WHERE pickup_type='postcode' GROUP BY pickup HAVING COUNT(*)>=1 The result is like this;   E1 E10 E11...

View Article

How do I indent php to display code in order to get help

My code isn't working and I have put it into notepad++ and using a php error checker. I want to put the code on here for help but know that you like it presented in a certain way to make life easier...

View Article

PHP string replace to link

Hello. How would you check the string for a particular word and just replace that word and not the string? I'm trying to do this so that when people just type in "google.com" or "facebook.com" or...

View Article


Running a batch file

Hi Professionals   I have a batch file that's runs fine.  So what I am trying to do is when a user clicks a link then that batch file runs problem is I cannot get this to work via html/php     It wont...

View Article


Image may be NSFW.
Clik here to view.

Broken PHP guestbook

I have a website which has PHP coded guestbook, and some days ago the guestbook "broke". I don't know anything about coding with PHP so I thought I might get some help here. The previous owner of the...

View Article

paypal buy now button integration with wordpress

require_once ("paypalfunctions.php"); $PaymentOption = "PayPal"; if ( $PaymentOption == "PayPal") { // ================================== // PayPal Express Checkout Module //...

View Article

HTML emails help bit urgent .

okay i dont know where to put this topic, if it needs to be moved then please do so, I have been creating a mass mailer with this class,  <?php class SimpleMail { private $toAddress; private...

View Article

Submit Form Not Processing

Hi all,   I have created a form that is submitting to my database. I have adjusted some of my submit script that I am using on my registration for to submit the data captured on the form, but for some...

View Article


Time based functions

Heya guys! I'm using an open source platform called Ubercart which works with PHP and I've implemented the following code. Essentially I'm working towards dynamically changing the price of product...

View Article

[ASK] Display data from selected dropdown list

Hi, I'm new here. But many posts here that helped me out before. Thanks alot to this forum, but now I need some help from you guys.   First of all this is my database, you can copy and paste it to...

View Article


Login form not working

When I enter a combo of username/password credentials, the form isn't redirecting as it should <?php   include('config.php');  @ob_start(); if (isset($_POST['submit'])) { $username=...

View Article

Image may be NSFW.
Clik here to view.

Markov Chain Text Generator

Hi I was given a assignment in college to write a "markov text generator". My code was working the other day when the errors on the server were shut off, they have however put these errors back on and...

View Article


Var inside a String var

hi everyone, I'm struggling with this code, I want to put inside a string a var sent by a submit.  I need that the var $someone changes, to the right name. This is not working, how can i do this?...

View Article

Code outputting odd XML

So here is the code: About 99% of the time it returns the XML listed under "Good Return" but almost randomly it is returning the code under "Bad Return". I echoed out all of the $ToID's and there is...

View Article

Do web developement agencies use php frameworks?

I have seen vacancies for 'php developers' on the jobs board quite a lot and nearly every time I see them requiring experience in one type of framework or another. Zend and Joomla seem to be quite...

View Article
Browsing all 13200 articles
Browse latest View live