Forum: PHP Oct 4th, 2008 |
| Replies: 2 Views: 955 How can i use the time from mysql fields using this format: 00:00:00 ? |
Forum: PHP Oct 1st, 2008 |
| Replies: 2 Views: 955 i am trying to calculate my working hours.
I have a start time, a finish time and a lunch flag.
What i am hoping to achieve is:
difference between start & End time.
If Lunch flag equals yes... |
Forum: PHP Jun 13th, 2008 |
| Replies: 2 Views: 2,396 Hi all,
I have an array:
<?php
$product_id = $_GET[id]; //the product id from the URL
$action = $_GET[action]; //the action from the URL
//if there is an... |
Forum: PHP Mar 11th, 2008 |
| Replies: 5 Views: 603 Cheers Guys!!!!!!!!!!
Here is what im using..
<?php
//--------------- Connection Script ----------------------------\\
$username = "*";
$password = "*"; |
Forum: PHP Mar 10th, 2008 |
| Replies: 3 Views: 559 I Im still not getting any joy!!!
when i change a database field to a name not present in the database i get the html table.
No PHP errors are shown, i dont even think the script is even... |
Forum: PHP Mar 10th, 2008 |
| Replies: 3 Views: 1,548 how do i use the data stored in $field4. |
Forum: PHP Mar 10th, 2008 |
| Replies: 3 Views: 1,548 I want to add an image to my php script:
The picture link is stored in $field4
thanks in advance |
Forum: PHP Mar 10th, 2008 |
| Replies: 3 Views: 559 Just Tried the code:
No data is displayed |
Forum: PHP Mar 10th, 2008 |
| Replies: 3 Views: 559 I have a script that displays data from Mysql server, what i hoping to do is display the data in a HTML Table.
I would like to create the table in deamweaver purley cause i am not great at HTML.
... |
Forum: PHP Mar 10th, 2008 |
| Replies: 5 Views: 603 Thats exactly what i want but dont know how to do it!! |
Forum: PHP Mar 10th, 2008 |
| Replies: 5 Views: 603 I have a database of over 900 products.
What i am hoping to create is a website that pulls the Product information from a database using its Product ID.
The products are displayed according to... |
Forum: PHP Feb 16th, 2008 |
| Replies: 3 Views: 4,325 I have just added the code to my site.
the only problem, when i add to cart the cart page is displayed.
<a href="cart.php?action=add&id='.$row['Key'].'">Add to cart</a>
how can i stop the... |
Forum: PHP Feb 15th, 2008 |
| Replies: 3 Views: 4,325 Hi all,
I need some help creating a cart system.
I’m currently using roman cart & MySQL which means I have to maintain two separate databases.
The MySQL database holds the Product information... |
Forum: PHP Jan 24th, 2008 |
| Replies: 4 Views: 858 http://www.daniweb.com/forums/thread104411.html
Check out the post above.
I generated this script using maestro php
Generator.
It has a table that shows up in dw and
Calls fields in... |
Forum: PHP Jan 23rd, 2008 |
| Replies: 4 Views: 858 Hi everyone!!
I have a mysql table of products and i want to group them by the category then each sub category in a table:
SQL strng:
SELECT `Product_Name` , `Product_Description` ,... |
Forum: PHP Jan 20th, 2008 |
| Replies: 1 Views: 1,550 How can i Load images in to each cell of a table based on its product id?
The picture url is stored in field: Product_picurl
SELECT `Product_id`,`Product_Name` , `Product_picurl`
FROM... |
Forum: PHP Jan 20th, 2008 |
| Replies: 5 Views: 5,174 Thanks guys!!
I added the handler to the cpanel
It worked a treat!! |
Forum: PHP Jan 20th, 2008 |
| Replies: 5 Views: 5,174 I have a created template in html..
in this template i have a scrolling DIV
What i want to do is display the myqsl data in this DIV.
I have tried to use this:
<?php @ include... |
Forum: PHP Jan 11th, 2008 |
| Replies: 6 Views: 1,578 To my knowledge i need to change both queries as 1 is the record count & the other is the records!! |
Forum: PHP Jan 11th, 2008 |
| Replies: 6 Views: 1,578 I am a Newbie To PHP!!
I used maestro php myqsl to crate the code below..
I am trying to change the query to include a where statment:
"where Product_Category = Acoustic treatment"
... |