biggiebi
Members-
Content Count
16 -
Joined
-
Last visited
About biggiebi
-
Rank
Newbie [Level 1]
-
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.
-
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 i echo bb2html($data['message'])it shows all of flexbb_threads in 1 <tr><td></td></tr> So like when i do echo bb2html($data['message'])I want it show <tr><td>Title1</td><td>Content1</td></tr><tr><td>Title2</td><td>Content2</td></tr>
-
I can't use the while function when I use the bbc function. I dunno if its me or wuh but iono.
-
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); ?>
-
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/
-
ok so how do i make it show all thread in flexbb_thread?
-
Well I'm trying to get data from my MySQL database and post it on my frontpage. This is the query SELECT name, message, poster FROM flexbb_threads WHERE id = 1and 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?
-
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>
-
How To Set Up A Dedicated Server Counter-Strike dedicated server setup
biggiebi replied to DaEmOnFiRe's topic in Software
VNC is to connect to a remote host? no-ip's is pretty much useless -
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 hldsThis will make a new folder name hlds cd hldsThis will change you to hlds directory wget http://storefront.steampowered.com/download/hldsupdatetool.binThis will download the tool to install a server on linux chmod +x hldsupdatetool.binThis will make the tool executable Now run ./steamand you should get Checking bootstrapper version …Getting version X of Steam HLDS Update ToolDownloading. . . . . . . . . . .Steam Linux Client updated, please retry the commandNow to install a counter-strike 1.6 server ./steam -command update -game cstrike -dir /home/hldsNow it should download the linux version of the counter-strike server Running 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/
-
How To Set Up A Dedicated Server Counter-Strike dedicated server setup
biggiebi replied to DaEmOnFiRe's topic in Software
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 hldsThis will make a new folder name hlds cd hldsThis will change you to hlds directory wget http://storefront.steampowered.com/download/hldsupdatetool.binThis will download the tool to install a server on linux chmod +x hldsupdatetool.binThis will make the tool executable Now run ./steamand you should get Checking 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/hldsNow it should download the linux version of the counter-strike server Running 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?