Jump to content

Isityou

Members
  • Posts

    84
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Isityou's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. What exactly does wrapping your variable in brackets do? $test = "hello {$name}!";
  2. 1. Open Directory - opendir() 2. Read Directory - readdir() 3. Change file names - rename() http://us2.php.net/manual/en/function.rename.php
  3. Replaces the coma with nothing. <?php str_replace(',', '', $x); <?
  4. Pull the information from the old address and create a new entry with the new address. Than when the user updates it again delete the previous old address and repeat.
  5. You can create two database objects with different connection and query both the master database and the individual database.
  6. If you don't already know, sessions is a good place to start.
  7. Jesus Loves You, thanks.
  8. How about unwanted variables, say form input?
  9. Please read the question thoroughly before replying. I do not want the value of the variable I want the actual name of the variable (var1, var2, var3).
  10. It seems your 'fetch_array()' method does not exist in your $Db1 object.
  11. Are you getting any errors? What exactly isn't working out for you?
  12. Just slap headers to redirect in your index files. EDIT: Sorry misread, fixed it up index.php <?php $domain = $_SERVER['HTTP_HOST']; if($domain == "x.com") { header('Location: x.com/x'); } else if($domain == "y.com") { header('Location: y.com/y); } ?>
  13. I want to get the parameters users type in the URL, for example say a user types: http://www.website.com/index.php?var1=test&var2=test1&var3=test2 How do I get the name of the variable the user declared (var1,var2,var3)?
×
×
  • 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.