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.

~10K People Reached
About Me

i am creating a web site for my company

Interests
codes
Favorite Forums
Favorite Tags
php x 27
Member Avatar for onofej

hello everyone, i have read through other post but could not resolve my issues. i need someone to see to my code. i am trying mysql_real_escape_string for my datas. but the one without it can insert properly while the one with the mysql_escape does not. from my code, i am …

Member Avatar for onofej
0
104
Member Avatar for onofej

Hello every one, i have a form with drop down list of month,dates,year. and text fields. i am able to insert the text fields values fine, but could not insert values from the dropdownlist(month,date,year) using same method. please could someone help me.below is my code. <?php session_start();session_destroy(); session_start(); if($_GET["firstname"] && …

Member Avatar for onofej
0
1K
Member Avatar for onofej

Please could someone check this code for me as it is giving me You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near line . Although this type of question has been ask by someone …

Member Avatar for onofej
0
224
Member Avatar for onofej

please could someone help me for a code to validate DOB i got this code on the web but doesnt work i want to validate dd/mm/yyyy or any other format is fine by me. if(preg_match("/dob/i",$field)) { if(!preg_match("“/^([0-9]{2})\/([0-9]{2})\/([0-9]{4})$/”",$value)) code from web { $errors[]="$value is not a valid dob please enter only …

Member Avatar for diafol
0
5K
Member Avatar for onofej

Hello, I am using this function below to validate date, when the user enter a valid date format every is fine and it apears on my DB, but when the user enter any thing like abcde or 22107666, i expect it to give an error message as shown on the …

Member Avatar for diafol
0
88
Member Avatar for onofej

Please could someone tell me the best way to wrtite this in PHP i am validating gender in a text box i do not want to use radio button. at present my code is like this but not working if(preg_match("/gender/i",$field)) { if(!preg_match("/^M,F $/",$value)) { $errors[] = "$value is not a …

Member Avatar for LastMitch
0
165
Member Avatar for onofej

I have a xampp database user log in with username and password, but i want to send each user an ID after registration and this ID should auto increment in my database. at the moment i can only achieve this if i include a field on the registration form, but …

Member Avatar for LastMitch
0
1K
Member Avatar for onofej

Hello, I have all my php documents in one folder to handle my form creating, and i have all my html files in one directory as well. but in my php code i want when a user click on the hyperlink in php page it shoud yake the user to …

Member Avatar for diafol
0
1K
Member Avatar for onofej

i have a registration form where members fill in datas, clicking on submit button i got this Warning: extract() expects parameter 1 to be array, null given in C:\Users\0382\xampp\htdocs\cidia\source\New_member.php on line 22 Notice: Undefined variable: firstName in C:\Users\0382\xampp\htdocs\cidia\source\New_member.php on line 27 Notice: Undefined variable: lastName in C:\Users\0382\xampp\htdocs\cidia\source\New_member.php on line 27 …

Member Avatar for klemme
0
191