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

how to get popup after clicking delete link ?

PLEASE HELP ME OUT....   Following code deleting my data without getting any popup window...   this is link code:   echo ("<td><a href=\"delete.php?number=$row[ID]\"...

View Article


Date with more than 24hours

Hi   I am using command below to get datetime and storing it to varchar type field.   $datetime = $today[mday].'/'.$today[mon].'/'.$today[year].'    '.$horaReal.':'.$today[minutes].':'.$today[seconds];...

View Article


Labels and values not appearing on the same line.

Hi, I have this script which gets the info from the database and displays it in the page. It works fine apart from the Label and the result appearing on separate lines as if a <br /> tag was...

View Article

How to find "#" symbol in a String (URL)

Hi,   Both my previous questions were perfectly solved here. Hoping the same this time.     Problem :How to find "#" symbol in a String (URL)   example : URL =...

View Article

Parse error in ManageUsers class

Hi   when i execute this script #class.ManageUsers.php <?php include_once('class.database.php'); class ManageUsers{ public $link; function __construct(){ $db_connection = new dbConnection();...

View Article


Not pulling in Database Info

Hello,   I have this code snippet that should pull in the information from my database, in this case username and email address: <?php if(!empty($_SESSION['LoggedIn']) &&...

View Article

PHP Parse error: syntax error, unexpected $end

Has anyone heard of this error and know how to fix it: PHP Parse error:  syntax error, unexpected $end on line 268    Line 268: ?> <?php  // Process repair_upgradeform.html   error_reporting(-1);...

View Article

Need help adding args for an instance

Hey,     I am trying to add static arguments in a new instance, but for some reason dreamweaver is showing it as invalid. Any suggestions on what I am doing incorrectly? class OrderConfirmation {...

View Article


Shopping Cart Question with Cookies!

I'm passing cookies from one page to another.  Then I'm taking the value of a drop down menu (for quantity) the Price (a cookie) and doing the math to get the total.  My submit buttons will calculate...

View Article


Image may be NSFW.
Clik here to view.

i have done coding for online exam..i want that when click on submit button...

I have manage the database.. database name is online.. table name is question.. column name is serialno,question.optiona,optionb,optionc,optiond,answer.. now I want that when click on answer than...

View Article

THE MIGHTY PHP WEB GURUS AND FREAKS I NEED HELP SERIOUSLY

Good day to you that is reading this. My name is dagogo am a young programmer and a newbie in programming, mighty PHP esp. What i need help your help for is the ''''PHP FORM VALIDATOR''''. From the...

View Article

How to prevent customer to change price while it is variable ?

Hi   I am using the folowing sequence to make a sale: Search table_prices.   Show price in order_page.php Customer inserts name, address, etc,   press a button and go to order_done.php Search...

View Article

Grabbing data from arrays

Hi,   I have an array like this: array(2) { [0]=> object(stdClass)#6 (6) { ["id"]=> string(1) "1" ["title"]=> string(36) "Weather Forecast" ["link"]=> string(18) "link" ["price"]=>...

View Article


File Upload

 Ok I have some code that's really starting to bug me... The form right under posts to a page and php picks it up and processes it. My problem is that the php will pick up the data and process it if...

View Article

URL-related query

Hey guys,   I'm Ankur and a new member here. I just started off with php recently, still grabbing the basics and I'd like to ask about 1 thing for now -   I want to create a script in a way where......

View Article


Redirecting to a User Profile Issue..

Hey PHP coders,   Having trouble with a small application here. I copy/pasted 4 files below.  My connect.php (Is the database connection with username, password, etc), index.html (file used to get user...

View Article

Search using $metode.. can't trim.. help please

I have a form that searches and subsequently returns data based on the field type selected. The end user can search by city, name, zip, district, county and ID number. Unfortunately I can't get it to...

View Article


Plain text to HTML

I'm creating a CMS and was going to use a WYSIWYG editor but as they don' t work work on a lot of mobile devices & I only need simple inputs, I decided to just try plain text and convert it to HTML...

View Article

Network drive size

Hi guys,   I'm trying to build a script which will sum up all the hard drive space and remaining space on several server on the network.   My question is, is this possible considering to access each...

View Article

Image may be NSFW.
Clik here to view.

Ping script gone wrong

Hi guys,   wacking together a ping script with alert however, i cant seem to get it to work no matter what the IP is it says UP! <? $hosts = array( array ( "hostdescription" =>...

View Article
Browsing all 13200 articles
Browse latest View live