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

Issues with Basic PHP echo

I am having issues with a basic PHP echo script. I am trying to echo all titles in a table, the table name is right and the database is connecting as I am getting a "connected" message appearing on...

View Article


Replacing <p> tags

Hi, I'm trying to replace <p> tags and replace it with a contenteditable div. $newpost = str_replace("<p>", "<div contenteditable=\"true\"><p>", $post); This code works fine...

View Article


Redirect after image load PHP!

Hello Fellow Forumers,   I am trying to work out how I can redirect after the following "image.php" has finished loading. I have a large loading image that I want to render and then redirect once...

View Article

Dynamic pivot with mysql data.

I'm struggling to implement the various pivoting methods I have found around the net with my specific query. I am completely new to database interations and almost as new with php. I was able to get...

View Article

Submitted Form Data Will not Display

I have been struggling with this issue for some time; Reading, researching the possible problem(s). Still, I cannot produce the desired result: User enters data into form fields User submits data Page...

View Article


get row within class, or pass row to class?

What would you say is best practice?   Thanks in advance for any answers/advice.

View Article

Image may be NSFW.
Clik here to view.

help ipb modcp

lately this error appears in my ipb forum moderator on cp: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING...

View Article

Pay Now Button with Registration Form on PayPal

I'm trying to set up what I thought would be an easy form with button. I want to get the registration information out of the form when someone fills it out and pays. Instead, clicking the button leads...

View Article


Send user back to same page without action set

I have a certain function on my webpage. Currently it does a few things, and then sends the user to another page and then that page directs to index.php.   I want to change this function to refresh the...

View Article


Inserting date

as a total noob - I'm having trouble inserting dates using php and myswl.   Basically, I want to have the current date and time auto inserted when a new record is added to my table.   I've formatted...

View Article

Accessing object map holding updated data.

If we have a class which loads a row from the database and can update it etc, +-------------------------------+ | id car colour price fuel | +-------------------------------+ | 2 bmw blue 22000 petrol...

View Article

PHP posting problem

I have a form that contains a function. i want this function to be activated only when the user reposts the page to itself. (php_self).   ie. the user access the page and the function is hidden, the...

View Article

Edit PHP in WordPress Recent Posts Widget

I'm very new to php and am wondering if someone can suggest the best way to make a callout graphic or text next to the newest news items in the recent posts sidebar widget on this website?...

View Article


Need help with a script

Im making a game while trying to learn php and as a way to augment weapons and armour im adding gems to the game rubys diamonds emeralds and crystals and im making super gems (more poewerful) and...

View Article

Browser Inside Excel to PHP

Hi there,   I'm new here and php/sql/wordpress too. Well, i wanna know if there is a way to show a browser inside Excel in a web. I've an excel file with a database and browser, and i want people can...

View Article


Browsing a file

Hello there,   I want to use the file type field to browse a pdf or word document in my registration form.I dont know how to use it. Please help me.   I have followed the following example.But dont...

View Article

Checkbox Form multiple tables export csv

http://apndata.mymammothtech.com/index.php/condominiums/1849 I want to make a page that will allow me to select multiple MySQL tables and then display the information like the link above and then...

View Article


Generate pdf report in php

Hi to all,     How to generate dynamic pdf report in php with tamil content.     Kindly let me know how to achieve this   thanks in advance.

View Article

php cronjob to run daily or kick off manually with from ($f) and to ($t)...

hi - the sql is working 100% - just the flow of code is not exactly as i expected when i developed it last night. here's the cronjob: <?PHP /* CANOPYXCHANGE DAILY UNTAPPED POTENTIALS CALCULATION...

View Article

PHP Mail Authentication

Hey there    Wanted to ask a question with my SMTP setting not authenticating    I get an error like this :   PHP Warning:  mail(): SMTP server response: 530 SMTP authentication is required. in...

View Article
Browsing all 13200 articles
Browse latest View live