User Profile

Collapse

Profile Sidebar

Collapse
florin pojum
florin pojum
Last Activity: May 7 '11, 05:05 PM
Joined: May 6 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks again for your reply, your suggestion was helpful, here is how I solved my problem with second foreach:

    Code:
    foreach($rules as $name){
    	  
    		if(!isset($name['found']) && isset($name['required']) && $name['required'])
    			$errors[]='Field '.htmlspecialchars($name['title']).' is required.';
    		
    	  }
    Kind Regards,
    See more | Go to post

    Leave a comment:


  • Thanks a lot for your help, I tried to remove the commas as u suggested but I get the same result: the error message doesn't return the "title" for the radio buttons group - how, it displays how instead of How to.
    See more | Go to post

    Leave a comment:


  • Radio buttons group and array validation problem

    Hello everybody,

    This is my first post on this forum and I wish to share with you my problem, hoping that someone has gone through the same problem as I have.

    My form looks like this:

    Form html code:

    Code:
    <form method="post" action="process.php">
    <input type="text" name="fullname"/>
    <textarea name="message"></textarea>
    ...
    See more | Go to post
No activity results to display
Show More
Working...