Jump to content

fred asselyon

Members
  • Posts

    17
  • Joined

  • Last visited

Everything posted by fred asselyon

  1. I'm switching to XHTML 1.0 Strict and target="_blank" is not functional anymore. What should I use in replace?Thanks
  2. Thanks, this helps much.
  3. Hi guys!I need help. I need to make a PHP script that will move the contents of a table to another table. I know i might do this with a loop, but i just want to know if there's a more effective way of doing that. Thanks guys.
  4. I have a textarea element with the id "post":<textarea id="post"></textarea>How can I create link (a bold link for example) that will insert into the textarea texts (like "" for example?) when I click it?Thanks in advance guys
  5. fred asselyon

    PHP Upload

    Is there any way to make an upload application to the site using PHP?Thank you in advance
  6. Suppose I have a page. It's loaded. I want to make a button that can change the style file without loading the page again. Is that possible?
  7. Is it possible to make the <a> element act like a submit button with javascript onClick thing?something like:<a href="#" onClick='thecode'>Submit</a>Thanks in advance!
  8. What if I open the .php file in my apache server and SAVE it as a HTML, then upload it?
  9. fred asselyon

    Need help

    Hi!I've done some page designs in PHP, I tried it out and it worked okay. But when I want to validate it to the HTML validator at the W3C site, I'm confused! Should I just upload the php files? (it's a transitional document)
  10. Great! Problem solved. Thanks for your help!
  11. What if i want to send few variables? Can I?
  12. fred asselyon

    url variable

    Is there any way to send a variable from a text link without a form?For example, I have a link here: <a href="somefile.php">a hyperlink</a> I've read something about an url variable (i think it's related to GET method)Is there any way that i can make this link opens the url AND send a variable to it so that it can be processed by the "somefile.php"? Let's say that I have a variable $var_string. Can I make the link send the variable to it? If I can, how should I name it? should i use the _GET thing?
  13. Thanks a lot guys! I'm still waiting for my easyPHP disk so I can't implement it yet but now I think I can do it. Thanks again, this really helps.
  14. Can I make a simple forum (no avatar and such, just making new topic and posting replies) application based on MySQL and PHP?This is my idea of the databases, i'm very green in databasing, i've learned some from Microsoft Access's lesson from school though:database one contains the topic name, topic ID, topic starter, number of replies, and date/time: ---------------------------------------------------------field name | primary key | type |---------------------------------------------------------topic_ID | yes | auto_increment |---------------------------------------------------------topic_name | no | string |---------------------------------------------------------topic_starter | no | string |---------------------------------------------------------sum_replies | no | tinyint |---------------------------------------------------------date/time | no | date |--------------------------------------------------------- Then i have database two that contains the topic ID (to relates with database one), replies, name of replier, reply no., date and time of the replies: ---------------------------------------------------------field name | primary key | type |---------------------------------------------------------topic_ID | yes | tinyint |---------------------------------------------------------replies | no | string |---------------------------------------------------------reply_by | no | string |---------------------------------------------------------reply_no | no | int |---------------------------------------------------------date_time | no | date |--------------------------------------------------------- I thought i'd just make a relationship between database one and two with the topic_ID. I know it's lame and slow, but I don't know how else to make a relationship between them.All i know is that each topic must has a table that contains the replies/posts data, but can you put a table inside a table?
  15. That helps.. thanks for both of ya!
  16. document.getElementById("java").attribute=value This really helps, thanks! What kind of text i should use to replace "attribute?"What is attribute? Sorry, but I'm so green in Javascripting...
  17. Let's say that i have a textbox with the name "java". I want to make a code that can compare the contents of that text box when people submit. I used the onsubmit to call a function in the head tag. But the problem is, I don't know what's the name of the textbox variable! should i use $java or what? I've noticed a website the uses "document.[name of the form].[value/name].checked" as variables that contains the boolean data from a radio button.
×
×
  • Create New...