Jump to content

pulpfiction

Members
  • Posts

    1,210
  • Joined

  • Last visited

Everything posted by pulpfiction

  1. This might give you some idea of how to create a login page in ASP.NEThttp://www.daniweb.com/techtalkforums/thread6028.html
  2. But the <center> tag is deprecated http://www.w3schools.com/tags/tag_center.asp Try this img { display: block; margin-left: auto; margin-right: auto; }
  3. Yeah, these images go a really well with the design...
  4. Design's awesome.... i liked the previous font, it was kinda smooth.. ]Guess you alrady have some mouse hover effects in the top navigation...It would be better if you can move the W3C images to bottom next to copyright and even better if you can find smaller image, cos all the text in the website is small and these 2 image kinda look big there
  5. does this work something like craig's list? http://www.craigslist.orgIts gonna be useful, but the tought part is to make it famous. if you see craig's list, website's got nothing fancy design but still many visit the website...
  6. To lift the navigation up try changing padding [bottom]#navigation ul li{ display: inline;padding: 0px 20px 10px 20px;color: #FFFFFF;text-decoration: none;font-size: 14px;font-family: verdana, arial, helvetica, sans-serif; }
  7. Try Eclipse PHP Editor.... www.eclipse.orgIf you need a list of PHP editors look intohttp://www.php-editors.com/
  8. This will list all the files that are hidden in the mentioned path. Dim storefile As System.IO.Directory Dim directory As String Dim files As String() Dim File As String Dim info As System.IO.FileAttributes files = storefile.GetFiles("C:\", "*") Response.Write("These are file is hidden in the given directory") For Each File In files Dim attr As IO.FileAttributes = IO.File.GetAttributes(File) If (attr And IO.FileAttributes.Hidden) <> 0 Then Response.Write(File & "<BR>") End If 'Response.Write(File & "<BR>") Next
  9. Are you looking for this?Dim var As System.Data.SqlClient.SqlDataReaderThis might help..http://aspnet.4guysfromrolla.com/articles/050405-1.aspx
  10. I guess you can use single quotes on the outside and use double quotes without having to use slashes... like below..............}if ($Chara == ""){echo '<p class=bodymd>Universal Online In-game Account Character<br><select name="Chara"><option value="chara1" selected>Character 1</option><option value="chara2">Character 2</option><option value="chara3">Character 3</option></select></p>';}
  11. pulpfiction

    search

    ok i get it now.. yeah what you say is true about getting the query right at the end of IF statements, but as you already had IF statements in your code thought it might work...
  12. Try changing search = Replace(search,"<","") tosearch = search.Replace("<","")
  13. pulpfiction

    search

    Im not sure about what you mean mean by min = 0, but try this...im not that good at PHP so you need to fix the syntax... $pricemin=$_GET["pricemin"];$pricemax=$_GET["pricemax"];if!($pricemin="" && $pricemax="") {$SQL .= "price BETWEEN '".$pricemin."' AND '".$pricemax."'";}else if ($pricemax="") { 'means NO max but has MIN$SQL .= "price >=".$pricemin;}else if($pricemin="") { ' means NO MIN but has MAX$SQL .= "price <=".$pricemax;}'$pricemin="" && $pricemax="" nothing to add the $SQL
  14. Public search As StringYes thats global.. did that fix the error??
  15. This should give you a good idea about stylesheet/CSShttp://www.w3schools.com/css/css_intro.asp
  16. pulpfiction

    search

    Incase of min and max values there are 4 options, you can identify these with if statements...1. missing both min and max - nothing to add to the $SQL, no price constrain.2. contains max / missing min - $SQL .= 'price<='".$pricemax."''3. contains min / missing max - $SQL .= 'price>='".$pricemin."''4. contains both min and max - use BETWEEN '".$pricemin."' AND '".$pricemax."'
  17. guess reason for error is you have declared the variable "search" in page_load(), limited scope of variable... try declaring "search" as global..
  18. pulpfiction

    problem in mail

    Whats the problem, are you not able to send mail using PHP?? please specify....
  19. pulpfiction

    search

    Im trying to answer the second question. since you are already using IF statements to check empty strings, you can use the same for building the SQL Query rather than using wildcard... something like this$SQL = "SELECT * FROM estate WHERE";if($_GET["city"]) {$city=$_GET["city"];$SQL = $SQL . 'city='".$city."'' . 'AND';}if($_GET["state"]) {$state=$_GET["state"];$SQL = $SQL . 'state='".$state."'';}.......................'So in every IF statement build the SQL query..$result = mysql_query($SQL);..........
  20. Yes you will need a database to store, update user information. so SQL is a must....here's a simple example for PHP and MYSQL login scripthttp://php.about.com/od/finishedphp1/ss/php_login_code.htm
  21. try these..www.free-webhosts.comwww.oinko.net/freephp/or for more http://www.google.com/search?hl=en&q=f...t+php+and+mysql
  22. This might give some explanation....http://www.tizag.com/javascriptT/javascrip...elementbyid.php
  23. See we have an example right here..
  24. In case if you need valid break tag its <br /> and not </br>
  25. Try this....var str;for(i = 1; i <= extraValue; i++) { str = eval("thisForm.extraEmail_"+i); if(str.value == '') { alert('Extra e-mail ' + i + ' is required.'); }
×
×
  • Create New...