הרשם שאלות ותשובות רשימת חברים לוח שנה הודעות מהיום

חזור   הוסטס - פורום אחסון האתרים הגדול בישראל > עיצוב גראפי, תכנות על כל שפותיו וקידום ושיווק אתרים > פורום תיכנות

   
|!|

השב
 
כלים לאשכול תצורת הצגה
ישן 25-01-06, 22:48   # 1
Gal Shafrir
חבר וותיק
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 1,626

Gal Shafrir לא מחובר  

אני לא יודע אני רוצה שאחרי שיכתבו בטופס את כל הפרטים זה ישלח למסד הנתונים...

זה הקוד:
PHP קוד:
<p align="center"> 

<html dir=rtl>  
<head> <title> &auml;&oslash;&ugrave;&icirc;&auml; &igrave;&icirc;&aring;&ograve;&atilde;&aring;&iuml; &auml;&ccedil;&aacute;&oslash;&eacute;&iacute; </title><style>
}

textarea {
    font-family: Arial;
    font-size: 13px;
    color: #666666; 


input {
    font-family: Arial;
    font-size: 12px;
    color: #666666;

}

button {
    font-family: Arial;
    font-size: 13px;
    color: #FFFFFF;


</style></head> 
<body>  
<font color="#ffffff"  size=2 face="arial"> 
<form action="?insert" method=post>
<p align=center> <br>    
<table id="Table_01" width="235" height="350" border="0" cellpadding="0" cellspacing="0"> 
<center><td width="235" height="350" colspan="5" rowspan="17" bgcolor="#e1e1e1"> </center> 
<td width="225" height="50" colspan="6" rowspan="18" bgcolor="#808080"> 
    <form action="mail.php" method=post>
<p align=center> 
<font color="#e1e1e1"  size=3 face="arial"> <br> 
 <p align=center> &ugrave;&iacute; &icirc;&ugrave;&uacute;&icirc;&ugrave;:      <input type=text name=user_name></p> 
 <p align=center> &ntilde;&eacute;&ntilde;&icirc;&agrave;:   <input type=text name=pass></p>  
 <p align=center> &atilde;&aring;&agrave;"&igrave;:    <input type=text name=email></p> 
<p align=center><br></p> 
        <p align=center><input type=submit value= &auml;&oslash;&ugrave;&iacute;!></p>  
     </form>  </font> </p> </td></table> 
     </form>
 </body>
</html> <font color="#000000"> 
<?php  
mysql_connect 
('localhost''שם משתמש''סיסמא'); // connection to the database
mysql_select_db("pop3667788_friends"); 
echo 
"";  

if(
$_POST['user_name'] =="") {
if(
$_POST['pass'] =="") {
if(
$_POST['email'] =="") {
echo 
"יש פרטים שלא מולאו"
}
else
{  
echo 
"נרשמת בהצלחה"

                
$queryone "INSERT INTO users ('username', 'password','email); 
                 VALUES ($_POST['username'], $_POST['password'], $_POST['email'])"
;
                 
$result mysql_query($queryone); 
                      or die(
"Query failed: " mysql_error());


                 
mysql_close($connection);
?>
מחכה לתשובה..
ותודה לשקד שעזר פה הרבה..
__________________
בברכה,
גל שפריר - מעצב ומפתח אתרים.

עופר שפריר - במאי, תסריטאי ומפיק.
  Reply With Quote
השב

חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים)
 


חוקי פירסום
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is מופעל
סמיילים הם מופעל
[IMG] קוד מופעל
קוד HTML מכובה

קפיצה לפורום


כל הזמנים הם GMT +2. הזמן כעת הוא 05:25.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