View Full Version : Any One Boared and want to make these?
Well, I Need a system where our Radio Managers can add a DJ, and it adds it to the staff page, and I Need A Rare Value System. Where rare valuests can Edit the values, can any 1 make them :D
Jackboy
15-09-2006, 09:03 PM
Yeah i can make a rare values system. Coz i cba to do the other one...
Shall i PM you one of post it?
Yeah i can make a rare values system. Coz i cba to do the other one...
Shall i PM you one of post it?
Yes (Didnt understand 'one of post it' but ok :D
Jackboy
15-09-2006, 09:05 PM
i mean "or post it" lol
oh rite lol, any of them, up to u :D
Jackboy
15-09-2006, 09:22 PM
Ok. Please note i havn't checked it :P
Also. I detest you for using a techtuts user system :@
This is coding off the top of my head. No positioning just plain pages etc.
Now.... Providing you know how to add databases and tables to mysql please do the following:
Do a Database called rares
Then please add a table called values
In that table have these rows:
Name
Image
Value
Just use your db file you got. It'll do fine i reckon.
Righteo then, so we're not using sessions, we're using cookies :@ #
Heres the display page:
<?
ob_start();
include("config.php");
$values = mysql_query("SELECT * FROM values");
$final = mysql_fetch_array($values);
echo ("
<CENTER><B>Rare Values</B></CENTER>
Name: $values[name]<BR>
<img src=$values[image]><BR>
Value: $values[value]<BR>
");
?>
Now thats the display page... Please note that the image section in the database is the name of the file. Please change the URL in the display page....
Heres the insert page... just create a new user level for Rare Values Reporters? Coz i cba to code another user system :p
<?
ob_start();
include ("config.php");
if (!$logged[username] = '5'){
echo ("You are not authorised to view this page");
}
else
{
if ($_POST[submit]){
$name = $_POST[name];
$image = $_POST[image]
$value = $_POST[value];
$insert = ("INSERT INTO values (name, image, value) VALUES ('$name,'$image','$value')
}
else
{
echo ("<FORM method=POST name=submit>
Name:<input type=text name=name><BR>
Image:<input type=text name=image><BR>
Value: <input type=text name=value><BR>
<input type=submit>
");
}
}
?>
And thats it mate i think lol.. I probs made a few muffups....
Rep? rofl
TELL ME ANY ERRORS PLZ LOL
Yes (Didnt understand 'one of post it' but ok :D
Ok. Please note i havn't checked it :P
Also. I detest you for using a techtuts user system :@
This is coding off the top of my head. No positioning just plain pages etc.
Now.... Providing you know how to add databases and tables to mysql please do the following:
Do a Database called rares
Then please add a table called values
In that table have these rows:
Name
Image
Value
Just use your db file you got. It'll do fine i reckon.
Righteo then, so we're not using sessions, we're using cookies :@ #
Heres the display page:
<?
ob_start();
include("config.php");
$values = mysql_query("SELECT * FROM values");
$final = mysql_fetch_array($values);
echo ("
<CENTER><B>Rare Values</B></CENTER>
Name: $values[name]<BR>
<img src=$values[image]><BR>
Value: $values[value]<BR>
");
?>
Now thats the display page... Please note that the image section in the database is the name of the file. Please change the URL in the display page....
Heres the insert page... just create a new user level for Rare Values Reporters? Coz i cba to code another user system :p
<?
ob_start();
include ("config.php");
if (!$logged[username] = '5'){
echo ("You are not authorised to view this page");
}
else
{
if ($_POST[submit]){
$name = $_POST[name];
$image = $_POST[image]
$value = $_POST[value];
$insert = ("INSERT INTO values (name, image, value) VALUES ('$name,'$image','$value')
}
else
{
echo ("<FORM method=POST name=submit>
Name:<input type=text name=name><BR>
Image:<input type=text name=image><BR>
Value: <input type=text name=value><BR>
<input type=submit>
");
}
}
?>
And thats it mate i think lol.. I probs made a few muffups....
Rep? rofl
TELL ME ANY ERRORS PLZ LOL
can u make the database, so i can put it in, Im not good with making them, only editing them
Jackboy
15-09-2006, 09:47 PM
well..
i dunno how coz i never needed to do em..
Just go on techtuts and edit lol
RyanS
15-09-2006, 10:57 PM
I could make both of them for a price.
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2026 vBulletin Solutions Inc. All rights reserved.