TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 25 of 26
Search took 0.02 seconds.
Search: Posts Made By: Guezala
Forum: Absolute Beginners 05-13-2009, 07:57 PM
Replies: 27
Views: 1,408
Posted By Guezala
Cool...yes I have heard of sessions but avoided...

Cool...yes I have heard of sessions but avoided it cos i was in such a pickle with what i had done so far! Sounds just the thing cos I was going to look into making the form "sticky" ... is that a...
Forum: Absolute Beginners 05-13-2009, 05:04 PM
Replies: 27
Views: 1,408
Posted By Guezala
Hey! The good news is it works - YEY!!!! I could...

Hey! The good news is it works - YEY!!!! I could kiss you all over :)

I think that some of the errors must simply be related to testing locally.. is this likely?

I will add some more validation...
Forum: Absolute Beginners 05-13-2009, 04:34 PM
Replies: 27
Views: 1,408
Posted By Guezala
Thanks - must have crossed paths.... will look...

Thanks - must have crossed paths.... will look into that now. I still have some more validation to add but will post to let you know how i have got on. i really appreciate your help. I understand...
Forum: Absolute Beginners 05-13-2009, 04:29 PM
Replies: 27
Views: 1,408
Posted By Guezala
I have been advised to try removing the action...

I have been advised to try removing the action ref which has cleared the index errors but the form is still being validated before it has been filled out....(on my site)
Forum: Absolute Beginners 05-13-2009, 03:33 PM
Replies: 27
Views: 1,408
Posted By Guezala
Excellent.... how did u do that? I have been...

Excellent.... how did u do that? I have been trying it on my site too but not werking :P
Forum: Absolute Beginners 05-13-2009, 02:48 PM
Replies: 27
Views: 1,408
Posted By Guezala
Hey Here it is all in one chunk... <!DOCTYPE...

Hey

Here it is all in one chunk...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html...
Forum: Absolute Beginners 05-13-2009, 06:30 AM
Replies: 27
Views: 1,408
Posted By Guezala
Ok so what I don't understand then is why it...

Ok so what I don't understand then is why it works when seperate but not when in the same file?

Thanks AWNP for all your time yesterday! :)
Forum: Absolute Beginners 05-12-2009, 09:50 PM
Replies: 27
Views: 1,408
Posted By Guezala
Basically says the same..... Notice: Undefined...

Basically says the same..... Notice: Undefined index: name in /Applications/MAMP/htdocs/pf5/check4.php on line 12
Name:

Notice: Undefined index: company in /Applications/MAMP/htdocs/pf5/check4.php...
Forum: Absolute Beginners 05-12-2009, 09:00 PM
Replies: 27
Views: 1,408
Posted By Guezala
I'm really sorry...been a long day. The latest...

I'm really sorry...been a long day. The latest version is check4.php, and the action is to the same...posted older version but the rest of the code is exactly the same.

The errors I am...
Forum: Absolute Beginners 05-12-2009, 08:40 PM
Replies: 27
Views: 1,408
Posted By Guezala
Sorry... Thanks for your patience :) <form...

Sorry...

Thanks for your patience :)

<form action="send3.php" method="post">

<fieldset><legend>Quick Quote Questionnaire</legend>

<ol>
Forum: Absolute Beginners 05-12-2009, 08:11 PM
Replies: 27
Views: 1,408
Posted By Guezala
<?php #Script 3.0 - for check3.php function...

<?php #Script 3.0 - for check3.php



function valid_form(array $aFormData)

