Jump to content

yomanny

Members
  • Posts

    36
  • Joined

  • Last visited

About yomanny

  • Birthday 04/04/1988

Profile Information

  • Gender
    Male
  • Location
    Stockholm, Sweden
  • Age
    24

yomanny's Achievements

Newbie

Newbie (1/5)

5

Reputation

  1. You're ending the table with </table> inside of the while-loop but you don't start any <table> in the loop. Might that be the problem? Move </table> outside of the loop and make sure there's a <table> tag before the loop aswell. Also, you can remove this condition: && $i<$num_rows The loop will stop when it's gone through the results from the query. - W
  2. Hi, I think what you're looking for is CONCAT, read more about it here http://www.plus2net.com/sql_tutorial/concat.php Hope you work it out! - W
  3. I'm not sure what you mean, use a div tag to save an image on the server? Confusing. Anyway, usually you save the image on the server and in the database you save the filename (and the path if you wish). No idea what you're really talking about, but read up on how to let users upload an image to the server. A quick google search gave me http://www.tizag.com/phpT/fileupload.php - W
  4. Ok, by automate you mean that when the user visits the page some radio buttons should be automatially checked, so the user doesn't have to do it? In a radio button you can add checked within the tag, like so: <input type="radio" name="topic" value="WO" CHECKED>Wohnen<br> You can also add disabled to make it impossible for the user to check it. - W
  5. It doesn't seem to have any ID actually. I assume you mean an ID for the whole form? I see no <form> tag either! - W
  6. Just tried your code out, but I don't really understand what you mean by "a gap". I see no gap? Please elaborate and I'd love to help you.
  7. You could send them to a page called exit.php and along with it send a parameter with the new URL, like this: confirm.php?url=http://yahoo.com Then, in exit.php you fetch the url, something like: $url = $_GET['url']; echo '<a href="' . $url . '">Click here to leave my website.</a>'; Hope it helps! - W
  8. Perhaps it's failing at this line, and therefore redirects you to ./index.php ? // login check try { JSON.parse(data); } catch (e) { location.href = './index.php'; return; } - W
  9. Grab the IP with the $_SERVER variable and store it in a database with a counter which you just increase for every visit.
  10. Add a CSS rule to the <tr> in case it should be bold, like this: <tr style="font-weight: bold;"> But if you plan to style your stuff more later on, read up on CSS and create classes in .css files instead. - W
  11. In radioform.php on line 9 you must also tell the script where to send the form data (should be simplescript.php) with action="simplescript.php" So edit the line to the following: <form action="simplescript.php" method="POST" enctype="application/x-www-form-urlencoded" name="radioenquiry" id="radioenquiry"> - W
  12. It's recommended to use tables when creating HTML styled emails, also keep in mind that images won't show in lots of email clients (e.g. Gmail). Different clients also handle CSS differently, so if I were you I would just throw together a basic HTML table with some background and text colors. - W
  13. Can you please put the code inside code tags so it's readable? (the <> icon in the WYSIWYG editor) =) - W
  14. Just Google and you'll find tons of plugins for it. If you like Ketchup I'm pretty sure you'd enjoy the Ketchup jQuery plugin, it seems handy: http://demos.usejquery.com/ketchup-plugin/ /Andreas
×
×
  • 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.