Search found 7 matches

by Paradox187x
Sat Aug 01, 2009 7:14 am
Forum: PHP - Code
Topic: How do you subtract one Integer Variable from another?
Replies: 2
Views: 544

Re: How do you subtract one Integer Variable from another?

Thanx,

I don't know why I have to over complicate things :)
by Paradox187x
Sat Aug 01, 2009 5:12 am
Forum: PHP - Code
Topic: How do you subtract one Integer Variable from another?
Replies: 2
Views: 544

How do you subtract one Integer Variable from another?

I want to subtract a number in the DOWNVOTES from the UPVOTES from a SQL table and show the answer. I'm guessn' you can't perform arithmetic in HTML, the only option is JavaScript, unless you can do it in PHP while echoing a table of data. This is my JavaScript attempt, but of course it doesn't work...
by Paradox187x
Sat Aug 01, 2009 2:51 am
Forum: PHP - Code
Topic: Need a Guide to writing a SIMPLE "PHP/MySQL up/down voting"
Replies: 2
Views: 409

Re: Need a Guide to writing a SIMPLE "PHP/MySQL up/down voting"

Thanx a heap guys, McInfo, Your a legend. I'll have to spend a bit of time digesting it (as I mentioned, I'm new to all this), But it's what I'm after. Just to answer a few qestions If you use this delete statement for a negative vote, it will only register a negative vote if that IP address had mad...
by Paradox187x
Fri Jul 31, 2009 5:08 am
Forum: PHP - Code
Topic: Need a Guide to writing a SIMPLE "PHP/MySQL up/down voting"
Replies: 2
Views: 409

Need a Guide to writing a SIMPLE "PHP/MySQL up/down voting"

Before everyone starts pointing me to the HUNDREDS of scripts out there, let me make my case :) I recently created a PHP/MySQL website database which shows something like a music chart list. I'd like to enable visitors (none of this register crap, not interested in that yet) to vote up or down any n...
by Paradox187x
Fri Jul 24, 2009 7:57 am
Forum: Databases
Topic: What is the best way to access SQL database for maintenance
Replies: 1
Views: 268

What is the best way to access SQL database for maintenance

Hi All I've FINALLY finished my first PHP & MySQL database website, with NO prior programming experience :bow: BUT.............. It's not hosted yet. I need to write one last program/page to enable editing/maintenance of the data. The site is designed to allow users to post new records into a da...
by Paradox187x
Tue Jul 21, 2009 6:01 am
Forum: PHP - Code
Topic: How to put a hyperlink in PHP
Replies: 5
Views: 314

Re: How to put a hyperlink in PHP

Thanx Randwulf

Just started php writing & well any form of programming last week, so I sometimes miss the painfully obvious.

Thanx a heap.
by Paradox187x
Mon Jul 20, 2009 6:41 am
Forum: PHP - Code
Topic: How to put a hyperlink in PHP
Replies: 5
Views: 314

How to put a hyperlink in PHP

Sorry if this has already been brought up (couldn't find an answer anywhere). :roll: I want to show a result obtained from a database within php, as a link, but the following line doesn't work. NOTE: the result provided by {$row['LISTEN']} is an address, eg, "www.test.com/hello.html" echo ...