הוסטס - פורום אחסון האתרים הגדול בישראל

הוסטס - פורום אחסון האתרים הגדול בישראל (https://hosts.co.il/forums/index.php)
-   פורום תיכנות (https://hosts.co.il/forums/forumdisplay.php?f=14)
-   -   עזרה.. שאיבת נתונים מקובץ של שליחה.. (https://hosts.co.il/forums/showthread.php?t=62383)

Oribest 26-04-08 03:43

עזרה.. שאיבת נתונים מקובץ של שליחה..
 
PHP קוד:

                    <form method="POST" action="omg.php?id=<?=ID;?>?der=$B1" >
</font><font face="Arial" style="font-size: 9pt">
                    <p dir="rtl">
                    <b><font dir='rtl'>בחר מספר:</font>
                    <br><span style='color: #76AEFF' dir='rtl'><?=$r['title'];?></span>

                    <BR><BR>

                    </b>
                    
                    </p>
</font><font face="Tahoma" size="1">
                    <TABLE Border=0 Cellpadding=1 CellSpacing=1>
                    <TR>
                        
                        <TH Width=30>
                        <INPUT onClick="{ this.form.submit(); }" style='font-size: 12px; font-family: Arial; font-weight: 700; width:20px' type='button' value='1' ID='Button1' ></TH>
                        <TH Width=30>
                        <INPUT onClick="{ this.form.submit(); }" style='font-size: 12px; font-family: Arial; font-weight: 700; width:20px' type='button' value='2' ID='Button2' ></TH>
                        <TH Width=30>
                        <INPUT onClick="{ this.form.submit(); }"  style='font-size: 12px; font-family: Arial; font-weight: 700; width:20px' type='button' value='3' ID='Button3' ></TH>
                        <TH Width=30>
                        <INPUT onClick="{ this.form.submit(); }"  style='font-size: 12px; font-family: Arial; font-weight: 700; width:20px' type='button' value='4' ID='Button4' ></TH>
                        <TH Width=30>
                        <INPUT onClick="{ this.form.submit(); }"  style='font-size: 12px; font-family: Arial; font-weight: 700; width:20px' type='button' value='5' ID='Button5' ></TH>
                        <TH Width=30>
                        <INPUT onClick="{ this.form.submit(); }"  style='font-size: 12px; font-family: Arial; font-weight: 700; width:20px' type='button' value='6' ID='Button6' ></TH>
                        <TH Width=30>
                        <INPUT onClick="{ this.form.submit(); }"  style='font-size: 12px; font-family: Arial; font-weight: 700; width:20px' type='button' value='7' ID='Button7' ></TH>
                        <TH Width=30>
                        <INPUT onClick="{ this.form.submit(); }"  style='font-size: 12px; font-family: Arial; font-weight: 700; width:20px' type='button' value='8' ID='Button8' ></TH>
                        <TH Width=30>
                        <INPUT onClick="{ this.form.submit(); }"  style='font-size: 12px; font-family: Arial; font-weight: 700; width:20px' type='button' value='9' ID='Button9' ></TH>
                        <TH Width=30>
                        <INPUT onClick="{ this.form.submit(); }"  style='font-size: 12px; font-family: Arial; font-weight: 700; width:20px' type='button' value='10' ID='Button10' ></TH>
                        <font face="Arial"><span style="font-size: 9pt">
                        <INPUT type='hidden'  name="B1">
                        </span></font>
                        </form>
                        
                        
                    </TR>
                    </TABLE>

אם כן ככה נראה הקובץ.
מה שאני רוצה זה שילחצו על המספר והוא ישלח לקובץ מסויים בשם נגיד omg.php
את המספר ID
ואת הבחירה שאני בחרתי בה...
איך אני עושה את זה?
אני הסתבכתי כאן ..
אני פשוט רוצה שאיך שילחצו על אותו מספר הוא יוסיף אותו למסד.
זה העיניין...
תודה לעוזרים (:.

שפה - PHP .

תודה שוב [: .

Davieh 26-04-08 10:39

אני חושב שלמקרה הזה הכי יעיל, נוח ועדיף זה להשתמש ב AJAX ..
בדרך שלך זה מאוד מסובך ובעייתי .. לא עולה לי רעיון מיוחד ..

Oribest 26-04-08 11:06

ואיך אני משתמש בajax?
אף פעם לא יצא לי לעבוד איתו...


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

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