Jump to content

DatDudeFuddPucker

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutral

About DatDudeFuddPucker

  • Rank
    Newbie
  1. <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="Hybrid.css" /> <style> </style> </head> <body> <style type="text/css"> body { background-image:url("Images/Games.jpg"); color: white; } #menu li { display: inline; } ul { list-style-image: url('Images/controller.
  2. I am using the onmouseover event. What I want essentially is when I put my mouse cursor over an input field, I want a pop up of some kind, in this case I am currently using the alert box, displaying an example of what kind of information I want people to put in the input field. That part works fine. The problem is that I discovered that the alert box has individuals required to hit ok to close the box. I want the alert box to disappear when I click on or remove the mouse from over the input field. I am guessing that I should use something besides alert box but I dont know what. Any help would
  3. <?php mysql_connect("localhost", "root", "1alphabet") or die("Connection Failed"); mysql_select_db("US_States") or die("Connection Failed"); $user = $_POST['user']; $password = $_POST['userpassword']; $query = "INSERT INTO test(name,password)Values('$user','$password')"; if(mysql_query($query)){ echo "inserted";} else{ echo "fail";} ?> so does that mean I would change it to this to make it work? or would i change it to (mysqli) and just leave it like that? <?php mysqli_connect ("localhost," "root", "1alphabet") or die("Connection Failed"); mysqli_select_db("US_S
  4. With the change Don E recommended it worked. I can input the information and it will store in the database. Now another question, can i change to mysqli or PDO in the code and it will work anyway? Or will I have to re-write the code entirely to accommodate those changes?
  5. <?php mysql_connect("localhost," "root", "1alphabet") or die("Connection Failed"); mysql_select_db("US_States") or die("Connection Failed"); $user = $_POST['user']; $password = $_POST['userpassword']; $query = "INSERT INTO test(name,password)Values('$user','$password')"; if(mysql_query($query)){ echo "inserted";} else{ echo "fail";} ?> Ok so on the second line where is says "root" I dont know if this is the correct user name to be using. This is the error i get when i run it. Any help? Parse error: syntax error, unexpected '"root"' (T_CONSTANT_ENCAPSED_STRING) in/hom
  6. <!DOCTYPE html> <head> </head> <body> <header> <script> functionScheduledEvent (evtdate, evtTitle, maxattendees, coordinator, phonenum, email, infour1) { this.evtdate = evtdate; this.ectTitle = evtTitle: this.maxattendees = maxattendees; this.coordinator = coordinator; this.phonenum = phonenum; this.email = email; this.infourl = infourl; } functionPrintEvent (){ document.write (" <p> You have scheduled an event name " + this.evtTitle); document.write (" that will occur on " + this.evtdate + " and allow up to " + this.maxatte
  7. check this site out please davej. Once again I am sorry if I am not describing what I want properly. http://flipp.ca/about/ Notice how the sidebar on the left side of the screen stays there regardless of what is clicked on it? The information or pictures or whatever the buttons link to is displayed to the right of the sidebar without the sidebar leaving the screen or the entire page reloading. This is what I am aiming to achieve. Perhaps it is reloading just doing it so fast I am not noticing it? Either way this is the desired effect I want for my site. Thanks once again.
  8. I see I was not clear enough on my intentions davej. I apologize. I have a side bar. In this side bar I want there to be options you can click on. Based on which option you click on I want the information displayed to the right of the side bar. I understand I am new to HTML and languages and such. Sorry for the confusion.
  9. Ok. I see I have a lot of learning to do. So I need to know HTML to make the webpage, but I also need to learn a java script language in order to manipluate the HTML to do what I want? Am I understanding this correctly? If I am which of the javascript langauges do you suggest I learn? Or rather if multiple are needed to do what I want which should I start off with?
  10. Okay thank you. So in your opinion should I be learning AJAX and JAVA instead of HTML if I want to make a webpage?
  11. Hello, I am new to this site so bear with me please if I ask for help that may have already been addressed in other topics. I apologize. Ok I am new to this HTML thing and I am sure there are far better ways to code what I want done. I just have no idea how to do what I am about to ask. I am sorry I cannot offer any more information on my problem, if anyone can help I would greatly appreciate it. Thank you. I know how to make a sidebar on the page. And I know how to make those options in the sidebar links. What I am confused on is how to make the link open up in the area next to
×
×
  • Create New...