Forum posts

Posted 19 years ago2005-07-22 20:23:55 UTC
in PHP help and tutroials Post #122844
Parse error: parse error, unexpected T_LOGICAL_OR in /home/iemc/public_html/nukesilo/news_add.php on line 13
Im getting this error when i test it.
Luke LukeLuke
Posted 19 years ago2005-07-22 17:52:35 UTC
in PHP help and tutroials Post #122810
which one?!!? :o
Luke LukeLuke
Posted 19 years ago2005-07-22 17:38:26 UTC
in PHP help and tutroials Post #122807
ok, will do
Luke LukeLuke
Posted 19 years ago2005-07-22 17:20:50 UTC
in PHP help and tutroials Post #122805
[quote]<?php
	if($submit) {
	$dbconnection=mysql_connect("localhost", "username", "password");
	or die (!$dbconnection)
	{
	exit("MYSQL Connection Attempt Failed: " . $dbconnection);
	}
	mysql_select_db("my_database",$dbconnection);

	$sql = "INSERT INTO news (news_title,news_text) VALUES ('$news_title','$news_text')";
$result = mysql_query($sql);
	echo "News Entered Succesfuly.n";
	} else{

	?>[/quote]
Hows this looks? Would this write the news_title and the news_text to the mysql?

And how would i make it so whenver i write a news article, it gets its own number. It would go in numerical order. This way i can choose which one i want to delete or edit later.
Luke LukeLuke
Posted 19 years ago2005-07-22 17:10:33 UTC
in Elevator tutoring please!!! Post #122802
Posted 19 years ago2005-07-22 12:59:11 UTC
in Song you're listening to now Post #122749
Mo-Do - Super Gut
ieatmonkeychow: Mo-Do - Super Gut
01:13, 22/07
Avatar ieatmonkeychow: #GUT GUT SUPER GUT I LIKE SUPER GUT#
01:13, 22/07
Avatar ieatmonkeychow: gut = goot
02:18, 22/07
Avatar psycosquirrel: goot sounds like boot
02:26, 22/07
Avatar Unbreakable: and boots are for goats, like a gooting goat
02:26, 22/07
Avatar RabidMonkey: gooting goat guts! What is this song IEMC!?
AHAHAHAAH :P
Luke LukeLuke
Posted 19 years ago2005-07-22 12:53:25 UTC
in Hacked?!?! Post #122745
yah i forgot about that one, rabid.

Or when you have 2 login names on windows and you logged on on the different one.
Luke LukeLuke
Posted 19 years ago2005-07-22 12:52:33 UTC
in Anyone wanna buy my phone? Post #122742
Hmmm

Being a habboi is gay :D
Luke LukeLuke
Posted 19 years ago2005-07-22 12:16:26 UTC
in PHP help and tutroials Post #122733
Ok, ill change that.

But how does it make it better? Is it because that code is actualy used for if it doesnt work instead of the genereal "if" code?
Luke LukeLuke
Posted 19 years ago2005-07-22 12:14:13 UTC
in London Post #122729
Cops: Woops! wlaks away whistling
Luke LukeLuke
Posted 19 years ago2005-07-22 11:16:31 UTC
in PHP help and tutroials Post #122719
Ok, thanks. I found a tutorial explaining that stuff.

But does my existing code look fine? And i forgot the include the:
if($submit) {
code. :o
Luke LukeLuke
Posted 19 years ago2005-07-22 10:44:09 UTC
in Urb's Multiple Choice Fan Fiction Post #122710
:heart: :heart: :heart: :heart: Love :heart: :heart: :heart:
Luke LukeLuke
Posted 19 years ago2005-07-22 09:59:13 UTC
in PHP help and tutroials Post #122691
ok, heres the start of the page where after youve put the news in a form, you submit it and it goes here for proccessing. Now, some of this i did myself, then some other stuff i took from you, seventh:

[quote]<?php
	$dbconnection=mysql_connect("localhost", "username", "password");
	if (!$dbconnection)
	{
	exit("MYSQL Connection Attempt Failed: " . $dbconnection);
	}
	mysql_select_db("my_database", $dbconnection); [/quote]
I realise this is just the connection to the mysql, but as of right now, im lost. I kinda have some what of an idea of what to put to take the forms and send it to the database, but i need a little help.

I was jsut wondering if someone could help me now.
Luke LukeLuke
Posted 19 years ago2005-07-22 09:13:30 UTC
in London Post #122685
LOL

THat your hobby? Just walk around looking like the uni bomber all day. :glad:
Luke LukeLuke
Posted 19 years ago2005-07-22 09:09:22 UTC
in Hacked?!?! Post #122681
m0ppy:
Erm, i havent been on TWHL on another PC for ages,
Stupid m0p, tricks are for kids!
Luke LukeLuke
Posted 19 years ago2005-07-21 19:25:43 UTC
in Changed names? Post #122604
lol, pepper, this was an old name.
Luke LukeLuke
Posted 19 years ago2005-07-21 17:10:54 UTC
in Development News Post #122586
Im suprised lol :glad:
Luke LukeLuke
Posted 19 years ago2005-07-21 17:09:47 UTC
in Why garry's Mod rocks so much Post #122585
ahahahah

Funny stuff
Luke LukeLuke
Posted 19 years ago2005-07-21 17:08:11 UTC
in PHP help and tutroials Post #122584
NO DAMNIT~ JUST TELL ME!~!!!11
Luke LukeLuke
Posted 19 years ago2005-07-21 16:31:37 UTC
in Changed names? Post #122574
The ieatmonkeychow out of all of those is mine, buddy...
Luke LukeLuke
Posted 19 years ago2005-07-21 12:05:25 UTC
in I got an Idea 2 Post #122499
WOw, someone fucked something up...
Luke LukeLuke
Posted 19 years ago2005-07-21 12:04:01 UTC
in Changed names? Post #122498
Well, ok, seventh, could you delete that account and change this account to IEMC?

And what o you mean all of my accounts? I only got 2...
Luke LukeLuke
Posted 19 years ago2005-07-20 22:55:58 UTC
in CrossFire Post #122388
Holy shit...

I want money... :nervous: cost? i couldnt find it. :
Luke LukeLuke
Posted 19 years ago2005-07-20 21:23:04 UTC
in Changed names? Post #122381
or will he? :o
Luke LukeLuke
Posted 19 years ago2005-07-20 18:42:04 UTC
in Changed names? Post #122370
I noticed that Anthony and masterofpuppets have shortened their names to their short names.

Anyway i could change mine to IEMC?
Luke LukeLuke
Posted 19 years ago2005-07-20 18:38:22 UTC
in PHP help and tutroials Post #122369
oh :

Thats what i currently do and its mainly why i dont update the news.

ok, i have an idea of what to do.

Now, is there a way to have something that you can make a news post and have it be sent to a .php page and be saved there in a new row in a table everytime you make a new news post?

If so, what kind of commands would i use?
Luke LukeLuke
Posted 19 years ago2005-07-20 17:36:49 UTC
in PHP help and tutroials Post #122364
Im lazy.

I would rather look for a tutorial on the intraweb. Or experiment.. either one.
Luke LukeLuke
Posted 19 years ago2005-07-20 17:27:18 UTC
in PHP help and tutroials Post #122361
hello world stuff? wtf are you on about?
Luke LukeLuke
Posted 19 years ago2005-07-20 17:14:59 UTC
in PHP help and tutroials Post #122358
I kinda see what to do with that and what everything does.

I just need a little more instruction.
Luke LukeLuke
Posted 19 years ago2005-07-20 17:11:45 UTC
in PHP help and tutroials Post #122355
What about one where you can login, go to a seperate panel, edit/add/delete news. Then have it where you can use BBcode in the news. And have it so it goes with your site.

Tell me where i can learn this.
Luke LukeLuke
Posted 19 years ago2005-07-20 16:45:19 UTC
in PHP help and tutroials Post #122353
I wanna know where m0p learned. He looks like he has a news script on his site.
Luke LukeLuke
Posted 19 years ago2005-07-20 16:11:15 UTC
in PHP help and tutroials Post #122348
I would buy the book, but i have no moneys. :

And i agree, seventh, thats only references :
Luke LukeLuke
Posted 19 years ago2005-07-20 14:46:07 UTC
in beta weapons Post #122324
Ask zombieloffe for the beta ;)
Luke LukeLuke
Posted 19 years ago2005-07-20 14:40:41 UTC
in PHP help and tutroials Post #122322
Ok, so i went to W3 Schools, learned some stuff there. THat explained a lot. But i want a little bit more and to be more specific.

I googled stuff but couldnt exactly find what i was looking for.

I was wondering if someone could help me. What im trying to do is make (possibly a text based. I can use mysql, though) a news system. I also wish to make a login system with each member having their own profile.

What you could help me with is directing me to a PHP tutorial site or acctualy tell me what to do (tutorial probably is better).

This would help me greatly in a site im making for my friend. Thanks.
Luke LukeLuke
Posted 19 years ago2005-07-20 11:31:46 UTC
in Crumpets Post #122285
MMmmm... poop is a bottle...
Luke LukeLuke
Posted 19 years ago2005-07-19 21:56:49 UTC
in Graphic Art Post #122166
I like it.
Luke LukeLuke
Posted 19 years ago2005-07-19 20:09:32 UTC
in Development News Post #122150
Seventh, are you willing to do a little bit of PHP for me?
Luke LukeLuke
Posted 19 years ago2005-07-19 10:39:54 UTC
in Chavs Post #122040
Im not poor, im just saying theres quite a few of chavs.
Luke LukeLuke
Posted 19 years ago2005-07-19 09:14:14 UTC
in Development News Post #122011
Another thing we need is a message for 1337 logins. >.<
Luke LukeLuke
Posted 19 years ago2005-07-19 09:12:06 UTC
in Chavs Post #122010
Sounds like the city i live in... :|
Luke LukeLuke
Posted 19 years ago2005-07-19 09:00:54 UTC
in Do you even play Half Life anymore? Post #122009
I forgot to say, i do play The Specialists a lot.

Everyday, infact.
Luke LukeLuke
Posted 19 years ago2005-07-19 08:59:29 UTC
in Graphic Art Post #122007
member login.
Luke LukeLuke
Posted 19 years ago2005-07-19 08:57:57 UTC
in Do you even play Half Life anymore? Post #122006
Yah, i havent played HL:s or mapped in at least 3 months.
Luke LukeLuke
Posted 19 years ago2005-07-18 20:18:24 UTC
in David Hasselhoff [closed] Post #121919
:glad:
Luke LukeLuke
Posted 19 years ago2005-07-18 17:43:03 UTC
in Crumpets Post #121906
throws up
Luke LukeLuke
Posted 19 years ago2005-07-18 13:09:22 UTC
in Graphic Art Post #121840
I am forbidden to access that page..
Luke LukeLuke
Posted 19 years ago2005-07-18 11:42:34 UTC
in Development News Post #121817
* Allow previewing your posts before posting them
Or just an edit button :tired:

And:
  • A Quote button :D
Luke LukeLuke
Posted 19 years ago2005-07-18 11:39:04 UTC
in Crumpets Post #121816
Mod wars huh?

They look good with jam. :o Ive enver had any, thoguh.
Luke LukeLuke
Posted 19 years ago2005-07-17 19:04:53 UTC
in David Hasselhoff [closed] Post #121699
sex-ay :P

lol just kidding.
Luke LukeLuke
Posted 19 years ago2005-07-17 19:04:20 UTC
in David Hasselhoff [closed] Post #121698
sex-ay :P

lol just kidding.
Luke LukeLuke