User Profile

Collapse

Profile Sidebar

Collapse
yarivot26
yarivot26
Last Activity: Apr 2 '09, 07:53 AM
Joined: Oct 17 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hi.

    Thanks for your quick replay, it's working perfectly.

    I have one more thing I want to add - giving the user the option to select number of products (dynamically), the best I can do is this:

    Code:
    function addInput(divName){
              var newdiv = document.createElement('div');
              newdiv.innerHTML = document.getElementById(divName).innerHTML
              document.getElementById(divName).appendChild(newdiv);
    ...
    See more | Go to post

    Leave a comment:


  • yarivot26
    started a topic Show/Hide data depends on user selection

    Show/Hide data depends on user selection

    Hi,

    I have a form where the user can select a product and the product info will appear next to it.

    The products and the data on them all come from a db so I needed it to be dynamically.

    After a quick search in Google I found half answer - I managed to display the product data but if the user selected another product the previous product data stayed and more data appeared.

    I need to know...
    See more | Go to post

  • yarivot26
    replied to Page don't load - using odbc and Access db
    in PHP
    Okay do I decided to do the page system the "long" way: selecting all the db and just printing the "right" page.

    The problem now is that It's skipping rows (id 1, 3, 5, 7 and so on)

    Here's the code:

    Code:
            if ($page > 0) {
                $npage = $page + 1;
                $ppage = $page - 1;
            }
            else {      
                $page =
    ...
    See more | Go to post

    Leave a comment:


  • yarivot26
    replied to Page don't load - using odbc and Access db
    in PHP
    Thanks, it solved my array error.

    Do you know another way for me to use instead of sub-query?

    I searched google alot to find this solution for paging in mssql.
    See more | Go to post

    Leave a comment:


  • yarivot26
    replied to Page don't load - using odbc and Access db
    in PHP
    That helps, thanks.

    But why is it taking so long (about 3 min) for the page to load?

    I don't think it's my comp... duel core with 2gb ram...

    maybe something in the code?
    See more | Go to post

    Leave a comment:


  • yarivot26
    started a topic Page don't load - using odbc and Access db
    in PHP

    Page don't load - using odbc and Access db

    I'm using ODBC to read a office access db

    the db have almost 10,000 rows so I want to split it into pages

    The first page load nice and quick, but in other pages i get:

    Code:
    Maximum execution time of 30 seconds exceeded in c:\apache\htdocs\eyal\new.php on line 100
    the line 100 is the odbc_exec command.

    in the top of the page i get:

    Code:
    Warning: Use of undefined
    ...
    See more | Go to post
No activity results to display
Show More
Working...