Search results

  1. R

    In PHP, how do I specify TOTAL string length padding?

    I've tried using printf variations based on the PHP manual, but the padding doesn't seem to work. I want to use the padding so that field names and data fields in a web form line up, since tables are often displayed in different ways by alternate browsers. Example: Descriptor 1: [D1 Textbox]...
  2. R

    How do you autopopulate a second <select> element with options using AJAX?

    I know that I need to use the onChange event from the first element to trigger the AJAX call to query the database and return results, but I'm unclear on how to use PHP and Javascript to create the new options. I have seen an example before but can't find it again. It involved using...
Back
Top