{

/* Set a default return that will be returned if validation fails. */
Forum: Absolute Beginners 05-12-2009, 07:55 PM
Replies: 27
Views: 1,408
Posted By Guezala
I think I have probably just lost the plot to be...

I think I have probably just lost the plot to be honest. I have spent so long trying to get this questionnaire working I have almost forgotten the original goal!

Ok so I have taken the on submit...
Forum: Absolute Beginners 05-12-2009, 06:59 PM
Replies: 27
Views: 1,408
Posted By Guezala
For fear of asking too much... any ideas for the...

For fear of asking too much... any ideas for the second part?

I have added into my form this;
onSubmit="valid_form();"

in the form tag, and made the php and html one page with the action the same...
Forum: Absolute Beginners 05-12-2009, 06:30 PM
Replies: 27
Views: 1,408
Posted By Guezala
Well now I am officially a prize prat! *Sigh*...

Well now I am officially a prize prat! *Sigh* Thankyou and sorry :)
Forum: Absolute Beginners 05-12-2009, 06:30 AM
Replies: 27
Views: 1,408
Posted By Guezala
Form Validation Not Working :(

Hey guys!

Well I have really worn my brain down with what is prob very simple to you seasoned php'ers!

For me there are two issues here but the first is this:

When I try testing my form using...
Forum: Absolute Beginners 05-06-2009, 08:25 PM
Replies: 19
Views: 2,259
Posted By Guezala
Ah ok i will have a play tomorrow. Thanks. Might...

Ah ok i will have a play tomorrow. Thanks. Might post a link once i have fiddled some more. :) Thanks all for your eager responses :D
Forum: Absolute Beginners 05-06-2009, 03:36 PM
Replies: 19
Views: 2,259
Posted By Guezala
Blimey! Well I need some chocolate now and a...

Blimey!

Well I need some chocolate now and a brain transplant. I'd hate to see your advanced section!

Since we have veered a bit i will take this opportunity to ask a more specific...
Forum: Absolute Beginners 05-06-2009, 12:53 PM
Replies: 19
Views: 2,259
Posted By Guezala
Yeah i'm thinking i might try the switch...

Yeah i'm thinking i might try the switch function. Thanks for that both :)

Ya never know i might post some code later... a bit too ashamed of my teensy weensy effort to show it yet lol :D
Forum: Absolute Beginners 05-06-2009, 12:10 PM
Replies: 19
Views: 2,259
Posted By Guezala
Would this work if i have lots of if elses inside...

Would this work if i have lots of if elses inside a main if else?
Forum: Absolute Beginners 05-06-2009, 07:10 AM
Replies: 19
Views: 2,259
Posted By Guezala
Ok Iknow - double posting but found something I...

Ok Iknow - double posting but found something I didn't know about. Smultron (open source text editor for macs) does do something just never realised!

When you make a bracket (square, curly, round)...
Forum: Show Off 05-06-2009, 06:23 AM
Replies: 7
Views: 871
Posted By Guezala
Nice :) - might just do that...

Nice :) - might just do that...
Forum: Absolute Beginners 05-06-2009, 06:18 AM
Replies: 19
Views: 2,259
Posted By Guezala
Curly brackets!

Hi all

I have just completed my first useful script (not completely functional yet but that's for another thread!) and I am boggled by the number of curly brackets i have ended up with lol!

I...
Forum: Member Introductions 05-05-2009, 02:40 PM
Replies: 9
Views: 543
Posted By Guezala
LMAO hmmm not THAT old but old enough to know...

LMAO hmmm not THAT old but old enough to know better... never ask a lady her age ;)
Forum: Member Introductions 05-05-2009, 02:36 PM
Replies: 9
Views: 543
Posted By Guezala
LOL @ Orc ... sounds ominous! Thanks guys...

LOL @ Orc ... sounds ominous! Thanks guys blimey.

I basically was a nurse.... had a child. Decided to try and make a website for my hubby's company that he works for.

Then thought it was quite a...
Forum: Member Introductions 05-05-2009, 02:33 PM
Replies: 9
Views: 543
Posted By Guezala
He he I like the SAY THANKS option :) allwork...

He he I like the SAY THANKS option :)

allwork thanks for that.... I am actually a bit (very) excited about php ... I have basically made a questionnaire with checkboxes, radios and text areas and...
Showing results 1 to 25 of 26

 

All times are GMT. The time now is 01:29 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design