سلام عليكم
اتمنى مساعدتي ياشباب
لاني دخت وانا احاول
عل العموم هذه الصفحة الاولى
واسمها test.php
<html> <head> <title> border maker </title> </head> <body> <center> <h1>Border maker</h1> <h3>Demonstrates how to read HTML form elements</h3> <form method="post" action="border.php"> <h3>Text to modify</h3> <textarea name="basicText" rows="10" cols="40"> Four score and seven years ago our fathers brought forth on this continent a new nation. conceived ..atc. </Textarea> <table border=3> <tr> <td> <h3> Border style </h3> </td> <td> <h3> Border size </h3> </td> </tr> <tr> <td> <select name=borderstyle> <option value="ridge">ridge</option> <option value="groove">groove</option> <option value="double">double</option> <option value="inset">inset</option> <option value="outset">outset</option> </select> </td> <td> <select size= name =bordersize> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">7</option> </select> </td> <td> <input type="radio" name="sizetype" value="px">pixels<br> <input type="radio" name="sizetype" value="pt">points<br> <input type="radio" name="sizetype" value="cm">centimeters<br> <input type="radio" name="sizetype" value="in">inches<br> </td> </tr> </table> <input type ="submit" value="sow me"> </form> </center> </body> </html>
وهذه اسم الصفحة الثاني
border.php
<html> <body> <center> <h1>Your output<h1> <? $thestyle = <<<HERE "border-width: $bordersize$sizetype; border-style:$borderstyle; border-color:green" HERE; echo "<div style = $thestyle>"; echo $basicText; echo "</span"; ?> </center> </body> </html>
تطلع عندي اخطاء
وهذه الكلام الى يطلعلي
اقتباسYour outputNotice: Undefined variable: bordersize in d:\mydocuments\php_test\border.php on line 13
Notice: Undefined variable: sizetype in d:\mydocuments\php_test\border.php on line 15
Notice: Undefined variable: borderstyle in d:\mydocuments\php_test\border.php on line 17
Notice: Undefined variable: basicText in d:\mydocuments\php_test\border.php on line 22
ياليت احد يشرحلي
واكون شاكر لكم