Jump to content

AGazzaz

Members
  • Content Count

    29
  • Joined

  • Last visited

Everything posted by AGazzaz

  1. Hello,I have a website running Joomla and some people tell me that they get some errors like the 404, but until now I did not come across any errors. So I am wondering if there is a software that can check the availability of the website on fixed intervalsalso if possible is there a method to make sure that there are no errors while browsing the website (like the old HTML link checker)
  2. I found what was the problem, it was not the syntax of the query or the name of the table the whole problem was that I wrote$area2 = floatval($_post['area2'];instead of:$area2 = floatval($_POST['area2'];thank you very much for your help justsomeguy, You are the BEST!!!.
  3. I guess it is a syntax error$result = mysql_query("SELECT * FROM price WHERE price BETWEEN $price1 AND $price2 AND area BETWEEN $area1 AND $area2") or die(mysql_error()); Is there a problem with this query?
  4. Hello,I want to enable the user to search by both price and area in the same time by entering price and area rangesuntil now I can search any of those two using "between" but I can not use 2 "between" in one queryIs that possible?If it is not What is the alternative?Thank you in advance
  5. HelloI have a form and I want to restrict users choice to images only but the following code is not working. What could be the problem? <form> <p align="center"> Photo to upload: <input type="submit" accept="image/*" name="photo" /> </p></form>
  6. I do not think what I understood was correct but do you mean that for the 5 drop down lists I have to make 25 querys using If, elseif, else covering all the possible user input chances, or there is another smarter way to do this. my cat variable will look like this$cat = mysql_real_escape_string($_POST['cat']); So my price variable will look like this:$price=floatval($_POST['price']); Thank you for the tips, but my question was how to search a price range from 100 to 200 and I want the query to retrieve the values in between
  7. Hello,I have 5 drop down lists the user should use them to search the website database so he can get the most specific information possiblethe first two lists are populated using php and mysql the rest is htmlThe first problem is: The first entry in all these menus is "All" so if the user leaves it without changing this means the whole column will be searchedand if all the fields are left this means all the entries in the database will be displayed $cat=$_POST['cat'];$price=$_POST['price'];mysql_connect("IP", "USER", "PASS") or die(mysql_error()); mysql_select_db("amaar") or die(mysql_error()
  8. Thank you justsomeguy That very was helpful and very simple
  9. Hello,I have a folder called menu containing html files that are included in the page using php scriptie:<?php include("menu/index.html") ?>so now I have a Central location for my menu but if there is a file in any folder other than root i will get "404 Not Found" when I click on any link in this menuIs there is a way to solve this problem other than creating a menu folder for each level?Thanks in advance.
  10. Hello,i am using a program called rekall on linux to view a database and also the table was created using this program.most of the data in the database are in Arabic and rekall views the data in an acceptable manner with some errors but without any configurationbut when I tried MySQL Query Browser on windows and several other programs including navicat, toad, heidiSQL all the arabic data was not viewable except the data in blobs which can be exported to extenal files The website encoding is [ar-eg] and [utf-8]I want to view the arabic data stored in the table using a windows program which will
  11. Thank you very much for your help justsomeguy but unfortunately it did not worki even tried to put a gif with different width sizes but still no luckit seems that the menu refuses to move any where before nearly 350 px from the right side of the menui also tried to change the right and left css values in different classes but still no luck
  12. well that's a good point but i would like to tell you that i did not get the correct password for this website until this morning so i thought that the best thing i can do then is to upload a zip file.any way the website is www.elamaar.comthe language is arabic so if the page is corrupted use arabic encoding to view it correctly and i think tha UTF-8 would do a fine job toothe top and the bottom portions of the page are php scripts just to centerlize managmentthe website is made with Quanta plus, blue fish and some notepad like programsjust open this link in firefox and any other browser you
  13. I can see tha t people here do not trust external download files so i will put the code hereThe html code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>REAL ESTATE FREE WEBSITE TEMPLATE</title><meta http-equiv="Content-Type" content="text/html; charset=ar-eg" /><meta http-equiv="content-type" content="text/html; charset=utf-8" /><link rel="stylesheet" type="text/css" href="style_main2.css" /></head><style></style&
  14. AGazzaz

    Horizontal Align

    this is the full CSS2 Referencehttp://www.w3schools.com/css/css_reference.aspand it is not listed in there you may take a look if you want
  15. hi,the website i am working on looks perfect on IE6, opera, konqueror(Linux) but the links are very close and crowded together in firefox only either on windows or linuxthe following link is a zip file contains a html file with only the header of the page and the associated style and two screenshots for the menu on two different browsers on my computerhttp://s1.quicksharing.com/v/7447409/firefox_error.zip.htmli hope i have provided enough information and any help is appreciated
  16. thank you for your reply just some guyi have already reached that far but what i was asking about (probably i did not make it clear) how can you get the images used in the css menuif you take a look at the code you will find some images like this one;background:#d1e1ce url("bg.gif") how can i get those images because they are what really make the menu look goodand thanks again for your replyps:sorry for the misleading title i was nearly sleeping when i wrote it
  17. Hello,i like this menu on the cssplay website but i haven't been able to download it until all i what i can have is a bunch of ordinary links listed under each other and when it got better i did not get the whte buttons on tophow can I get the code of this menu?
  18. thank you aspnetguynow i have apache, php and mysql installed on my computer and ready i just need to know how to use them :)i guess this is the first thing to do in the morning (2 am here)Thanks again for your helpps: I forgot all about my signature , but i did not expect it to be this easy on linux
  19. Hello everybody,i want to design a website about real estate and all i did before is html and css with nothing moreusers should have the ability to upload pictures and data so other users can search them and of course they need to search the data i add my selfthe example i should be following (please do not care about the language just the functionality)the upload pagehttp://www.elforsa.com/ad.aspthe search pagehttp://www.elforsa.com/search.aspnow where should i start and what languages and programs i will need to use any help is appreciatedthanks
  20. i am using Quanta Plus and NVU both on linuxbut i would like to know which of those programs provides this feature(Quanta)but i would like to know if any other programs -on the list or not- provide that auto complete feature specially linux programsand of course I like KATE too
×
×
  • Create New...