Forum: PHP May 9th, 2008 |
| Replies: 1 Views: 2,097 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... |
Forum: PHP May 8th, 2008 |
| Replies: 3 Views: 625 Thank you both for response, it is very helpful. |
Forum: PHP May 8th, 2008 |
| Replies: 4 Views: 1,764 If the register globals are set to off then you are going to have to use $_POST.
<?php
if(!isset($_POST['aid'])){
?>
you must login:<br>
<form name="form1" method="post" action="<?... |
Forum: PHP May 8th, 2008 |
| Replies: 3 Views: 625 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... |
Forum: PHP May 1st, 2008 |
| Replies: 5 Views: 1,220 what about using a meta refresh <meta http-equiv="refresh" url="mycalander.php">? |
Forum: PHP May 1st, 2008 |
| Replies: 5 Views: 1,220 you could maybe use header(location:mycalander.php) |
Forum: PHP May 1st, 2008 |
| Replies: 7 Views: 1,292 maybe..
<a href="mypage.php?id=2442" target="_self">Click</a>
on the page
$page = $_GET['id'];
if($page = 2442) {
include('news5.html'); |
Forum: PHP Apr 30th, 2008 |
| Replies: 7 Views: 1,292 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... |
Forum: PHP Apr 29th, 2008 |
| Replies: 1 Views: 747 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. |
Forum: PHP Feb 27th, 2008 |
| Replies: 7 Views: 1,788 You can just use an if statement..
if($_POST['blah'] == 'a') {
do something
} else if($_POST['blah'] == ''') {
do something else
} |
Forum: PHP Feb 27th, 2008 |
| Replies: 7 Views: 1,788 I am not sure what your asking.. do you mean to create a function to see if $a contains something? |
Forum: IT Professionals' Lounge Feb 27th, 2008 |
| Replies: 3 Views: 559 I just went to the site and saw the price.. wow it is a pretty penny. I noticed a reference to eclipse on a bullitin board, the site says it is an open source IDE that supports Java and Php? have you... |
Forum: IT Professionals' Lounge Feb 27th, 2008 |
| Replies: 3 Views: 559 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? |
Forum: Community Introductions Feb 27th, 2008 |
| Replies: 9 Views: 636 Thanks for the warm welcome all. I am really glad that I joined this site, as it seems that this is a really kind and helpful group. I have tried getting php help in some of the irc chats and haven't... |
Forum: Community Introductions Feb 24th, 2008 |
| Replies: 9 Views: 636 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... |