No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello everyone, I'm working on a school project and am using some code from the book to sort an array in ascending order. I'm apologize ahead of time if my methods seem crude. I've used this sort method on a normal array of numbers and the numbers were ordered correctly; … |
|
Hello, I've had no problems getting the following page to display in IE but FireFox will only display a background image with no allignment, it's just thrown to the side and seems to follow the dimension specs for .bgtablealign. If I change the extension from .html to .php the page … |
|
Hello! I'm taking a class in JAVA and learning a lot, but i'm stumped on a project where we are to find the difference between two dates. The method iv'e used is a little unconventional, I don't know if there is aproblem with the way i've structured the loop below... … |
|
Hello everyone, I'm trying to test PHP of WAMP on a vista machine but every time I attempt to launch a page in IE, the browser asks if I want to download the PHP page. Here is the code I've used: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> … |
|
This was mentioned in a previous thread but I am thinking this problem may warrant a new one. The code I am working with here: [CODE=PHP] <?php //connect to the database $connect = mysql_connect("localhost", "root", "password") or die ("Hey loser, check your server connection."); mysql_select_db("ecommerce"); ?> <html> <head> <title>Here is … |
|
Hello there, I've been working on a shopping cart by following certain examples and tweaking the code here and there as needed, but this particular cart requires something similar to discount codes. This company provides free upgrades or 50% off certain items depending on weither or not the customer is … |
|
Hello everyone, I moved forward to purchase a book with PHP examples. This ecommmerce example did not make much sense to me at a certain point, it became too technial and I was unable to follow along with explicit understanding. There are two pieces of code that are problematic starting … |
|
Hello, This query works when entered directly into MySQL but when used in a php page it fails and generates the following error: [QUOTE] Column count doesn't match value count at row 3 [/QUOTE] Also, the date values are not accepted in either the php page or mysql terminal, they … |
|
Hello everyone! I've been able to successfully implement this bit of php that alters the color of tables for each row, but I am having a difficult time implementing it on our current web app. I am thinking I have misplaced something because the output shows one grey row where … |
|
Hello, While putting together a sticky form I got this error: Parse error: parse error in C:\wamp\www\base_ball\insert_player.php on line 175 The problem is that this line of code does not exist. The script ends at line 174. Here are the bits of code I have altered: [CODE] <?php if (isset($_POST['Insert'])){ … |
|
Re:
hi there im a novice to PHP and have been trying to put together a form with two buttons that post a variable value. The value is tested and then php perfroms whatever action that value points to (Update or Delete). My problem is that when I click the button, … |
|
Hello, Maybe I do not understand the concept behind a constant definition but I have been trying to define a default location for file uploads: [CODE] <?php // Define the upload path define('UPLOADPATH', 'C:\wamp\www\web\images_files'); [/CODE] Every time I try to run the script: [CODE] Notice: Use of undefined constant UPLOADPATH … |
|
Hello everyone, I have been trying to create a .php page to catch information from a form and insert it into our local database. Normally I am able to catch the parse errors but this one points straight to the end of my code: [CODE]<?php require_once("includes/connection.php"); ?> <?php require_once("includes/functions.php"); ?> … |