עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

asp בעיה!

Featured Replies

פורסם

שלום יש לי את הדף asp הבא שמקשר בין ה-בסיס נתונים לבין האתר.

עכשיו הנה הקוד:

<html>

<head>

<title>Final club detail chack</title>

<style>

a {

text-decoration : none ;

color : #ad7b32 ;

}

a.pic {

text-decoration : none ;

color : black ;

}

font {

color : #ad7b32 ;

font-family : Arial ;

font-size : 12 ;

}

font.star {

color : red ;

font-size : 12 ;

font-family : Arial ;

}

body {

background-color : black ;

}

</style>

<%

firstname = Request.Form("firstname")

lastname = Request.Form("lastname")

email = Request.Form("email")

Function fixQuotes(theString)

fixQuotes = Replace(theString,"'","''")

End Function

lastname = fixQuotes(lastname)

firstname = fixQuotes(firstname)

Set oConn = Server.CreateObject("ADODB.Connection")

oConn.Open "Driver={Microsoft Access Driver (*.mdb)};" & _

"Dbq=" & Server.MapPath("db/clubMembers.mdb") & ";"

Set oRS = Server.CreateObject("ADODB.Recordset")

mySQL = "SELECT * FROM tClub WHERE 1=0"

oRS.Open mySQL, oConn, 3, 3

oRS.AddNew

oRS.Fields("firstname").value = firstname

oRS.Fields("lastname").value = lastname

oRS.Fields("email").value = email

oRS.Update

oRS.Close

Set oRS = Nothing

oConn.Close

Set oConn = Nothing

%>

</head>

<body>

<br />

<font color="#ad7b32" size="3" face="ariel">

<table width="95%">

<tr><td bgcolor="#292929">

<font> <b>

Final step

</b> </font>

</td></tr>

</table> <br /> <br />

<table width="80%">

<tr><td width="30%">

<font>

          <b> First name :</b> <br /> <br />

</font>

</td>

<td>

<font>

<% =Request.QueryString("firstname") %> <br /> <br />

</font>

</td>

</tr>

<tr><td width="30%">

<font>

          <b> Last name :</b> <br /> <br />

</font>

</td>

<td>

<font>

<% =Request.QueryString("lastname") %> <br /> <br />

</font>

</td>

</tr>

<tr><td width="30%">

<font>

          <b> Email :</b> <br /> <br />

</font>

</td>

<td>

<font>

<% =Request.QueryString("email") %> <br /> <br />

</font>

</td>

</tr>

<tr><td width="30%">

<font>

          <b> Country :</b> <br /> <br />

</font>

</td>

<td>

<font>

<% =Request.QueryString("country") %> <br /> <br />

</font>

</td>

</tr>

<tr><td width="30%">

<font>

          <b> Phone number :</b> <br /> <br />

</font>

</td>

<td>

<font>

<% =Request.QueryString("phonenumber") %> <br /> <br />

</font>

</td>

</tr>

<tr><td width="30%">

<font>

          <b> Icq number :</b> <br /> <br />

</font>

</td>

<td>

<font>

<% =Request.QueryString("icq") %> <br /> <br />

</font>

</td>

</tr>

<tr><td width="30%">

<font>

          <b> Spoken language :</b> <br /> <br />

</font>

</td>

<td>

<font>

<% =Request.QueryString("language") %> <br /> <br />

</font>

</td>

</tr>

<tr><td width="30%">

<font>

          <b> Gender :</b> <br /> <br />

</font>

</td>

<td>

<font>

<% =Request.QueryString("gender") %> <br /> <br />

</font>

</td>

</tr>

<tr><td width="30%">

<font>

          <b> Birth Day :</b> <br /> <br />

</font>

</td>

<td>

<font>

<% =Request.QueryString("day") %> / <% =Request.QueryString("month") %> /

<% =Request.QueryString("year") %> <br /> <br />

</font>

</td>

</tr>

</font>

</body>

</html>

עכשיו הבעיה היא שאני ורשם את הנתונים בטופס והוא עושה הכל כמו שצריך בטבלה של ה-access הוא יוצר משתמשים אבל הפרטים שהכנסתי שהם שם משתמש ואימייל רקים כאילו לא הכנסתי בטופס פרטים בכלל.

תודה מראש לכל העוזרים!

פורסם
oRS.Open mySQL, oConn, 1, 2

פורסם
  • מחבר

ממש תודה אחי על העזרה אבל ניסיתי וזה לא עובד עדיין אותו eror.

פורסם

שלחת את הטופס בGET או POST?

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.