עבור לתוכן
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

פורסם

זה דף החיפוש לפי שם פרטי ושם משפחה:

  <%
if session ("adminCheck")<>"true" then
response.write "כניסה למורשים בלבד!"
else%>
<html>
<head>
<title> דף הניהול </title>
</head>
<body dir="rtl">
<h1> דף הניהול </h1>
<h2> חיפוש לפי שם פרטי ושם משפחה </h2>
<body background="images\850.gif" dir="rtl">

<%
fname=Request.Form("firstname")
sname=Request.Form("familyname")
sq="select*from personal_data where (firstname='"&fname&"' and familyname='"&sname&"')"
path=Server.mappath("data/db1.mdb")

set con= Server.createobject("ADODB.Connection")

con.mode=3

con.open "Provider=Microsoft.Jet.OLEDB.4.0;data source=" &path

set R=con.execute(sq)
Response.write "<body dir=rtl>"
Response.write "<br>הצגת הנרשמים"
Response.write "<table align=center border=1> <tr>"
Response.write "<td>תעודת זהות</td>"
Response.write "<td> שם משפחה </td>"
Response.write "<td> שם פרטי </td>"
Response.write "</tr>"
do until R.eof

Response.write "<tr>"
Response.write "<td> " & R.fields("id") & "</td>"
Response.write "<td> " & R.fields("firstname") & "</td>"
Response.write "<td> " & R.fields("familyname") & "</td>"
Response.write "</tr>"
R.movenext

loop
Response.write "</table>"
R.close
set R=nothing
%>
</body>
</html>
<%
end if
%>

השגיאה שמופיעה לי פשוט טבלה בלי שום נתונים מה הבעיה?

תודה

פורסם

[sq="select*from personal_data where (firstname='"&fname&"' and familyname='"&sname&"')"

זה אמור להיות:

sq="select * from personal_data where (firstname='"&fname&"' and familyname='"&sname&"')"

ארכיון

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

דיונים חדשים

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.