No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
12 Posted Topics
0 down vote favorite I have a table in database like this: ID, features, Values : ID will be 1, 2, 3.... features will be color, size, material.... values will be red, 13inch, silicon... I stored it like this: ID 1 1 1 Features color size material values red 13in … | |
i want to fill up the text boxes with the data from the database vales. But at the same time it should display the values according to the static drop down value selected. I am not getting how to achieve this. Here is my code <form name="form1" action="submit.php" method="post"> <tr … ![]() | |
Hi, I am using `$_SERVER['REQUEST_URI'] ;` to get the complete URL address, but in that i want to take only the half, example in `$_SERVER['REQUEST_URI'] ;` i get http://www.mystore.website.com/index.php?fkdsjklfjdskldfd=id... but i want to take only till http://www.mystore.website.com, how can i do it? In PHP is there any function called LastIndex … ![]() | |
Hi, i have a dropdown list where i have 3 options like <tr> <td><?php echo $entry_shippingtype; ?></td> <td><select name="type"> <option value="free">Free Shipping</option> <option value="flat">Flat Rate Shipping</option> <option value="weight">Weight Based Shipping</option> </select></td> </tr> <tr> <td><?php echo $entry_shippingamount; ?></td> <td><input type="text" name="shippingamount" value="<?php echo $shippingamount; ?>" /></td> </tr> When i select free … | |
Hi, I am looping the data and displaying it from the database. But only one data set is displaying in the loop. I dont now where i am doing wrong. Here is my code. Please help me $resultViewed = $this->model_report_product->getMostViewed(); $stringResult ="var data= google.visualization.arrayToDataTable([ ['Product', 'Views'],"; foreach($resultViewed as $results) { … | |
Hi, i want to create a pie chart in my website by taking values from database. I should display the top 10 most purchased product in the form of pie chart in my website. But i dont know how to do it. I have no clue how to start. Please … | |
I have two files, ApplicationRegister.php and UserRegister.php In ApplicationRegister.php the user fill the details and submit the form to database, it redirects to UserRegistration.php. In UserRegistration.php, User fills up the form and save the data to the lastest inserted id. I have used mysql_insert_id() to get the last inserted id, … | |
Hi, I am designing a site something like http://buildabazaar.com and i do not know how user selection of themes to design. When user logs in and trying to build a store he will select a theme out of 5, i don't know how to do it. Anybody knows how to … | |
Hi, I want to display my database records in <ul> <li> format. I have using a free template to design my front end. I am reading database data like this while ($row = mysql_fetch_assoc($result)) { $categoryname = $row['category_name']; } and within the loop i have to display records like this … | |
Hi, I want to have multiple selection checkbox in my website, where user can check for the multiple options. But for checkbox i should get the data from the database table. $query2 = "select * from Products where CategoryID = '$CategoryName' "; mysql_query($query2) or die(mysql_error()); $array = array(); while($row = … | |
Hi, I really do not know how to read line by line csv file and store it in the database. I want to check datatypes, and the mandatory fields. Please somebody help me in this ![]() | |
Hi , I am trying to display images stored in database. Actually, i have stored image names with extenstion in the database, images are stored in my root directory images folder. Now i want to display all the images with other filelds in that table, in same page. I have … |
The End.