Jump to content

klapy

Members
  • Posts

    17
  • Joined

  • Last visited

klapy's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. I've seen a couple of these games. There are a lot out there and basicly this isnt anything new and will be very hard to make money with...You should try to do something new like: http://games.swirve.com/UTOPIA/utopia has been around for some time now, but I have never seen any games that looks like this one. That also explains why the maker is a miljonair by now
  2. What I want to do is make a form with some checkboxesAs soon as 1 of the checkboxes is clicked I want to post the form so I can get the value of the checkbox through php and put that in a database.edit:... Hmm I got the title wrong anyone who can change this
  3. klapy

    LIKE problem

    What I want to do is insert all old entrys of a certain table into another table...I tried a lot of things, nothing works.Something like this should work, but it doesnt.SELECT *FROM tblAVWHERE tblAV.[Datum uitleen] LIKE '%2006';Date is formatted like: d/m/y and I want to move ALL entry's of a certain year to another table.
  4. As an adition to the post befor me, you are already getting every member from the database, what you could do is to get the userid (1,2,3,4) of a user, and name the checkbox the same as the userid!After this you can make a query that looks something like:mysql_query('DELETE player FROM `members` WHERE userid = "'$userid.'"')
  5. I shall take a look at that.... I might be because the page is generated by a php script that the first <div> got caught up in a loop somewhere...It's a bit strange though I passed w3c validation everytime....I editted the problem with the <div> tags out I think...But still the page isnt displayed correctly... There is a break between the <div class=head> and <div class=body> on the login page, I cant figure out where that comes from... It still has something to do with the <table> and <form> tags...If I place the <form> within the <table> it is displayed correctly, but (bloody) w3c says that <form> elements may not be placed within <table> elements... So that would make the page w3c invalid and I dont want that!
  6. http://klapy.no-ip.info/index.php?page=loginEvery page works fine, all pages are displayed with the same code, but somehow the Login page has a problem...I discoverd that the problem is the [form] element...When I remove it everything is fine, the problem is, I can't post the login data then....Also placing the form element inside the table element seems to work as well, BUT that wouldnt be w3c valid..... Anybody got a solution for this?<div class="body"> <form name="login" method="post" action="***"> <table> <tr> <td width="10%">Username:</td> <td width="90%"align="left"><input class="txtbox" type="text" name="***" maxlength="20" size="20" /></td> </tr> <tr> <td width="10%">Password:</td> <td width="90%" align="left"><input class="txtbox" type="password" name="***" maxlength="20" size="20" /> </td> </tr> <tr> <td><input type="submit" name="***" class="input" value="login" /></td> </tr> </table> </form> </div>
  7. klapy

    PHP Connections

    This is not a problem with your browser, if IE wants to download the php document that mostly means that your webserver isnt configured correctly!
  8. klapy

    error with sessions

    I never had this error, but you might want to try it without using session_register()Just use $_SESSION = ;edit:Ah you discovered that already
  9. Saving it to an external server can take some time, most editting software shows when the saving is done. When a page is editted it get's a * behind the name in it's tab. When the page is done saving that * is gone...After press f5 in your browser and if you dont see a change their is indeed a possibility that IE or Firefox cached the website, you can empty the cache by pressing ctrl+f5
  10. klapy

    Outline problem

    I finished the A / a part, I overlooked something in my pageloading (the ?page=) part. I forgot to close the loop and it basicly looped through the entire if loop everytime....Thanks for your help!It looks like this: if($_GET['style'] == 'large') { setcookie('large', '1'); header("Location: $refer");}if($_GET['style'] == 'small') { setcookie('large', '0'); header("Location: $refer");} the head part in between and then: if($_COOKIE['large'] == '1') { ?> <body class="large"> <?php } else { ?> <body> <?php}
  11. klapy

    Outline problem

    thank you for your help it indeed works :)Another question... What exactly does color:inherit do?And yes I was indeed editting it, I was trying to get the A / a function to work properly, but I'm overlooking something
  12. klapy

    EasyPHP help.

    That's probably because echo doesnt display text and variables at the same time, you should try it like: echo "Thank you for ordering tires" . $_POST['name'] . '! <br />';echo "You ordered:" . $_POST['tireamt'] . "<br />";echo "Your adress is:" . $_POST['city'] . "<br />" . $_POST['state'] . "<br />" . $_POST['adress'] . "<br />" . $_POST['zipcode']; The <br /> tags are there to sanitize it a bit
  13. I'm just starting to build another 1 of my own webpages... For anyone one that's interested it is going to be a weblog/portfolio of everything that I do / have done....I'm just working on the best layout out at the moment, I found a nice one but somehow the right side isnt outlined correctlyThe top banner part is just a pixel longer than the home part.... I have no idea how I can fix this. edit: this is hosted on my own webserver on a normal internet connection so it might be slow!!Link: http://klapy.no-ip.infoCode: <table width="100%"><tr><td><div class="pageheader">klapy.no-ip.info</div></td></tr></table><table width="100%"><tr><td align="left" width="10%"><div class="top">Navigation</div><div class="body">Test <br />blaat <br /></div></td><td align="left" valign="top" width="90%"><div class="top">Home</div></td></tr></table></body></html>
×
×
  • Create New...