Jump to content

Funce

Moderator
  • Content Count

    535
  • Joined

  • Last visited

  • Days Won

    18

Funce last won the day on January 16

Funce had the most liked content!

Community Reputation

40 Excellent

4 Followers

About Funce

  • Rank
    The Lookout
  • Birthday April 24

Previous Fields

  • Languages
    HTML, CSS, JavaScript, PHP, SQL, BYOND(DM)

Profile Information

  • Location
    New Zealand

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Try using z-index for this one. Higher numbers go on top of lower ones.
  2. Give "MySQL Community Server" a try, and you'll be able to choose your OS after that.
  3. You could try inspecting the element in your browser and see what styles are applied to it. Might be some margins applied that you can't see.
  4. Funce

    Node and Mamp?

    Hey there, its all technically possible, and there are many solutions out there for merging technologies. If you can activate MySQL on its own, without any other webserver running, I don't believe it would be any different from accessing any other MySQL Database inside Node. I'm pretty sure Node won't know the difference either.
  5. So does your Database have the values 'Grognak', 'White', 'Ice Blue', 'Strength', and 'Charisma' in it? If it does, your script is currently working the way its written. Your SQL query will need adjusted to include the variables rather than those hard coded strings, you've put in. You might be interested in something called "Prepared Statements" for safe passing of data. Here's one of my examples I like to use: <?php //This line is for highlighting on the forum, just make sure the code below is inside a php block //PREPARED STATEMENTS - FUNCE //INSERT EXAMPLE $string_var = "String"; $double_var = 3.5; $int_var = 45 $sql = "INSERT INTO table (column1, column2, column3) VALUES (?, ?, ?)"; $stmt = mysqli_prepare($link, $sql); mysqli_stmt_bind_param($stmt, "sdi", $string_var, $double_var, $int_var); mysqli_stmt_execute($stmt); mysqli_stmt_close($stmt); Here's the Documentation on what I've used (Procedural Style is the one you want to look at) mysqli_prepare mysqli_stmt_bind_param <- The important one mysqli_stmt_execute mysqli_stmt_close
  6. If you use position:relative on the div that holds the image, then you can then use position: absolute on the Price and the status and use the combination of the bottom, left and right styles. Take a look at the CSS positioning tutorial for more information.
  7. Funce

    Tab Menu

    You've lost some code to the automatic forum formatter. Please edit your post to use the code block feature.
  8. Oh! I tried looking at this quite in depth. Prepared an answer, wanted to think on it a bit more, because that should be false. Went and got a coffee. And now: You're using a single = (assignment) instead of the == (loose equality) or even === (strict equality). Do you find that when you run it, it actually turns the cell blue?
  9. Funce

    html links

    The HTML exercises naturally cross into CSS. The specific tutorial for reference is: https://www.w3schools.com/css/css_link.asp
  10. You might do, although you may want to look up terms you're unfamiliar with. If you have any further questions about it, you're always free to ask here.
  11. You should be able to find the CSS appropriate by looking for the keyword "@media print". Looking at the Wikipedia page sources, all of the CSS pages come out of "load.php", so you'll probably want to take a look at the styles from that.
  12. You might be able to emulate the AJAX request in an online IDE. Like Repl.it
  13. Did node say anything after that? Any errors? Did you keep the terminal open? Node runs as a process inside that, so if you close it, no more server.
  14. Can you give any examples of what you'd like to see on the HOW TO page?
×
×
  • Create New...