Jump to content

usawh

Members
  • Posts

    34
  • Joined

  • Last visited

    Never

Everything posted by usawh

  1. Hi, I was just wandering is there any good tutorials on how build a car classifieds site ? regards, usawh
  2. Hi, I am looking for a three part dropdown list script using php. For example I would like to have users select a country and then states and then cities. How can I do this ? I would also like the have each dropdown list as a variable. regards, Usawh
  3. Hi, Could it be something with the php.ini file ? Here is the file: register_globals = off allow_url_fopen = on expose_php = Off max_input_time = 60 variables_order = "EGPCS" extension_dir = ./ upload_tmp_dir = /tmp precision = 12 SMTP = relay-hosting.secureserver.net url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset=" [Zend] zend_extension=/usr/local/zo/ZendExtensionManager.so zend_extension=/usr/local/zo/4_3/ZendOptimizer.so
  4. Hi Thanks, I tried to copy your code but it gets jumbled up. regards, usawh
  5. Here is the code <?session_start(); $username = $_POST['username']; $password = $_POST['password']; if ($username&&$password) { $connect = mysql_connect('server','user','password') or die("couldn't connect "); mysql_select_db('hilo102') or die ("couldn't find db"); $query = mysql_query(" SELECT * FROM users WHERE username='$username'"); $numrows = mysql_num_rows($query); if ($numrows!=0) { while ($row = mysql_fetch_assoc($query)) { $dbusername = $row['username']; $dbpassword = $row['password']; } if ($username==$dbusername&&$password==$dbpassword) { echo'you are logged in click <a href="http://www.classifiedsinhawaii.com/Post-Ads/post-ads.php">here</a> to post ad'; $_SESSION['username']=$username; } else echo'incorrect password'; } else die('That user does not exist'); echo $numrows; } else die (' Please enter an username and password !'); ?>
  6. Does anyone know a good reliable hosting company. I am having too much problems with godaddy.com. I would like to be able to use fronpage on the hosting. regards, usawh
  7. I have hosting with Godaddy.Com and I am having problems with sessions. I contacted them and the cannot figure out the problem. Here is the page I am working on http://www.classifiedsinhawaii.com/Login101/login-box.php when you login the session error message comes up. Has anyone seen this message before ? regards, usawh
  8. here is the begining coding <?php session_start(); $username = $_POST['username']; $password = $_POST['password'];
  9. Hi, I am getting this error message with my session login. Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/h/i/l/html/login101.php:1) in /home/content/h/i/l/html/login101.php on line 2
  10. I keep getting this error message. Warning: Cannot modify header information - headers already sent by (output started at /home/content/config.php:1) in /home/content/config.php on line 10 here is the line of code that's causing the problem. header('Content-Type: text/html; charset=UTF-8'); how to I solve this problem . regards usawh
  11. Hi Everyone, I am working on this site http://www.click4hawaii.com but the problem is when they site is minimized everything shifts to the left. How can I prevent this from happening ? regards, usawh
  12. Thank you very much it works now. Usawh
  13. Hi, I tried it but got this error message " Parse error: syntax error, unexpected '=' in /home/content/h/i/l/index2.php on line 7" regards, usawh
  14. Hi, How to I edit this script so that everytime a user go to my site they get a ramdom fixed background. Here is the script.. <style type="text/css"> body { background-attachment:fixed; background-image:url(background_image.jpg); } </style> regards, usawh
  15. Hi Thanks What if I wanted to have random fixed background each time the page is loaded ? How do I go about doing that ? regards, usawh
  16. Hi, I am looking for a picture scroller with forward, back button also with description. regards, usawh
  17. Hi I would like to have a fixed image like this site http://www.to-hawaii.com but only on one side of the page. How can I do that ? regards, usawh
  18. Hi, I am working on the following website http://www.DakineHawaii.com but when I minimize the page the test is not readable. How do I keep the site readable when it is minimized ? regards, usawh
  19. Hi, How do I get rid of the spacing between the tables on my page ? http://www.click4waikiki.com regards, usawh
  20. Hi, Thanks I changed it but it is still showing the border. regards, usawh
  21. Hi, I am working on this web site http://www.click4waikiki.com around the logo is a border. I set the border=0 but it's still show up. why ? help please. usawh
  22. Hi I just saw a great site and I was just wandering how do they get the buttons to do that ? When you move the mouse over it changes colors and has a dropdown. Please let me know. Here is the site http://www.redskins.com Thanks Wedesign beginner
  23. Hi I learning php now. can I do it in regular html ? regards, usawh
  24. Hi Thanks for the code <style type="text/css"> body { background-attachment:fixed; background-image:url(background_image.jpg); } </style> I have 10 different images how do I get the background to rotate to a different image when someone go to a different page or refresh the browser ? regards, usawh
  25. Hi, I tired the code and it works fine but just a few things I notices about the page. 1. The image seems to repeat itself on the page how do I just show one image ? 2. The image loads and then the text. How do I load both at the same time Thanks
×
×
  • 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.