Forum: Java Jul 17th, 2009 |
| Replies: 1 Views: 195 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... |
Forum: Java Jul 4th, 2009 |
| Replies: 4 Views: 411 That's neat, but i'm suposed to construct the class and I have done exactly what you've said in the bottom, write a method to accept 2 dates, parse 3 values using substring and store them in 6... |
Forum: Java Jul 3rd, 2009 |
| Replies: 4 Views: 411 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... |
Forum: HTML and CSS Jul 3rd, 2009 |
| Replies: 3 Views: 670 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... |
Forum: PHP Jul 3rd, 2009 |
| Replies: 7 Views: 1,051 |
Forum: PHP Jul 3rd, 2009 |
| Replies: 7 Views: 1,051 No, I do have skype and when it runs, I am not able to access the localhost/WAMP server page; however, this was aproblem before that I alleviated by just not running skype. |
Forum: PHP Jul 2nd, 2009 |
| Replies: 7 Views: 1,051 Hey Kamran! I appreciate your suggestion, this has not changed my situation. I attempted to clear temporary files and cache and try to re run the page. I change the getinfo() to an echo with Hello... |
Forum: PHP Jul 2nd, 2009 |
| Replies: 7 Views: 1,051 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:... |
Forum: PHP May 1st, 2009 |
| Replies: 3 Views: 333 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:
<?php
//connect to the database
$connect =... |
Forum: PHP May 1st, 2009 |
| Replies: 1 Views: 277 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... |
Forum: PHP Apr 27th, 2009 |
| Replies: 4 Views: 456 I'm not sure I understand but okay. I changed the sign as directed and the results are that the quantity of items selected is appended to the total price, two items that cost 395 each now cost 790 +... |
Forum: PHP Apr 24th, 2009 |
| Replies: 4 Views: 456 Thank you, I was able to find the typos related to this and correct them... but now I am having a problem with the Total price display. The price listed is erratic and will not persist, especially... |
Forum: PHP Apr 23rd, 2009 |
| Replies: 4 Views: 456 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... |
Forum: PHP Apr 23rd, 2009 |
| Replies: 5 Views: 692 Spot on, this fixed my query problem.
My dates still show up as a series of 0's though. "0000-00-00".
Do you have any thoughts on this? Also, while we're on this train of thought, is there any... |
Forum: PHP Apr 22nd, 2009 |
| Replies: 5 Views: 692 Hello,
This query works when entered directly into MySQL but when used in a php page it fails and generates the following error:
Also, the date values are not accepted in either the php... |
Forum: PHP Apr 17th, 2009 |
| Replies: 4 Views: 271 Okay, but the code needs to be refactored!
I did not realize I was using a header. The goal of that line is to simply redirect the user to a page that echos "Record deleted". Is there an... |
Forum: PHP Apr 17th, 2009 |
| Replies: 8 Views: 604 Hmm...I apologize. There's something i'm not getting..
<?php
for ($j=0; $j<mysql_num_rows($result); $j++){
$bg_color= $j % 2 ? "#EEEEEE":"#E0E0E0";
tr style="background-color:<?php... |
Forum: PHP Apr 17th, 2009 |
| Replies: 4 Views: 271 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... |
Forum: PHP Apr 13th, 2009 |
| Replies: 3 Views: 400 Brilliant, thank you! This helped me get back on track. |
Forum: PHP Apr 13th, 2009 |
| Replies: 4 Views: 387 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:
<?php
// Define the upload path... |
Forum: PHP Apr 10th, 2009 |
| Replies: 8 Views: 604 Thank you for this!
Okay, i've applied this code and changed the value of 10 to mysql_num_rows($result). This part works fine and the script is producing the correct number of rows. The problem... |
Forum: PHP Apr 9th, 2009 |
| Replies: 8 Views: 604 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... |
Forum: PHP Apr 8th, 2009 |
| Replies: 6 Views: 427 Thank you! That resolved it for me. |
Forum: PHP Apr 7th, 2009 |
| Replies: 6 Views: 427 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... |