Jump to content
xisto Community

biggiebi

Members
  • Content Count

    16
  • Joined

  • Last visited

Everything posted by biggiebi

  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.
  2. 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>
  3. biggiebi

    Bbc?

    I can't use the while function when I use the bbc function. I dunno if its me or wuh but iono.
  4. biggiebi

    Bbc?

    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); ?>
  5. biggiebi

    Bbc?

    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/
  6. biggiebi

    Bbc?

    ok so how do i make it show all thread in flexbb_thread?
  7. biggiebi

    Bbc?

    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...
  8. biggiebi

    Generate?

    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
  9. biggiebi

    Generate?

    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?
  10. biggiebi

    Bbc?

    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>
  11. VNC is to connect to a remote host? no-ip's is pretty much useless
  12. 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/
  13. 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/
  14. #1075 - Incorrect table definition; there can be only one auto column and it must be defined as a keyWhat is wrong?
  15. Found the problem. Didn't have the right php extensionedit.You have any more php tuts?
  16. 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
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.