biggiebi
-
Content Count
16 -
Joined
-
Last visited
Posts posted by biggiebi
-
-
I suck at explaining.
So here I can get data from the MySQL database and I can print the info.
But like how do I make it so it show a new<tr> <td class="topic"><?php echo $title ?></td> </tr> <tr> <td class="contenttext"> <?php while ( $data = mysql_fetch_array($result) ) { echo bb2html($data['message']) . '<br />';} ?> </td> </tr>
everytime there's a new content?
cause when iecho bb2html($data['message'])
it shows all of flexbb_threads in 1<tr><td></td></tr>
So like when i doecho bb2html($data['message'])
I want it show<tr><td>Title1</td><td>Content1</td></tr><tr><td>Title2</td><td>Content2</td></tr>
-
Bbc?
in Programming
I can't use the while function when I use the bbc function. I dunno if its me or wuh but iono.That should do it, as long as the bb2html functions properly
-
Bbc?
in Programming
well could you help me with this?
<?php$dbhost = 'host';$dbuser = 'username';$dbpass = 'password';$dbname = 'database';$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql');mysql_select_db($dbname);$result = mysql_query("SELECT name, message, poster FROM flexbb_threads WHERE id = 1");$data = mysql_fetch_array($result);$data['message'] = bb2html($data['message']);?> <div align="center"> <table border="0" width="85%" class="contentbox"> <tr> <td class="topic"><?php echo $data['name']; ?></td> </tr> <tr> <td class="contenttext"> <?php echo $data['message']; ?> </td> </tr> <tr> <td class="by"> Written by <?php echo $data['poster']; ?></a> </td> </tr> </table> </div><br><br><?php mysql_close($conn); ?>
-
Bbc?
in Programming
I've tried this to show all the content of the announcements forum.
$result = mysql_query("SELECT name, message, poster FROM flexbb_threads WHERE forumid = 1");$data = mysql_fetch_array($result);echo $data['message'];
name is the Title of the thread, message is the content, poster is the poster. forumid is the forum. forumid = 1 is the announcements. so yeah
http://forums.xisto.com/no_longer_exists/
-
Bbc?
in Programming
ok so how do i make it show all thread in flexbb_thread?
-
Bbc?
in Programming
Well I'm trying to get data from my MySQL database and post it on my frontpage.
This is the querySELECT name, message, poster FROM flexbb_threads WHERE id = 1
and the message is in BBC. so yeah...
-
I'm not a type of person that explains so yeah sorry.Age : dropdown(1,2,3,4,5)City : dropdown(Oakland,L.A,Seatle)and when you click submit something like5Seatleshows
-
How do I make a text generator?Like have a multiple dropdown and text box. Then if someone input some info and click summit it generate a text?
-
Bbc?
in Programming
I found this php code and I want to know how do I use it?
It's a BBC code thing.
I want it like if I posted[url=http://link]linkname[/url]
it becomes<a href=http://link>linkname</a>
-
VNC is to connect to a remote host? no-ip's is pretty much uselessOh, I would have thought it was HL + Mods, VNC server and something like no-ip's tracker (I'd put apache on to explain). Nice, even though I don't play it, I play similar.
-
Window hldsupdatetool installation
First you would need to download and install the tool here Install the hldsupdatetool in the C:/hlds or which ever drive you choose. Now to install the server you want to host. Go to Start > Run > cmd > cd\ > cd hlds and run the hldsupdatetool.exe. To install counter-strike 1.6 server type hldsupdatetool.exe -command update -game cstrike -dir c:/hlds
and it will download the files to run a counter-strike 1.6 server. To see a list of game use the hldsupdatetool.exe -command update -game list .
Linux hldsupdatetool Installation
Agian we will need to download the tool to update the server but this time we're going to download the linux version. I'll show you how to install a server through SSH
mkdir hlds
This will make a new folder name hldscd hlds
This will change you to hlds directorywget http://storefront.steampowered.com/download/hldsupdatetool.bin
This will download the tool to install a server on linuxchmod +x hldsupdatetool.bin
This will make the tool executableNow run
./steam
and you should getChecking bootstrapper version …Getting version X of Steam HLDS Update ToolDownloading. . . . . . . . . . .Steam Linux Client updated, please retry the command
Now to install a counter-strike 1.6 server./steam -command update -game cstrike -dir /home/hlds
Now it should download the linux version of the counter-strike serverRunning the server
Windows - Go to C:\hlds and create a short of hlds.exe right click on the hlds.exe short and go to poperties
add this after C:\hlds\hlds.exe "-console -game cstrike +port 27015 +map de_dust +maxplayers 16 -autoupdate" without quotes save and run the hlds.exe shortcut
Linux - go to the hlds directory and type ./hlds_run -console -game cstrike +port 27015 +map de_dust +maxplayers 16 -autoupdate
If your trying to run the server behind a router go to https://portforward.com/error.cgi
To get your ip go to https://www.whatismyip.com/
-
Or you can use the hldsupdatetool. This version is more effiecient and would take take up less resources if its a "dedicated" server
Window hldsupdatetool installation
First you would need to download and install the tool here Install the hldsupdatetool in the C:/hlds or which ever drive you choose. Now to install the server you want to host. Go to Start > Run > cmd > cd\ > cd hlds and run the hldsupdatetool.exe. To install counter-strike 1.6 server type hldsupdatetool.exe -command update -game cstrike -dir c:/hlds
and it will download the files to run a counter-strike 1.6 server. To see a list of game use the hldsupdatetool.exe -command update -game list .
Linux hldsupdatetool Installation
Agian we will need to download the tool to update the server but this time we're going to download the linux version. I'll show you how to install a server through SSH
mkdir hlds
This will make a new folder name hldscd hlds
This will change you to hlds directorywget http://storefront.steampowered.com/download/hldsupdatetool.bin
This will download the tool to install a server on linuxchmod +x hldsupdatetool.bin
This will make the tool executableNow run
./steam
and you should getChecking bootstrapper version …Getting version X of Steam HLDS Update ToolDownloading. . . . . . . . . . .Steam Linux Client updated, please retry the command
Now to install a counter-strike 1.6 server./steam -command update -game cstrike -dir /home/hlds
Now it should download the linux version of the counter-strike serverRunning the server
Windows - Go to C:\hlds and create a short of hlds.exe right click on the hlds.exe short and go to poperties
add this after C:\hlds\hlds.exe "-console -game cstrike +port 27015 +map de_dust +maxplayers 16 -autoupdate" without quotes save and run the hlds.exe shortcut
Linux - go to the hlds directory and type ./hlds_run -console -game cstrike +port 27015 +map de_dust +maxplayers 16 -autoupdate
If your trying to run the server behind a router go to https://portforward.com/error.cgi
To get your ip go to https://www.whatismyip.com/
-
#1075 - Incorrect table definition; there can be only one auto column and it must be defined as a keyWhat is wrong?
-
Found the problem. Didn't have the right php extensionedit.You have any more php tuts?
-
Why does it show this?
Notice: Undefined index: page in C:\Inetpub\wwwroot\index.php on line 2
Notice: Undefined index: header in C:\Inetpub\wwwroot\index.php on line 3
Confusing! Help
in Programming
Posted · Report reply
nvm i got it to work...now do i make it so like every 5 news there's a new pageand it shows the next 5 news.