Jump to content

ramram

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ramram's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Try TinyMCE http://tinymce.moxiecode.com/
  2. I want to only close few Tags in the middle of my page. So when i run the command DOMDocument, It prints the DocTYPE twice which is useless to me. Can someone please help me How I can fix this? codepad: http://codepad.org/S7f9ea3B <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Sample Test Page </title> </head> <body> <p><?php $doc = new DOMDocument(); $doc->loadHTML("<html><body>Test<br></body></html>"); echo $doc->saveHTML(); ?> </p> </body> </html>
  3. I have a table that is something like this: (table name: sites) ID----FileName-----FileAddress----About 1----website1-------google.com----Seach engine How can I make a code in such a way that it can be like: Display all of the FileName in an alphabetical order on file.php that links to their further information page. i.e FileName=website1 links to /file.php?sites=website1 Now when someone clicks on that /file.php?tablename=FileName It will show for instance /file.php?sites=website1 And then in side it, it will show About section of website1
  4. Hey guys, I have three fields in mysql. First one is id which is auto increment. second one is the first name and last field is last name. I want to display only one field at the time in php how can I just show id number 5 in a specific page?
  5. I need help to set-up my MySQL database using php I am trying to make a download.php which would let users to download files after 5 seconds. The only problem is that my /download directory has many sub directory. For example if someone wants to download FireFox, then firefox.exe is located in /download/FireFox/firefox.exe and I want somewhat like this www.domain.com/download.php?fileid=firefox.exe as an output URL to download. I know that I can use MySQL and setup a nice database to do something like this as long as fileid is unique. Any ideas on how to setup the MySQL database so that I can easily add multiple files from different sub directory at the same time. Thanks for reading the topic. Have a good one.
  6. OK. SO this will a my very first project. It's very simple but since I do not know any mysql stuff. I need to make a database with following three items. 1) City Name 2) Country in which city is located in. 3) City's Zip Code That will be the MySQL part. On the php section. I want to make a search.php page in which you can type any of the above and it will return a small table with all of the values. For example. If in my database. there were: San Fransisco, California, 95001 San Jose, California, 95111 new york city, new york, 10111 and in the search.php's search box if I was to type 10111. The results will return me New York City, New Youk, 10111. Contact me for more info. Thanks and have a peaceful day.
  7. [!--fonto:Verdana--][span style=\"font-family:Verdana\"][!--/fonto--]I want to make one download.php file. So if someone wants to download a file, the URL address would be somewhat like this [a href=\"http://www.domain.com/download.php?filename\" target=\"_blank\"]http://www.domain.com/download.php?filename[/a] instead of [a href=\"http://www.domain.com/directory/filename.exe\" target=\"_blank\"]http://www.domain.com/directory/filename.exe[/a] I have no idea what so ever to make such file so pleas post all comments a long with the code. I really appreciate your help.[!--fontc--][/span][!--/fontc--]
×
×
  • 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.