Not signed in (Sign In)

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below


Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome Guest! Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorxyvermax
    • CommentTimeSep 3rd 2010
     permalink
    is it VARCHAR, TEXT. Coz' I'm having problem when I try to show the data on my site. I wouldn't show up the data.
    •  
      CommentAuthorObiWan
    • CommentTimeSep 3rd 2010
     permalink
    You might want to ask this question on the MSDN forums - http://social.msdn.microsoft.com/Forums/en/categories/
    •  
      CommentAuthorasdf
    • CommentTimeSep 3rd 2010
     permalink
    MySQL? Use TEXT.  
     
    Escape your string using mysqli_real_escape_string()  
     
    Example:  
     
    $blah = $conn->real_escape_string($blah);  
    $sql = "insert into table (blah) values ('$blah')";  
    $conn->query($sql);
    •  
      CommentAuthorxyvermax
    • CommentTimeSep 4th 2010
     permalink
    asdf can you tell me what is the right syntax  
     
    var x = document.getElementById("category").value;  
     
    I want to echo in php the value of category  
     
    I tried this but no good var x = document.getElementById("category").value;  
     
    var y = '<? echo'. x . '?>';  
    alert(y); :face-smile:
    •  
      CommentAuthorasdf
    • CommentTimeSep 4th 2010
     permalink
    var x = '<?=$x?>';  
    document.getElementById('category').value = '<?=$x?>';
    •  
      CommentAuthorxyvermax
    • CommentTimeSep 4th 2010
     permalink
    hey asdf another quetion if it's ok?  
     
    look at this http://www.rsiruma.com/repair/category/index.php?id=category  
     
    what I want is to hide the variable id when you go to index.php and i want only the folder name to show up  
     
    Thanks in advance I've learned a lot from you since then we started that business. I don't know if you remember me. I'm still doing my site one time I'm gonna post it over here.  
     
    I heard you are making big bucks now I wish one day you could hook me up on your work.:face-smile:
    •  
      CommentAuthorasdf
    • CommentTimeSep 6th 2010 edited
     permalink
    Do you mean you want to use a folder name as an id?  
     
    like http://www.rsiruma.com/repair/category/blah where the last category is the id?  
     
    You have to create a file .htaccess in the category folder and put this rewrite rule  
      
    RewriteEngine on  
    RewriteCond %{REQUEST_FILENAME} !-f  
    RewriteCond %{REQUEST_FILENAME} !-d  
    RewriteRule (.*) index.php?id=$1 [QSA,L]  
     
    With this rewrite rule both links below are the same:  
    http://www.rsiruma.com/repair/category/blah  
    http://www.rsiruma.com/repair/category/index.php?id=blah  
     
    The rewrite condition only happens if a file or folder does not exists in the category folder. "blah" does not exists so its rewritten as "index.php?id=blah"
    •  
      CommentAuthorxyvermax
    • CommentTimeSep 6th 2010
     permalink
    still can't get it. can you give me sample. I appreciated man.:face-smile:
    •  
      CommentAuthorasdf
    • CommentTimeSep 6th 2010
     permalink
    I checked out your server.  
     
    rename index.htaccess to .htaccess  
    create a file called index.php and put <?=$_REQUEST['id']?>
    •  
      CommentAuthorxyvermax
    • CommentTimeSep 6th 2010
     permalink
    got it man thanks! one more I want to make make the picture bigger on mouseover but without breaking the position of the original image and not breaking the page. you know what i mean?
    •  
      CommentAuthorasdf
    • CommentTimeSep 7th 2010
     permalink
    use z-index: 1 for css
    •  
      CommentAuthorxyvermax
    • CommentTimeSep 7th 2010
     permalink
    Thanks man this is the one I'm looking for long. thanks for sharing your skills just like open source. :face-smile: