I really have no idea where to start for this, as i'm VERY new to scripting, but i do have intermediate skills at html, so i thought i'd try and get a nudge in the right direction from a help site.
I'm currently making a website where I'll need to have a rankings table of teams for an online computer game league.
I'll put this table in my .htm file, as I want it to be integrated in the page, and look just like a regular table would.
but, I want to be able to externally update the data in this table, so I don't have to change the .htm file after every match, updating the teams, their positions on the table and the rest of the data.
the primary aim of this method for me, is for ease of use.
i would also like this external file to be able to sort the positions of teams on the table for me, based on the points this team has won.
so, does anyone know of a format of file or external source i could use? like PHP or another script?
and how i would achieve this goal.
cheers.
rowan.
16 1943 AricC 1,892
Recognized Expert Top Contributor
What do you have available PHP,ASP, etc... I'm going to move this thread to the appropriate forum.
umm, ive got mySQL and PHP4/PHP5 available to use in the hosting plan, but i just lack any knowledge of coding in them.
which one do you think would be more appropriate? for the basic aims i'm trying to achieve.
AricC 1,892
Recognized Expert Top Contributor
PHP4/PHP5 are the versions the main thing is that you can run PHP on your site. I'm going to move this thread to the PHP forum.
First you have to make a choice between storing the data in a flat text file or in a MySQL database.
Both solutions can be externally updated via a grid script and both can be read, sorted and stored into your html page.
MySQL is easier to handle and program, but has more server overhead. A flat file is more difficult (column positions etc.) to program but has less overhead.
So it's up to you to first decide how and where you want your data to be stored.
Ronald :cool:
well i think as a complete beginner i should use mySQL, if its easier.
i'll only need a maximum of 72 text fields in the table, so there shouldn't be too much server overhead, right?
so if i'm to use mySQL, could you point me to a decent tutorial for integrating it into a table in html?
i havent downloaded mySQL though, and havent a clue what to do once i have got it, anyway.
thanks for all the help in advance.
thanks.
well... currently, im on the freewebmasterhe lp tutorial.
i've downloaded mySQL, gotten an account, and am trying to set up phpMyAdmin, but the setup.php file won't open in IE or firefox... and i need it to. otherwise i cant use phpMyAdmin.
what do you suggest i do?
I'd suggest that you forget about phpMyAdmin for now and setup your MySQL server first using the command line interface. You'll learn more about Mysql and the SQL statements using that. If not, you can also execute SQL via a server script, like PHP.
First get your server setup right, then worry about the user interface like phpMyAdmin.
Ronald :cool:
well i really have no idea what i'm doing, and the server won't set up properly.
so, the other option, a flat text file.
how do i integrate that with my html file, and will it allow automatic sorting based on the information in the flat text file?
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Marc |
last post by:
Hi all,
I have a problem with managing the interchange between COM/Excel and
Python if the user closes the workbook externally.
Everything works fine as long as the user only uses the exit keys I've
provided to close the Excel apps and COM interfaces. But I really need
the ability to manage the workbook if someone closes it using the
'exit' command or the right/upper 'x' from within the excel
spreadsheet.
|
by: Fredrik/Sweden |
last post by:
Hi folks !
got this problem...
i have a table 'Accounts' in my database, which contains a bunch of
users. From the main menu i choose "edit user" and all users in the db
are presented in a table. The first column 'Pnr' is a unique ID for
each user that i made appear as a link. clicking on one userID should
present a form where the picked users userdata is already filled in so
i can easily edit it and then move on to submit the form to...
|
by: revolnip |
last post by:
As attached is the code :
<% Option Explicit
dim lngTimer
lngTimer = Timer
%>
<!--#include file="Connect.asp" -->
<!--#include file="Settings.asp" -->
<!--#include file="Common.asp" -->
|
by: Lauren Quantrell |
last post by:
In VBA, I constructed the following to update all records in
tblmyTable with each records in tblmyTableTEMP having the same
UniqueID:
UPDATE
tblMyTable RIGHT JOIN tblMyTableTEMP ON tblMyTable.UniqueID =
tblMyTableTEMP.UniqueID
SET
tblMyTable.myField = tblMyTableTEMP.myField,
tblMyTable.myField2 = tblMyTableTEMP.myField2,
|
by: Eugene |
last post by:
Summary:
----------
Updates against UNION ALL view does't do branch elimination, but
rather reads all the branches (partitions).
The case scenario(DB2 V8.1.4a ESE, AIX 5.2):
--------------------------------------------
The UNION ALL view (tv) was built on the following three sample tables
(t1,t2,t3)
| |
by: Ian Davies |
last post by:
Hello
I have seen some tutorials to put a update a counter field in a record. I
have the counter field in a table that also has a field for a path to file.
I display the records in a table on a web page e.g.
IndexNo ............Title................................ Link
.................................... Count
......1.............MyFileName........www.mysite/files/MyFileName.doc........
|
by: Rudy |
last post by:
Hello all!
I'm working in vb/ado.net I want to to have a message box pop up based on a
result of a update on a SQL table. How do I do that so it automaticly pops
up after the update is performed?
Also, is there a way to put in a variable in the message box base on the
results of the Update?
TIA!!
|
by: Miro |
last post by:
I will ask the question first then fumble thru trying to explain myself so i
dont waste too much of your time.
Question / Statement - Every mdb table needs a PrimaryKey ( or maybe an
index - i havnt tested the index yet ) so you
can use an .UPDATE( dataTable ) on the data adapter. Otherwise you will
get an exception error.
Is this statement true?
---- Now me fumbling thru
|
by: Shawn T |
last post by:
I have an application with a page that has a web user control
When I call that page that has this user control, locally (http://
localhost/ApplicationX/default.aspx) and also externally ie (http://
<webserver>/ApplicationX/default.aspx), the display is all different.
For example, a text box shows with border on one and textbox shows as
label in the other. I am suspecting that it might be CSS issue. I
checked the CSS file and everything...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |