Forum: PHP 3 Days Ago |
| Replies: 3 Views: 183 I could probably use that JS function if I have to. Then again, may as well just write the function in PHP. You've given me a place to start though.
Upon further research, I found PHP has a... |
Forum: PHP 3 Days Ago |
| Replies: 6 Views: 196 Don't claim to be an expert on regular expressions, but I'll try to explain what the code does. preg_match will search a string and try to match the given perl-compatible pattern.
#user= will... |
Forum: PHP 4 Days Ago |
| Replies: 3 Views: 183 Hopefully, I explain this well enough.
If I know the width of a container, how could I determine how many line breaks are needed to fit a given string within that space? Given a string of... |
Forum: PHP 5 Days Ago |
| Replies: 13 Views: 501 Notepad++ all the way. I might look into Netbeans since I use it anyway for Java, but Notepad++ is so much more lightweight. |
Forum: PHP Jul 10th, 2009 |
| Replies: 5 Views: 455 It'd help if you told us what errors you're getting. |
Forum: PHP Jun 16th, 2008 |
| Replies: 1 Views: 996 by default they should be displaying inline, unless the container's width can't fit them that way. Let's see the code where the images are being called |
Forum: PHP Jun 14th, 2008 |
| Replies: 0 Views: 2,309 Nevermind, I'm a retard. I had phpMyAdmin opened to the live server, not the testing server which is still empty. I need a drink. |
Forum: PHP Jun 5th, 2008 |
| Replies: 3 Views: 729 I have session_start() at the beginning, and $_POST fields don't need to be filled out.
User logs in, the page reloads and $_SESSION['loggedIn'] will output 1, showing that the user did indeed... |
Forum: PHP Jun 5th, 2008 |
| Replies: 2 Views: 501 Where is $sent_mail assigned a value? |
Forum: PHP Jun 5th, 2008 |
| Replies: 3 Views: 729 The first thing at the start of every page is "session_start()". Next, each page has the following code. The 'loggedIn' session variable was initialized to 0 with a require_once call of another... |
Forum: PHP Aug 13th, 2007 |
| Replies: 5 Views: 885 Where the heck do you hear that from?
If you want to learn about PHP and receive better help on these forums, ask more intelligent questions and do a little research on your own part. A very... |
Forum: PHP Jul 18th, 2007 |
| Replies: 11 Views: 4,097 Here's the difference, Apache actually works! I used to use IIS, but it can be a headache when installing modules, it's easier with Apache. If you're using a Windows system, check xampp. |
Forum: PHP May 12th, 2007 |
| Replies: 9 Views: 1,288 If you don't need PHP, you can just use IIS. But I suggest just installing Apache. I recommend Xampp
http://www.apachefriends.org/en/xampp.html
Makes it incredibly easy to install apache, php,... |
Forum: PHP Apr 25th, 2007 |
| Replies: 4 Views: 1,036 Set up your database with a User table and a Mail table.
When a user logs in, have it query the Mail table for any entries assigned to them.
I'd set up my tables somewhat like this.
... |
Forum: PHP Apr 18th, 2007 |
| Replies: 6 Views: 1,119 I bought this book for less than $10 at a local used-book store and it was pretty decent and covered many related topics I didn't initially think about when starting.
... |
Forum: PHP Apr 18th, 2007 |
| Replies: 11 Views: 3,520 You could do it in PHP, but I think using ajax would be a better choice for keeping all the different users synced at the table. Just google for 'ajax tutorial' and you'll get tons of results. |
Forum: PHP Apr 16th, 2007 |
| Replies: 4 Views: 2,042 Beat me to it. Was gonna say the problem is in the value of your pName variable which was likely causing an incorrect query string, hence no result.
ah bugger, this was over 4 days ago. |
Forum: PHP Apr 9th, 2007 |
| Replies: 2 Views: 1,385 Sounds like you shouldn't have accepted a project you knew nothing about nor willing to learn anything about it. |
Forum: PHP Apr 5th, 2007 |
| Replies: 2 Views: 2,200 I threw up some data into an sql table and queried the results onto the page linked below.
http://zimnox.com/leagues/
Is that something like what you want? |
Forum: PHP Mar 16th, 2007 |
| Replies: 2 Views: 1,590 Go to Sun's website and install Java |
Forum: PHP Feb 13th, 2007 |
| Replies: 3 Views: 1,512 If you're the only one that needs access, I'd say put the file in a separate directory and use an htaccess file. |
Forum: PHP Feb 5th, 2007 |
| Replies: 9 Views: 2,763 That makes no sense at all.
Check out xamp: http://www.apachefriends.org/en/xampp-windows.html
It's really the easiest way to get PHP and mysql running together on your machine for you to play... |
Forum: PHP Feb 5th, 2007 |
| Replies: 3 Views: 2,120 <html>
<head>
<script language="javascript">
function checkState()
{
document.testform.tf1.disabled = !document.testform.tf1.disabled;
}
</script>
</head> |
Forum: PHP Nov 27th, 2006 |
| Replies: 3 Views: 43,650 var checkBox = document.getElementById(boxID);
checkBoxValue = checkBox.value; |
Forum: PHP May 6th, 2006 |
| Replies: 1 Views: 1,154 Store the data in a mysql database so that you can do searches, and using php you can display dynamic pages. Then just organize the data you pull from the database into html tables. |
Forum: PHP Apr 28th, 2006 |
| Replies: 3 Views: 3,506 After a form is completed its submitted to another page to process the form. Once that's done, it forwards back to where visitor was. I want to display a message to the visitor first before moving... |
Forum: PHP Apr 28th, 2006 |
| Replies: 6 Views: 1,312 Perhaps you should send the entire post to Geshi to be highlighted.
Parse your text, find whatever is inside the code tags, then send only that text to be parsed with Geshi. |
Forum: PHP Apr 18th, 2006 |
| Replies: 40 Views: 9,611 If you want to pull myspace customers away, be sure to keep at least the same features and similar functionality, people hate learning new stuff. I'm willing to help anyone spread the word about... |
Forum: PHP Apr 1st, 2006 |
| Replies: 5 Views: 2,081 Take a look at this example, it might help you see what you're doing wrong. I'd look through your code, but I dont feel like getting a headache staring at unformatted code. Use code tags next time.
... |
Forum: PHP Apr 1st, 2006 |
| Replies: 14 Views: 9,102 I thought the same thing. Alternatively though, you could connect to each database separately and perform the same query. |
Forum: PHP Mar 11th, 2006 |
| Replies: 40 Views: 9,611 I tried that once. So far I'm the only one using my text editor. :( |
Forum: PHP Mar 4th, 2006 |
| Replies: 40 Views: 9,611 On "attack of the show" of G4 tv last night, they talked about myspace and how its become the dominant in that market, yet how poor it really is when compared to competitors. So why does everyone... |
Forum: PHP Mar 3rd, 2006 |
| Replies: 40 Views: 9,611 I'm already working on a similar project myself because I hate myspace with a passion. Frankly, I don't understand how myspace has become so popular. I have never seen a website with so many broken... |
Forum: PHP Feb 15th, 2006 |
| Replies: 4 Views: 1,594 what kind of a webmaster knows absolutely nothing about html?
html and php files are both just plain text. Simpley change the extension from .htm to .php. |
Forum: PHP Feb 10th, 2006 |
| Replies: 3 Views: 2,017 This might help, too.
http://www.phpfreaks.com/tutorials/105/0.php |
Forum: PHP Jan 18th, 2006 |
| Replies: 3 Views: 6,609 I wrote this for ya. Values from the function matched with what I get in Photoshop 5. I'm not sure how I know this, but H is out of 360 degrees, and S and V are a percentage. (incase you wondered... |
Forum: PHP Jan 14th, 2006 |
| Replies: 2 Views: 1,153 could you please format that with "code" tags. I get a headache just trying to read it. |
Forum: PHP Jan 12th, 2006 |
| Replies: 3 Views: 1,456 This assumes the sentence ends with a period. I can't remember if this function will take an array of delimiters or not.
[code]
$strings = split(".",$summary);
echo $strings[0];
[/codep] |
Forum: PHP Dec 9th, 2005 |
| Replies: 3 Views: 1,521 retrieve images from what? a website? database? user harddrives? |
Forum: PHP Dec 9th, 2005 |
| Replies: 4 Views: 1,656 |