I've added support for typesetting math using LaTeX on the forums.
Example:
Code: [Select][tex]sum_{n = 0}^infty frac{1}{n!} = lim_{ntoinfty} left(1+frac{1}{n}right)^n = e[/tex]
Outputs:
Just in case anyone wanted to write some math that's a little more advanced than basic arithmetic.
Update:
The [tex] bbcode is now deprecated in favor of [math] and [imath]. The former is used for display mode, the latter is for inline mode.
Example of display mode:
n=01n!=limn1+n1n=e
Inline mode is used for math in sentences, like you might want to say 51+27=521 within a sentence.
Dynamic links in an include file
I am working on a small piece of code that counts records from a database and displays the result to the user. Everything works fine, except I am running into difficulties with dynamic links.The code
Transform value 0 in no and 1 in yes help needed
Hello,I have this in the table: "value" type int 0 to represent false and 1 to represent true. everything works great in display to the user end it sees 0 or 1 i want to replace the 0 to
Whats wrong with my query?
I am trying to get this query to show the appropriate ticked vehicle roof height, unless no boxs are ticked then I want it to display all vehicle roof heights. However it doesn't work correctly, for
downloading a file as HTML
Hi.I'm rather confused with forcing a download. I just want to save dynamic content (from $_SESSION[''] data) as a .html file.The script to do this is a PHP page, but when I click on
Typedef struct vs just struct
Anyone know the rationale for using typedef for structs when a struct is itself a typedef? I have seen this in just about every book I have ever read, never with any explanation, yet I know from
fopen() security
As i understood the usage of fopen() for it to function correctly the Dir you write to has to be rw enabled for the php group, so that fopen() can acces the Dir to write to it. When I try to write
Get to know your fellow coder
I think it's time we got personal around here. There's a lot of code swapping and a few members know a little more about the others, but the vast majority of us are nothing but coders passing in the
server trace logs
could any one tell me from where do i get error logs in xMII??I want to check the reason for dtabase connection failure
pop3 and fsockopen
So I am able to connect to the pop3 server, log in, and check how many messages there are. I am having a problem with server responses though.In the following code, I don't understand why on the
Create comparison matrix?
I want to create a comparison script for forum software and was wondering is there any tutorial or basic script anyone can give me?