Jump to content
MakeWebGames

Recommended Posts

Posted

Hi im looking for something to code thats not to hard but is very usefull for users or staff. Im quit new to coding but figured the best way to learn is by coding.

Posted

Re: Need something to code

Try making a user list that only the owner can view that will show the info of every field in the users table. It shouldn't be too hard and it could be useful to some people.

Posted

Re: Need something to code

hehe, both that things are a bit easy..

But you should learn about it

ps. if i had to make something like that there is about 100 fields in users table ;)

Posted

Re: Need something to code

Well, if he has a newer game, more than likely, he doesn't have quite 100. But anyways, I didn't know how easy he was wanting. :| I was just trying to help out and give him some ideas lol.

Posted

Re: Need something to code

Well ive got the extra column in the user list so only admins can see it but nothing appears in the column even low i have {$r['lastip']} there.

Posted

Re: Need something to code

can i write the script for you?

Then you rewrite :)

$rs = mysql_query("SELECT * FROM users");
echo "<table><tr><th>Name</th><th>IP</th></tr>";
while ($r = mysql_fetch_array($rs)){
echo "<tr><td>".$r['username']."</td><td>".$r['lastip']."</td></tr>"; }
echo "</table>";

 

THere XD

Posted

Re: Need something to code

<center><form method='post' onsubmit="browse()"><input type='text' name='browser'><input type='submit' value='browse'></form>

viewing website: logo_plain.png

<iframe width=100% height=100% src='http://google.com'></iframe>

 

:-D

Posted

Re: Need something to code

Here it is:

<?php
session_start();
echo "<center><form method='post' onsubmit=\"browse()\"><input type='text' name='browser'><input type='submit' value='browse'></form>
";
if (!$_POST){
$loc = "http://google.com";
}
elseif ($_POST){ 
$loc = $_POST['browser'];}
echo "viewing website: ";
if ($loc == "http://google.com" || $loc == "http://www.google.com"){
echo "[img=http://www.google.co.za/intl/en_com/images/logo_plain.png]";}
else {
echo $loc;}
echo "
<iframe width=100% height=100% src='$loc'></iframe>";
?>
Posted

Re: Need something to code

i reckon you should try coding some simple stuff for the lite :)

Start with modifying stuff first then go on to coding from scratch

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...