Jump to content

w4seem

Members
  • Posts

    18
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

w4seem's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. do i change: <form method="post" action="test2.php"> and direct it to the same page and then have the hidden tag? does the hidden tag replace my submit tag or is it in additon to it? could you explain the hidden tag a little please so i understand it better. ill google it also and see what i can find. thanks
  2. ok i guess theres a quick answer to this one hopefully, i have a search field on a .php page. i want to return the results on the same page i.e i dont want the action to point to test2.php but test.php which is were my search filed is sitting at the moment. how do i do this? i got this on my first page: <form method="post" action="test2.php"> Name: <input type="text" size="10" maxlength="40" name="name"> <br /> <input type="submit" value="Send"> </form> and this on the second: <?php $name = $_POST['name']; if ($name=="Friday") echo "Have a nice weekend!"; elseif ($name=="Saturday") echo "Tomorrow is Sunday!"; else echo "Please enter Friday or Saturday"; ?> thanks
  3. just another question plz... should i have my website on the same server as the db ? if i keep it seperate willit be more efficient? hmm i guess its financial issues too but ill take he hit if its worth it.
  4. this is all great feedback, im testing it out now and will give feedback, thanks guys.
  5. ok guys im trying to optimise my scripts to run faster, i need some help (noob) :(. im using phpmyadmin to access my info. here goes.... 1. is it better to have all my tables under the one database, or better to have multiple databases? 2. most of my columns are varchar 255, is this ok or is char 255 better? (size isnt an issue, only speed) 3. how do i index my database? iv read up on this but still a bit lost... 4. in phpmyadmin i ran a simple search SELECT * FROM `searchbooks1` and the query returned results in 0.0009 sec but when i do this through my website, i.e search for books, it takes ages, is this a server issue? ok, thats it for now, unless there is anything i missed that will speed up my site. the site is studyleave.com (mentioned previosuly) any help would be very much appreciated. thanks
  6. Indeed the slowdown is only present when you search for something in the database. The database file is originally a txt file which is couple around 250 megabytes (around 500,000 book titles, price, isbn, description etc) also indexes are in place, im not sure how to optimize my query? please help.
  7. www.studyleave.com its basically a book shop. thanks
  8. hi all, im struggling to find out whether it is the coding or the server which is slowing my site down. whenever i search for anything on the database it seems to run slow, but im informed that the coding is not the problem? is there anyway i can check to see what is causing the slow down?? im new to this so basic explantion would be helpful. the site is...
  9. could someone please help me with this? its driving me nutz!
  10. just to explain it a bit more im only getting this problem after i filter the results from my search page. when i do it without any filteres it works okay. thanks
  11. Can anyone help me with this? I have my recordset set to display five records at a time with the repeat region behaviour. But when i try to navigate through the records with the recordset navigation bar, it doesnt show the correct results. Is there something simple im doing wrong? Thanks in advance.
  12. im trying to import an image as blob data, but i think dreamweaver doesnt support this. i have tried using a file path and it works fine, this is probably the best way to do it anyway i think since the database file size is not compromised and is much smaller.
  13. Im not sure what im doing wrong or if it can even be done, but im trying to insert an image in to dreamweaver from my databse which has been done using phpmyadmin. Im not sure if dreamweaver supports this, if it doesnt is there another way? Thanks
  14. i found the answer guys, you can tell im new, i inserted the wrong php code into the run tie value, once i fixed that it worked fine. 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.