Jump to content

Arsench

Members
  • Posts

    14
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Arsench's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello, Is it possible to write a php code , that after page load file input box will be already selected like c:\test.txt without clicking on brows and select file ? Thanks in advance
  2. Hello my question is about select message from db and display only a part of the selected text, is it possible?Like a search engine output. thanks
  3. Hello, is there any way to update table1.field from table2.field. for example, table1.p_id must be = table2.id. thanks
  4. Thank you friends, the problem is, when Im inserting from the date_field into my db, if Im using dd/mm/yyyy its insert this only even doesnt insert the numbers 0000-00-00,is there any secction to change before inserting date? thanks agaain
  5. Hello, please help me to change the mysql date, its a 0000-00-00 but I want to change to dd-mm-yyyy. Thank you very much
  6. Hello, Im a new in php world and need a advice. The question is, I want to create a db where can show the data like this 1.chp1 2.chp2 ......... till chp14 but every time the chapter numbers are different,there are untill 14 or 20 or 35 and dont want to create a 100 fields for this,is there any way else
  7. Hello dear friends, Im a new in php and need your help to create a php search for my web saite.Please if someone have a one example send me please I dont have a such experience to creat it. Thank you very much.
  8. [quote author=tomfmason link=topic=108770.msg437871#msg437871 date=1158755460] You need to remove the $db from the end of your query... Like this. [code=php:0] $sql = mysql_query("SELECT * FROM links") or die(mysql_error()); [/code] Also, you might want to through in a [code=php:0]or die(mysql_error());[/code] like shown above. This will allow you to see any sql errors that you may have. Hope this helps, Tom [/quote] thank you friend but can see the results .you can see here the sait http://khaarsen.ueuo.com/list.php  its gives a blank page always
  9. HELLO ALL PLEASE WHO CAN HELP ME TO DISPLAY DATA ON THE WEB PAGE.HERE IS CODE BUT IT DOESNT WORK. THANK YOU ALL <?php $username="5543"; $password="123456"; $database="5543"; mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $sql = mysql_query("SELECT * FROM links" ,$db); $result=mysql_query($sql); echo ("<table border ='1'>");   echo ("<tr><td>Category</td><td>E-mail</td><td>URL</td><td>Description</td></tr>");   while ($tablerows = mysql_fetch_row($sql))   {   echo("<tr><td><a href='$tablerows[0]'>$tablerows[1]</a></td><td>$tablerows[2]</td><td>$tablerows[3]</td><td>$tablerows[4]</td></tr> ");   }   echo "</table>";   mysql_close($db);   ?>
  10. thank you very much dear friends realy only you can:) can advise me if i have not only one field for text but many?for example <?php $usr = "29594"; $pwd = "password"; $db = "29594"; $host = "localhost"; if ($_POST["cat, stn, sturl, desc"]) { $SQL = " INSERT INTO links (category, sitename, siteurl, description);"; $SQL = . "VALUES ('$cat', '$stn','$sturl','$desc') "; $result = mysql_db_query($db,"$SQL",$cid); $result = mysql_query($SQL); echo ("New Link Added\n"); } ?> are here any error?Im a begginer and dont know many things.thank you again and again
  11. HELLO ALL FRIENDS.I HAVE A HTML FORM WITH ONE FIELD FOR NAME AND PHP FILE WHERE WHEN TYPING ANY NAME AND CLICKING SUBMIT THE NAME MUST BE INSERT INTO DB.i CANT DO IT AND CANT UNDERSTAND WHY LOOK THE BOTH CODE HTML <html> <body> <form id="nam" name="form1" method="post" action="nme.php"> Name <input type="text" name="nm" /> INSERT <input type="submit" name="Submit" value="Submit" /> </form> </body> </html> AND THE CODE PHP <?php $usr = "29594"; $pwd = "password"; $db = "29594"; $host = "localhost"; if ($REQUEST_METHOD=="post") { mysql_connect ($host,$usr,$pwd); mysql_select_db($db); $SQL = " INSERT INTO adb (Nm)"; $SQL .= " VALUES ('$nm')"; $result = mysql_query($SQL); echo ("New Name Added\n"); } mysql_close($SQL); ?> please help me to correct
  12. [quote author=litebearer link=topic=101226.msg400366#msg400366 date=1153396057] As a start, you might search google for free real estate scripts. http://www.google.com/search?hl=en&q=php+free+real+estate+scripts Play with them, study them, take them apart and put them back together. It will give you a good handle on what you are trying to do and how to do it. Lite... [/quote] Thank you veru m,uch will try
  13. hi just i want in one page private import datas and the users can from the page can search appartments for sale or rent.for example search for  appartment  in valencia 2 room 152m² price 100000  like this and in the page gives a results of search.(with pics)
  14. HI IM NEW IN PHP AND MYSQL (UNDERSTANDING ANY BUT NOT MORE) AND NEED ANY ADVICE. I WANT TO MAKE A WEB SAIT ABOUT REAL ESTATE AND NEED TO PUT PHP FOR SEARCH DATA AND SHOW IT IN WEB PAGE. ANY ADVICE PLEASE?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.