Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~37.0K People Reached
Favorite Forums
Favorite Tags
Member Avatar for HanFromNL

In my HTML-page I am using following HTML + PHP-code: [COLOR="Blue"]Today is: <? print(Date("l F d, Y")); ?>.[/COLOR] I would expect to see: [COLOR="Green"]Today is: monday October 4, 2010.[/COLOR] or something like that. The only thing I see is: [COLOR="red"]Today is:.[/COLOR] (mind the dot at the end. This means the …

Member Avatar for Nour_6
0
37K
Member Avatar for anyname4u

Hi, I have this script [CODE]<?php require_once("includes/connection.php")?> <?php require_once("includes/functions.php")?> <?php if (intval($_GET['subj']) == 0){ redirect_to("content.php"); } $submit = $_POST['submit']; if (isset($submit)){ //for validation $errors = array(); $required_fields = array('menu_name', 'position', 'visible'); foreach($required_fields as $fieldname){ if (!isset($_POST[$fieldname]) || (empty($_POST[$fieldname]) && !is_numeric($_POST[$fieldname]))){ $errors[] = $fieldname; } } $fields_with_lengths = array('menu_name' => 30); …

Member Avatar for richieking
0
91
Member Avatar for anyname4u

Hi, I have this error: Notice: Undefined index: menu_name in C:\wamp\www\widget_corp\create_subject.php on line 16 this is the code: [CODE]<?php require_once("includes/connection.php")?> <?php require_once("includes/functions.php")?> <?php //for validation $required_fields = array('menu_name', 'position', 'visible'); $errors = array(); foreach($required_fields as $fieldname){ if (!isset($_POST[$fieldname]) || empty($_POST[$fieldname])){ $errors[] = $fieldname; } $fields_with_lengths = array('menu_name' => 30); foreach($fields_with_lengths …

Member Avatar for anyname4u
0
271