Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
php x 21
Member Avatar for duttydea

Hi all, I have an array: [CODE]<?php $product_id = $_GET[id]; //the product id from the URL $action = $_GET[action]; //the action from the URL //if there is an product_id and that product_id doesn't exist display an error message if($product_id && !productExists($product_id)) { die("Error. Product Doesn't Exist"); } switch($action) { //decide …

Member Avatar for diafol
0
2K
Member Avatar for duttydea

I have just written this code o update my MYSQL Server with data from an Arduino Micro controller using Ethernet. Basically I want to pass the variables collected by the Arduino to the Server. Whenever I try to use this script the Values [I]$_POST['Name'][/I] [I]& $_POST['Value'][/I] do not get passed …

Member Avatar for somedude3488
0
145
Member Avatar for duttydea

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 and a Link to RomanCart. When the user clicks the “Add to Cart” info is added to …

Member Avatar for chris055
0
191
Member Avatar for duttydea

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 then deduct an hour from the Total. Can anyone help? Thanks in …

Member Avatar for duttydea
0
89
Member Avatar for duttydea

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 their sub category: [CODE]SELECT `Product_ID`, `Product_picurl`, `Product_Name`, `Product_Description`, `Product_price`, `Product_Category`, `Product_Pdf`, `Product_Cart`, `Product_Features`, `Product_subcat`, `Key` …

Member Avatar for duttydea
0
103
Member Avatar for duttydea

I want to add an image to my php script: [QUOTE]<?php $sql = "select * from Prod_listing"; $result = mysql_query ($sql); while ($row = mysql_fetch_array($result)) { $field1= $row["Product_Name"]; $field2= $row["Product_Id"]; $field3= $row["Product_Description"]; $field4= $row["Product_picurl"]; echo "<h1> <strong> $field1 <br> </strong> </h1>"; // Header Tag, bold.tag echo "$field2<br>"; echo "$field3<br>"; echo …

Member Avatar for nav33n
0
85
Member Avatar for duttydea

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. [CODE]<table width="65%" height="404" border="1" align="left" cellpadding="0" cellspacing="0"> <tr> <td height="16" …

Member Avatar for duttydea
0
240
Member Avatar for duttydea

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: [CODE] SELECT `Product_Name` , `Product_Description` , `Product_Features` , `Product_picurl` , `Product_price` , `Product_Category` , `Product_subcat` FROM `prod_listing`[/CODE] Like this: Acoustic Treatment Acoustic panels …

Member Avatar for nav33n
0
68
Member Avatar for duttydea

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" everytime i edit it i get a syntax Error!! please can you help? Thanks in advance [CODE]<?php …

Member Avatar for nav33n
0
331
Member Avatar for duttydea

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. [B]I have tried to use this:[/B] [CODE]<?php @ include ("index_random.php");?>[/CODE] to display random products from the product listing But it has no …

Member Avatar for fatihpiristine
0
114
Member Avatar for duttydea

How can i Load images in to each cell of a table based on its product id? The picture url is stored in field:[I] Product_picurl[/I] [CODE]SELECT `Product_id`,`Product_Name` , `Product_picurl` FROM `prod_listing` where `Product_id` ="$ID" [/CODE] I have looked around for a photogallery script but cant find one!! Thanks in advance

Member Avatar for johnsquibb
0
92