Rob, you have a couple options for summing values.
1) You can add the sum as part of your SQL query by adding it in the SELECT statement. Something like: SELECT (par1 + par2 + par3 ... + par9) AS...
Type: Posts; User: mattski
Rob, you have a couple options for summing values.
1) You can add the sum as part of your SQL query by adding it in the SELECT statement. Something like: SELECT (par1 + par2 + par3 ... + par9) AS...
I just checked your site, looks like the prices are visible.
You can put it in the same directory but it's probably better to add a new directory for your store and install osCommerce there. If you install osCommerce to a different directory you can have a...
Yes, you can do this. You will need to be familiar with using phpMyAdmin and creating databases on your Voda host account to copy the database content.
You will also need to use an FTP program to...
Check to make sure that your echo statement looks like:
echo "Thank you for coming";
And check that your html tag is properly closed out:
</html>
I think you may have missed the "</" part...
Copy and paste the information from the files you were editing that caused the issue.
If you want to include the file the syntax is:
include('abd.php');
This basically pulls the file in to the file you are including it in for you to use it.
Aside from not having the images (which is expected) this page displays correctly with no errors.
What I need to see is the March_Events.php and February_Events.php source in order to help find...
I'm not sure if I understand this correctly. Here's what I'm assuming.
"efg.php" sets up the form.
"abd.php" processes the form and inserts data into database.
So "abd.php" should be included...
This is a common error that PHP gives when something is not matched up. You could be missing a ";" or have a parenthesis or bracket that doesn't have a match.
Without seeing your code I can't...
The typical date format for MySQL is YYYY-MM-DD so you need to match that format when inserting data into your table. There are a couple different ways to approach this:
1) Force the user to...
Database users are managed through the MySQL Databases link in your CPanel. You can't retrieve the password but you can add a new user with permissions to your forum database. The other option is...
It's a better practice not to use $_POST values directly in SQL statements. You really should sanitize them first by using the function mysql_real_escape_string(). If not you run the risk of an SQL...
Your variable $LastName needs to have a value defined for it somewhere in your script. With the snippet you posted $LastName is undefined and will not return any rows.
I'm guessing you are...
Glad you were able to figure out the pricing. I probably should have added some comments to make it easier to figure out.
1) To add more vertical space add another
<br> there is currently one...
If you want a shopping cart like functionality then you need to write the code for one or use an existing shopping cart program.
If you only have a small number of products one option is to use...
You don't use bluevoda or Dreamweaver to create a database. You would create your database through CPanel.
From a development standpoint you could do all of your other work in Dreamweaver and not...
You can use phpMyAdmin from CPanel to view your database.
If you are trying to access it for a web page through a script the server name you use is "localhost".
If you Google: oscommerce image on invoice
You will see the following add-on. It has install instructions to include and image on the invoice. Looks pretty straightforward.
...
GD Library is installed. You can verify this by creating a file called test.php with the following code:
<?php phpinfo(); ?>Place this file in your web page home directory and browse to the...
Rob,
Sorry, got busy with work/life etc. Didn't mean to leave you hanging here. Feel free to email me and we can discuss this. I can help you get it worked out but it may be easier to do over...
The checkout_success.php file is located in the main directory for your store, wherever you installed it to. You will want to unzip the file on your home computer first before moving it to your...
Rob,
If you want this to be set in an admin section I would recommend storing the value in your database in some sort of configuration table and then querying on that value before you generate...
Rob,
If you post your code I can take a look at it.
I'm assuming you are using a while loop to generate your table. One thing you can do is add a counter in the loop based on the value of...
Rob,
Use javascript to autosubmit the form that you are using for the combo box. Then you will need to build a check into your PHP code to evaluate the selected value and then regenerate the...