User Profile

Collapse

Profile Sidebar

Collapse
soeter04
soeter04
Last Activity: May 14 '07, 02:10 PM
Joined: Nov 13 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • soeter04
    started a topic scrollable table

    scrollable table

    Hey guys,

    I'm trying to make a scrollable table as follows:
    table is inside a div that is scrollable, both horiz and vert
    above that div is another div, containing the table headers.
    As the user scrolls the main div horizontally, the headers should move accordingly.

    http://www.ruimtemaker .nl/test/index.html

    It does work as i wanted now, only thing is the alignment of the two table...
    See more | Go to post

  • soeter04
    started a topic characters like ( é è ç ) in XML
    in XML

    characters like ( é è ç ) in XML

    Quickie: is the XML below valid?

    <?xml version="1.0" encoding="UTF-8"?>
    <elem>
    é è ç
    </elem>

    Or should the element body be in a CDATA block?
    ... or should i use some &thingie; for those chars...

    I have no idea.
    Thanks
    See more | Go to post

  • Commons codec might be a useful package to look at...

    http://jakarta.apache. org/commons/codec/
    See more | Go to post

    Leave a comment:


  • soeter04
    replied to inserting data from form to database help
    in PHP
    Change
    {$adoCon->Execute
    To

    try {

    $adoCon->Execute


    a try cant exist without a catch and vice versa.
    See more | Go to post

    Leave a comment:


  • soeter04
    replied to inserting data from form to database help
    in PHP
    Maybe i should have read all of your error :)

    Something's wrong in your query too...
    See more | Go to post

    Leave a comment:


  • soeter04
    replied to inserting data from form to database help
    in PHP
    The problem is that you do some tasks, which one might call risky or unstable... Like database connections: the connection might be refused, the credentials might be wrong, whatever...
    Instead of letting an application just crash when something goes wrong, we want to "catch" the error, and act accordingly (displaying an error message, log the error, whatever...). Usually that is achieved by something called a try/catch block. ...
    See more | Go to post

    Leave a comment:


  • soeter04
    replied to Need Help with Password Program
    in Java
    Missed something :)
    Code:
    public boolean isPasswordOk( String password1, String password2 ) {
    	if(!password1.equals(password2))
    		return false;
    	
    	if(password1.length() < 6 || password1.length() > 10 )
    		return false;
    	
    	char[] c = password1.toCharArray();
    	boolean numericOk = false;
    	boolean letterOk = false;
    	for(int i=0;i<c.length;i++) {
    ...
    See more | Go to post

    Leave a comment:


  • soeter04
    replied to Need Help with Password Program
    in Java
    Notepad work, not tested at all...
    Using regular expressions might (and most likely will) be a more elegant solution...

    Call the method below with the two passwords entered by the user...

    Code:
    public boolean isPasswordOk( String password1, String password2 ) {
    	if(!password1.equals(password2))
    		return false;
    	
    	if(password1.length() < 6 || password1.length() > 10 )
    		return
    ...
    See more | Go to post

    Leave a comment:


  • soeter04
    replied to inserting data from form to database help
    in PHP
    How about this? (removed the last line with adocon... that made little sense)
    [PHP]
    <?php

    // creates a new connection object
    $adoCon = new COM("ADODB.Conn ection");

    // opens the connection using a standard Access connection string
    $adoCon->Open("Provider =Microsoft.Jet. OLEDB.4.0; Data Source=\wamp\ww w\PRU.mdb");

    $adoCon->Execute(
    "INSERT...
    See more | Go to post

    Leave a comment:


  • Using the value attribute in a file input is not widely supported... Some browsers do support it, most don't (due to obvious security reasons)

    See article below:



    From: http://www.cs.tut.fi/~jkorpela/forms/file.html#value...
    See more | Go to post

    Leave a comment:


  • soeter04
    started a topic Proper XML or not...
    in XML

    Proper XML or not...

    Quick question...

    At work, we do business with a third party. They 'deliver' XML to us over HTML, which is parsed and processed by a servlet.

    I suspect some of the delivered XML is malformed. However, i'm not the typical XML guru, so i'm not if i should be as mad at that third party as i'd like to be :)

    The issue: (element names/values are changed ;) )

    1) <ELEMENT>&nbsp; </ELEMENT>...
    See more | Go to post

  • soeter04
    started a topic DIV Layout driving me mad...

    DIV Layout driving me mad...

    Hey there,

    I'm having trouble with an (at first sight) easy layout:

    Basic layout: 3 rows:
    - top bar (fixed height)
    - middle frame (max height between bars)
    - bottom bar (fixed height)

    In the middle frame, there should be a 4 column layout:
    From left to right:
    - menu col (fixed width)
    - menu border (fixed width)
    - main content (max width)
    - right border...
    See more | Go to post
No activity results to display
Show More
Working...