- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
9 Posted Topics
If the register globals are set to off then you are going to have to use $_POST. [code] <?php if(!isset($_POST['aid'])){ ?> you must login:<br> <form name="form1" method="post" action="<? $_SERVER['PHP_SELF']; ?>"> <input type="text" name="aid"><br> <input type="password" name="apass><br> <input type="submit" name="submit" value=" Login "><br> </form> <?php } else{ ?> welcome etc... <?php …
I have noticed that some people use public/ private for their vars and functions. I tried looking it up on php.net and then here, but only found one explanation of it on the C++ board. It says that if you declare private var then it is only accessible by that …
I have a question about using define(). I am using this function for other constants across my script ,but am looking at developing a set of language files. For example I was thinking of having one eng_defined.php and one fr_defined.php each containing the same named constants but the output would …
I am not sure exactly what it is your trying to do.. If you are looking to get the info from the link you would use $_GET['ID'] to retrieve the 4343 from the url.. if you are looking to display the content of news5.html page within the table you have …
vars can only be alpha numeric. If you change your $_POST and $vars that have other characters like + and - in them you should stop getting the error.
Hi all, I am a mom of 3, one boy and two girls ages 9, 8 and almost 2. I am trying to teach myself to program while at home with my youngest. I have so far managed to learn some php and am currently working on learning to write …
I am looking for some advice. I have always just used the crimson text editor for php, but I have wondered if I should switch to the Zend IDE? How useful have you found it to be?
I am not sure what your asking.. do you mean to create a function to see if $a contains something?
The End.
mom_of_3