Search found 9 matches

by -[Bl@de Runner]-
Sat Aug 17, 2002 5:22 am
Forum: PHP coding => General
Topic: remembering a passed through variable
Replies: 6
Views: 3366

its ok, i got it :-)


i did it with : value="<?php echo "$fIndex"; ?>"
by -[Bl@de Runner]-
Sat Aug 17, 2002 5:13 am
Forum: PHP coding => General
Topic: remembering a passed through variable
Replies: 6
Views: 3366

Like this ?

<input name="forumIndex" type="hidden" value="$fIndex">

Cause when I type this:

echo "$forumIndex";

It gives me the following result: $fIndex which is wrong
by -[Bl@de Runner]-
Sat Aug 17, 2002 3:13 am
Forum: PHP coding => General
Topic: remembering a passed through variable
Replies: 6
Views: 3366

remembering a passed through variable

Hi guys, I pass, with the URL, a variable through to a page in my site. Let's call the variable 'index'. In that page a submit happens when you press a button. And then, when you press that button, I want to use that variable, but at that point the variable is 0. How can I store this variable somewh...
by -[Bl@de Runner]-
Tue Aug 06, 2002 9:50 am
Forum: PHP coding => General
Topic: current date
Replies: 4
Views: 2817

current date

hi guys,

To get the current date, is this not just the function date() ?

problaby not :oops:
by -[Bl@de Runner]-
Sun Aug 04, 2002 2:06 am
Forum: PHP coding => General
Topic: How to get variable out of URL
Replies: 1
Views: 1551

How to get variable out of URL

Hi guys,

I go to a certain page in my site, with this URL and I pass a variable forumIndex with it:

http://localhost/showThread.php?s=&forumIndex=%201

But how do I get in the page where I go to the variable forumIndex from the URL ?
by -[Bl@de Runner]-
Sun Jul 28, 2002 4:21 am
Forum: PHP coding => General
Topic: How to get the auto-incremented index ?
Replies: 2
Views: 1965

How to get the auto-incremented index ?

Hi guys, If someone posts a message in my forum, this code will be executed: $query = "insert into forum values ('', '$subject, '$iconid', '', '')"; $result = mysql_db_query ("vibDB", $query); $fIndex = mysql_result ($result, 0, "forumIndex"); $query2 = "insert into forumReplies values ('', '$messag...
by -[Bl@de Runner]-
Sun Jul 07, 2002 8:08 am
Forum: PHP coding => General
Topic: Another cookie question :)
Replies: 2
Views: 2293

Another cookie question :)

Hi guys,

Ones you have set your cookie, how can you see in another page in your site that the cookie was set and ask all the info from it ?
by -[Bl@de Runner]-
Sat Jul 06, 2002 3:34 am
Forum: PHP coding => General
Topic: cookie question
Replies: 6
Views: 4231

cookie question

Hi all, there is a rule that you have to set a cookie before you generate any html code. But what do you have to do, when at the beginning of the page you have a STYLE block, and that you later on in the page wants to set a cookie. It then gives an error when the cookie is set, because the style blo...
by -[Bl@de Runner]-
Sun Jun 30, 2002 6:59 am
Forum: PHP coding => General
Topic: cookie in php
Replies: 1
Views: 2058

cookie in php

Hi all,

I have made on my site a register form where they have to fill in their name, paswoord, nickname ...

I want to store these values into a cookie and store it on their pc.
Can somebody tell me how to do this ?

Thanks