Jump to content

Matthias_

Members
  • Posts

    18
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Matthias_'s Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Small sidenote, why isn't INSERT big? If you want to make the keywords big, make them all big .
  2. $sClass = "system/controllers/{$id}_Controller.php"; include ($sClass); Try that?
  3. If you have values in an URL, you need to use $_GET to retrieve the values. $_POST isn't in the URL.
  4. Hmm, maybe use $_POST to send the string in the image?
  5. SQLite is a local database, MySQL is an external (or local) database.
  6. $query = "select artist from lyrics where artist like 'a%' order by artist ASC"; $result = mysql_query($query) or die ("Error in query: $query . " . mysql_query()); if (mysql_num_rows($result) > 0) { while ($row = mysql_fetch_object($result)) { echo "<a href = \"somepage.php\">$row->artist;</a>"; } } else { echo 'No Content'; } Not sure if it is echo "<a href = \"somepage.php\">$row->artist;</a>"; or echo "<a href = \"somepage.php\">$row->artist</a>";
  7. $query_accommodation="SELECT * FROM accommodation WHERE lat > '($base_lat - 0.2)' AND lat < '($base_lat +0.2)' AND long > '($base_lon - 0.2)' AND long < '($base_lon+0.2)'"; That should work.
  8. Well, PHPFreaks wouldn't earn money since the members answer the most questions.. + what's wrong with how it's now? You get a fast answer 90% procent of the time
  9. Then why not use what I said? I use it too on my sites, it's not errors on a white page. I just echo all the rest again, with the errors in it. It looks pretty cool to be honest.
  10. Hmm, why not use: $errors = array(); $errors[] = "Error1"; $errors[] = "Error2"; etc.. then foreach($error as $errors) { echo $error; }
  11. Ah I get it now, thank you lol.
  12. Thank you for your replies!
  13. Hello, http://kiwi.wesleylancel.nl/matthias/Site/ Basically, I just want opinions about the site, the layout, the coding... whatever. If you feel like any changes should be made, reply please! (I don't have a domain yet, I'm planning on buying one as soon as my site is 'done'). I'm sorry if it's not too good, I'm only 15 . Thank you for reading, Matthias
  14. Matthias_

    Ruby

    Thanks for the replies!
  15. I mean a full list, but thank you.
×
×
  • 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.