37 Posted Topics
Hi guys, I'm trying to set a database for a shopping cart. Here is some of the code: [code] CREATE TABLE `tbl_cart` ( `ct_id` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT , `pd_id` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0', `ct_qty` MEDIUMINT( 8 ) UNSIGNED NOT NULL DEFAULT '1', … | |
My Borland C++ vresion 3.1 isn't working. It works with simpler codes, but it doesn't works with graphics and animations. Is there any settings that will make Borland work? I'm using Windows 7 but the same happened with Vista and XP also, so help? Please? Thank you all!!! | |
Hi everyone. I'm making a shopping cart and I found out that I have a small problem. The currency that I want to use (BGN) is not supported by PayPal. I can use euro but the BGN is almost twice less than the euro. What can I do? This is … | |
Hi, everyone. I have a button that links to another page, but it doesn't work. Here is the code: [code] <div class="pageNumbers"> <ul> <li><a href="shops1.html" class="pageNumber">1</a></li> //button 1 <li><a class="pageNumber" href="shops2.html">2</a></li> //button 2 </ul> </div> [/code] Do you know what is wrong with it? | |
Hi everyone. So I'm trying to make a thumbnails for the products from my shopping cart. A script wa suggested to me which is this: [url]http://shiftingpixel.com/2008/03/03/smart-image-resizer/[/url] Which looks simple and nice. The problem is this: When I merge the script and my code together I get this (the file is … | |
Hi everyone. Hopefully this will be the last thing that I need to do to my shopping cart. Basically I have a product details and it gives me the actual picture in its actual size. In order to look more neat, I want to make the pictures to be like … | |
Hi everyone. So I have a shopping cart which has a product details. The thing is, the photo is taken from the database but it is just a plain photo. I want to make it more pretty, so I want to add the prettyphoto script to it. Basically I have … | |
Hi everyone! I'm trying to add the class="" to an image tag in php but I can't make it work. The code is this: [code] echo "<td width=\"$columnWidth%\" align=\"center\"><a href=\"$url\"><img class="pImageCenter" src=\"$image\" border=\"1\" /><br>$name</a></td>\r\n"; [/code] Help please | |
Hi everyone. So one of the last things of my shopping cart is to fix the currency. The problem is that it is on the left side like this $10, and I want it to be on the right like this 10$. Here is the file: [code] <?php header ('Content-type: … | |
Hi everyone! I've worked on a shopping cart and I have a small problem. When an order is made, it doesn't send a notification email. It all seems ok but I don't know why it doesn't work. Here is the code: [code]<?php header ('Content-type: text/html; charset=utf-8'); require_once 'utf.php'; require_once 'library/config.php'; … | |
Hi everyone! So I'm finishing a shopping cart, and there is just one thing that annoys me - the currency is on the left side. Its like this: $10, but I want it to be like this: 10$. Is there any way that I can do this? Thanks! | |
Hi everyone. I need a shopping cart script that uses PHP and MySQL that can be incorporated into site. I've already tried the PlainCart and seriously, that script just has too many issues that need to be solved, and I don't have the time. Also making my own is not … | |
Hi everyone! So far I managed to make the shopping cart to work with utf characters, but I came across another problem. When I add a new product from the admin, it puts the data into the database. But the cyrillic characters are shown like ?????????. When I change the … | |
I have another problem. I try to modify the plaincart and the problem is that the images doesn't show. The code is this: [code] <?php if (!defined('WEB_ROOT')) { exit; } $productsPerRow = 2; $productsPerPage = 4; //$productList = getProductList($catId); $children = array_merge(array($catId), getChildCategories(NULL, $catId)); $children = ' (' . implode(', … | |
Hi guys, I'm trying to modify the plaincart for my needs but I have problem with the cyrillic characters. When I call the data from the database, all I get is ???????. My database is ok, the collation is utf8_unicode_ci and I can see my characters correctly in phpMyAdmin. for … | |
Hi guys! I'm trying to make a PHP mailer and I have a little problem with the eregi() function. This is the code: [code] if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,6}$", $senders_email)) { $error = "1"; $info_error .= $lang_invalidemail . "<br>"; } [/code] and it gives me this error: Deprecated: Function eregi() is deprecated in … | |
Hi everyone! I want to send cyrillic letters with php, but it is not possible because php doesn't allow it. So, how do I covert the letters so that they could be sent. [CODE] <?php if (comments_open ()) : ?> <div class="comment block" id="respond"> <div class="holder"> <h2><?php comment_form_title('[B]Остави коментар[/B]', 'Leave … | |
Hi guys, I'm trying to use an individual CMS. But when I installed it it shows me this notice: NOTICE: UNDEFINED INDEX: _PAGE IN C:\WAMP\WWW\MYCMS.PHP ON LINE 16 The php file is this: [CODE] <?php if ($_SERVER["REQUEST_URI"]) { if (is_array($tmp = explode("?" , $_SERVER["REQUEST_URI"]))) { $tmp = explode("&" , $tmp["0"]); … | |
I'm using the wp e-commerce plugin and the problem is that the info for the product is shown under the picture instead next to it. I'm using virgo theme but I've tried with other themes and still, the problem stays the same. The problem is this: [url]http://i53.tinypic.com/2vdflo4.jpg[/url] and I want … | |
Cyrilic characters don't show up on this theme: [url]http://themeforest.net/item/elegance-simple-and-elegant-wordpress-theme/full_screen_preview/110315[/url] in the navigation bar. how to repair it? when i write in latin characters there is no problem, but when in cyrillic nothing shows up. the menus are empty. no characters at all. i guess it is a css problem....pls help … | |
Hi guys. I have some questions about very long diagram that I have to make. In short lines the task is this: airplanes and airports. The airports have these characteristics: One runway and multiple hangars. Some of the airports are only military. The airplanes have these characteristics: Capacity. Speed. Max … | |
Hi everyone! I have a task that needs to be made in C in Linux. I use Kubuntu. This is the task: Process (coordinator) creates 5 working process (pool of processes). The working processes are waiting to be awakened by the coordinator, perform a job and wait again. The coordinator … | |
Hi everyone! I think that this is the best place to put my thread about Ladder logic. So I have to make a light show (or Christmas lights) in Ladder. I use TwidoSoft. I know that this is not popular anymore, but we do it at school and I will … | |
Hi everyone, So OK basically I need to create animated button with three pictures (optional) which will represent the button as active, passive and activated. So the task wasn't very hard until my teacher added another thing: The user to be able to choose which picture to use. So my … | |
Hi everyone! So my task is this: Make a program in C which runs three processes (A,B,C), which use a common memory (buffer). Process A generates 50 random numbers and writes then into the buffer. Process B writes down every even number into file F1. Process C writes down every … | |
Ok, guys I know that I'm asking too much questions, it's just that I really want to understand how things work. So I have a little project: Make a program in C which runs three processes (A,B,C), which use a common memory (buffer). Process A generates 50 random numbers and … | |
Hi everyone! So I have a problem with java applet. [code] import java.awt.*; import java.applet.*; // import an extra class for the ActionListener import java.awt.event.*; // Tells the applet you will be using the ActionListener methods. public class project extends Applet implements ActionListener { TextField nameField; Checkbox cb1; Checkbox cb2; … | |
Hi everyone! So can someone explain me how to compile a file with gcc? I'm using kubuntu, and I've written my source code in Kate(the text editor), and I saved it in documents like file1, and now how to compile it from the terminal? I've tried with the command: [code] … | |
Hi everyone! So I have a XML code [code] <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="pizza.xsl"?> <pizza_list> <food> <name>Margarita</name> <description>tomato sauce</description> <price>3.60 </price> <diameter>30 cm</diameter> </food> <food> <name>Green</name> <description>tomato, oregano</description> <price>5.40 </price> <diameter>30 cm</diameter> </food> <food> <name>Primaverra</name> <description>tomato, mozzarella, cucumber</description> <price>5.30 </price> <diameter>30 cm</diameter> </food> <food> <name>Sandokan</name> <description>tomato, crab meat</description> <price>6.40 … | |
Hi everyone. So I get the code going now the question is: How to make a menu in Java code? For example: 1.create table 2.insert into table 3.select fro table 4.delete table... Which will you choose: ex.1 and creates table I mean like switch case in C++ [code] import java.sql.*; … | |
Hello everyone!!! Can someone help me with this: I need someone to tell me if the code is correct about this: It should create a table, insert something into the table (in this case random numbers), select from the table, and erase the table. [code] import java.sql.*; public class dbAccess … | |
Hello I'm doing a program about UART in Borland C. And I have a few questions. This is the code: [code] #include <iostream.h> #include <dos.h> #include <conio.h> #include <stdio.h> #define COM1 0x3F8 int main(void) { clrscr(); // outportb( COM1 + 1, 0 ); outportb( COM1 + 3, 0x83); outportb( COM1, … | |
Hello everyone, can someone help me with this please? Create class which will create tables in data base (Microsoft Access). About the tables: number of columns, type of data, lenght of the data. And mantaining the information (the data) in the tables- add data, delete data and edit data. So … | |
Can someone help me to make a program in java: 1. Generate 2 rows of 50 random numbers (int) from 0 to 99. 2. Search the numbers that appear in the first row, but not in the second, and numbers that appear in the second row but not in the … | |
hello,can someone help me? I must make a program which contains: Deck (the data in it must be integer(numbers)),(if possible,in header file). Sort the elements by the method of Shell Find the elements that can be divided by 5, and smaller then the largest number that can be divided by … | |
Hello, I'm new in coding in php I want to transfer a webpage (news5.html) to another webpage (in a table). (Like it is done on the news websites "www.domain.com/index?ID=4343" How can I do it? I read about passing variables through url, but if it is how it should be done … | |
Hi, I have two questions, if someone can help me please I need it urgently!! Thanks to all! 1. Tree class Make a function that counts the number of nodes with two children in a binary tree. 2. List class Make a function that prints the elements of the list … |
The End.