Jump to content

bubbasheeko

Members
  • Posts

    166
  • Joined

  • Last visited

    Never

Everything posted by bubbasheeko

  1. lol...okay...i was just going to say that lol
  2. Ya sorry I couldn't give you any more help than that Maybe I will find something relevant tonight.
  3. I would stick with numeric. The ID should be unique. Artists name or something like that would come across duplicates at some point and time. With mysql the ID can be automatically incremented so there would not be a need for a text field on the form.
  4. I may have a solution....but I need to see both tables.
  5. I agree, if you use Dreamweaver it does not color the div tag as being valid when it is contained with an option tag.
  6. Hi rojo, Could you include the mysql query that you are attempting to use.
  7. This has been a question asked by many it seems. Apparently you can't do it. Especially if you are the admin of the website and not the admin of the page in the iframe.
  8. Do you run the 'rotation.com' page?
  9. Hi rarebit, You can apply it to the whole "row" just not the letter X. You would incorporate the swatch via an id or class tag on the option tag.
  10. Hi ds111, You can try one of the following two options: document.body.innerHTML="" or location.replace("about:blank") That's a start, you should be able to use document.write to put the error or whatever you want on the screen from there.
  11. Hey moogle, First, make your checkbox ID's unique. ie. id=<? echo $info['id']; ?> Second, the code to remove the checked items. $checkboxes = implode(', ', $_POST['checkbox']); // TO ALLOW US TO USE ONLY ONE MYSQL STATEMENT $delete_query = "DELETE FROM log WHERE id IN ($checkboxes)"; $mysql_query($delete_query) or die(mysql_error()); Give that a shot (make a backup first )
  12. If rotation.com is in a frame on mysite.com - simply get the mysite.com address by placing this into a variable outside of the frame: $_SERVER['SERVER_NAME']; If that is what you mean :S
  13. Hi Vizionz, This sounds like a school assignment...I remember doing something very similar. Unfortunately we can not just give you the answer I will give you a shove in the right direction. Linking can be easy, but time consuming because of all the different queries on each table. Remember each table will need to relate to each other - make sure that when you make your tables you incorporate the artistid in each table. That will give you the ability to find what you are looking for in the other tables in regards to a selected artist. I will leave the rest to you
  14. Hey avelonz, This one is quite simple in a way. Basically, you will write the script to add the name and the number 1 (make sure your table field for points is set to be an INT) to the database. Each time the form is submitted it will first check the database. It will do a query on the name gathering the point column for the each entry of the name. It will then (this is why it is important to make sure it is an INT) add the points together. Then check to see if that total is 30. If it is - open the new form. If it isn't it will just show the original form again and add the name and the 1 point to the database. This sounds like a school assignment so I have given you a walk through as to how it should work...you can do the coding Hope this helps you out without giving out too much info.
  15. I started a response to this and then I started to wonder if the syntax of your update was correct. What is the update script doing here?
  16. You mean you want to have your website pull the pictures directly from your computer and not the server? Well technically you would need to store your pictures on your server. So for it being a local server - you would need to have a directory within the folder/directory structure of the web server running on your computer. Your locally ran web server would have no 'rights' to browse outside of the 'server realm'. That would be a huge security risk. There are ways that you can browse your computer locally and upload the file to your server folder, but this is not what you are looking for.
×
×
  • 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.