Jump to content

melvnatic

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

melvnatic's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. ++$appcounter; pre increments $appcounter++; post increments, am I right?
  2. 1) I'm trying to increment variables: Include the file appcounter is stored in ++$appcounter; Save appcounter to the same file Am I doing anything wrong? Because $appcounter is incremented [i]once[/i], but if I try to access the script again, it doesn't work...
  3. I found out how to use php to write, append, and truncate to a text file. How do you add info on top of the info already in the text file? Example: after appending bbbbb to file A which contains: aaaaa, you have: aaaaa bbbbb Is it possible to end up with: bbbbb aaaaa ? Thank you! Seriously, I think I'm loosing more brain cells working out php than banging my head against the wall...
  4. actually, i meant form fields...how do you create a box where, when the user presses submit, it saves the info to a variable?
  5. How do you ask a visitor something and store his/her reply to a variable? And also, is it possible to delete a session variable when the visitor closes the browser or exits the page? Thank you!
  6. 1 last thing...how do I kill a session variable on exit? Oh, and so if I store something under $_SESSION['variable_name'] I can call it up with $_SESSION['variable_name'] in another script? Thank you for your patience:)
  7. Thanks! How do I use session variables? Do they delete themselves when the visitor exits the page?
  8. How do you make it so that a variable can be accessed from two different scripts? Let's say you set a variable in script #1, and you want to access that variable in script #2 in the same directory as script #1. How do you do that? Also, how do you use includes? What do you put in include(???). Can you give me an example? Thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.