Search:

Type: Posts; User: mattski

Page 1 of 4 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    1
    Views
    2,008

    Re: Adding values from MyAQL

    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...
  2. Replies
    2
    Views
    3,399

    Re: My Shopping Chart totals are 0

    I just checked your site, looks like the prices are visible.
  3. Replies
    2
    Views
    3,326

    Re: Adding OSC to deeper pages of the website

    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...
  4. Re: Can I transfer an OSC website to a different VODAHOST account

    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...
  5. Replies
    19
    Views
    19,931

    Re: Where clause in PHP doesn't work with variable

    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...
  6. Re: Parse error: syntax error, unexpected T_LNUMBER

    Copy and paste the information from the files you were editing that caused the issue.
  7. Replies
    19
    Views
    19,931

    Re: Where clause in PHP doesn't work with variable

    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.
  8. Re: Parse error: syntax error, unexpected T_LNUMBER

    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...
  9. Replies
    19
    Views
    19,931

    Re: Where clause in PHP doesn't work with variable

    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...
  10. Re: Parse error: syntax error, unexpected T_LNUMBER

    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...
  11. Replies
    19
    Views
    19,931

    Re: Where clause in PHP doesn't work with variable

    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...
  12. Re: How do I Retrieve/Reset My SQL database Password/Login in etc..

    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...
  13. Replies
    19
    Views
    19,931

    Re: Where clause in PHP doesn't work with variable

    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...
  14. Replies
    19
    Views
    19,931

    Re: Where clause in PHP doesn't work with variable

    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...
  15. Replies
    8
    Views
    1,349

    Re: Multi-item purchase-price esimator

    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...
  16. Replies
    8
    Views
    1,349

    Re: Multi-item purchase-price esimator

    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...
  17. Thread: help

    by mattski
    Replies
    1
    Views
    1,536

    Re: help

    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...
  18. Replies
    3
    Views
    2,093

    Re: How to access my Sql database

    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".
  19. Replies
    1
    Views
    1,956

    Re: Item image on invoice

    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.
    ...
  20. Replies
    2
    Views
    1,971

    Re: Is GD-Library installed on Vodahost

    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...
  21. Replies
    11
    Views
    3,574

    Re: link combobox to dynamically create columns

    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...
  22. Replies
    1
    Views
    1,694

    Re: payment module modification

    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...
  23. Replies
    11
    Views
    3,574

    Re: link combobox to dynamically create columns

    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...
  24. Replies
    11
    Views
    3,574

    Re: link combobox to dynamically create columns

    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...
  25. Replies
    11
    Views
    3,574

    Re: link combobox to dynamically create columns

    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...
Results 1 to 25 of 80
Page 1 of 4 1 2 3 4