Search found 34 matches

by lmg
Tue Aug 25, 2009 2:17 pm
Forum: PHP - Code
Topic: PDF Split Table Cells
Replies: 0
Views: 118

PDF Split Table Cells

I am working on generating pdf reports with split table cells (see below, I hope the structure is still readable). ------------------------------------------ |~~~~~Standard~~~|Rating|Comment| ------------------------------------------ | **standard** |You~|rating|comment| | **standard** -------------...
by lmg
Thu Jul 16, 2009 4:00 pm
Forum: PHP - Code
Topic: Forms, validation and standards
Replies: 7
Views: 589

Re: Forms, validation and standards

I found a workaround to my problem:

In the if statement on line 12 of the form page, I went through all of the $_POST variables and assigned them to a $_SESSION variable (ie: $_SESSION['group1']=$_POST['group1']) before the header() command.
by lmg
Wed Jul 15, 2009 11:35 am
Forum: PHP - Code
Topic: Forms, validation and standards
Replies: 7
Views: 589

Re: Forms, validation and standards

So far, I have been able to get the form validation part to work; however, as soon as I go to the page which is supposed to write the information into a database, none of my $_POST variables are showing up. Can anyone help me figure out why this is happening? Form Code: <?php session_start();       ...
by lmg
Mon Jun 29, 2009 4:52 pm
Forum: PHP - Code
Topic: Linked Dropbox-Radio Button Duo
Replies: 2
Views: 122

Re: Linked Dropbox-Radio Button Duo

Thanks kale.
by lmg
Mon Jun 29, 2009 4:42 pm
Forum: PHP - Code
Topic: Linked Dropbox-Radio Button Duo
Replies: 2
Views: 122

Linked Dropbox-Radio Button Duo

I was just wondering if it is possible to populate a dropbox once a radio button is pushed with php or if I have to use Javascript. Basically what I have are two questions - the first is a question with two options of which the user can select one. Based on this answer, the dropbox in the second que...
by lmg
Fri Jun 26, 2009 4:19 pm
Forum: Javascript
Topic: Javascript and Radio Button Verification
Replies: 9
Views: 1433

Re: Javascript and Radio Button Verification

I guess I will just have to see what I can do then :) Thanks.
by lmg
Thu Jun 25, 2009 10:54 am
Forum: Javascript
Topic: Javascript and Radio Button Verification
Replies: 9
Views: 1433

Re: Javascript and Radio Button Verification

So are you saying that I should be doing the validation with php and then showing the user what is wrong with javascript? I have extremely limited knowledge of javascript and not much more with php :)
by lmg
Wed Jun 24, 2009 5:30 pm
Forum: Javascript
Topic: Javascript and Radio Button Verification
Replies: 9
Views: 1433

Re: Javascript and Radio Button Verification

Sorry about that. This link should work.
by lmg
Tue Jun 23, 2009 3:30 pm
Forum: Javascript
Topic: Javascript and Radio Button Verification
Replies: 9
Views: 1433

Re: Javascript and Radio Button Verification

This is sort of what it looks like. There will be 20-28 questions per page though.
by lmg
Tue Jun 23, 2009 12:51 pm
Forum: Javascript
Topic: Javascript and Radio Button Verification
Replies: 9
Views: 1433

Javascript and Radio Button Verification

I have been googling and searching through the forums but haven't found exactly what I am looking for. What I have right now is a set of questions using radio buttons. I was trying to do error handling via php, but things weren't working, so I figured I would try some javascript. This is what I woul...
by lmg
Mon Jun 22, 2009 5:36 pm
Forum: Databases
Topic: mySQL Query Creation with a for Loop
Replies: 2
Views: 578

Re: mySQL Query Creation with a for Loop

Thanks for the help! I think it is working now.
by lmg
Mon Jun 22, 2009 2:23 pm
Forum: Databases
Topic: mySQL Query Creation with a for Loop
Replies: 2
Views: 578

mySQL Query Creation with a for Loop

The user fills out a form with radio buttons and text boxes for each question (there are 20 questions) and then the answers and comments will be put into a database. The way I have it set up now, I grab the answers with a for loop and use the . operator to append it to the end of the current query l...
by lmg
Mon Jun 08, 2009 10:28 am
Forum: HTML, CSS and other UI Design Technologies
Topic: [CSS] Vertical Alignment Without Table
Replies: 15
Views: 8168

Re: [CSS] Vertical Alignment Without Table

Did you ever find a solution to your problem? I think I am trying to do the same thing as you.
by lmg
Wed Jun 03, 2009 12:46 pm
Forum: PHP - Code
Topic: Variable Nomenclature In a Loop
Replies: 4
Views: 468

Re: Variable Nomenclature In a Loop

It was a rather large chunk of code - I went for readability :)
by lmg
Wed Jun 03, 2009 11:43 am
Forum: PHP - Code
Topic: Variable Nomenclature In a Loop
Replies: 4
Views: 468

Re: Variable Nomenclature In a Loop

Is PHP really that picky? My for loop is only one line long.

I made some minor changes (changed variables as suggested) and it appears to be working now. Thanks so much!