Yup, it was the conditional problem thanks.
Type: Posts; User: bluewalrus; Keyword(s):
Yup, it was the conditional problem thanks.
I did part of this wrong, it goes into a loop if it's on the eastern side, will adjust...
You'll need to convert them encode them to be passed through the url and encode them to be converted from \n to <br />. This also assumes the users mail client supports HTML. Something like
...
1) CODE TITLE: Where's it 5:00 PM?
2) AUTHOR NAME/NOTES:
3) DESCRIPTION: Shows where in the world it is currently 5:00pm
4) URL TO CODE:
or, ATTACHED BELOW (see #3 in guidelines below):
So I have a page where admins edit items, these items have the name newitem or edititem####. The number after edititem varies by what item is being editted currently this works if they only edit one...
Why not use a form and send the message using PHP's mail function? Once using that apply the html header, and use nl2br.
http://php.net/manual/en/function.mail.php...
You could do this a few ways, not sure how many categories you have...
index.php
<a href="book_category_list.php?cat=fiction">Fiction</a>
<a...
Are you trying to allow all email addresses or specific ones to your domain? Emails can have more than just A-0 and still be valid.
The simplest regex I can think of would be something like...
Something like..
$modsql = bb_db_query("select `username` from regd_members where `password` = 'superman' order by username limit 24");
Assuming you havent hashed or encrypted that password...
haha didn't take my own advice there, sorry about that.
$check = mysql_query("SELECT * FROM users WHERE username = $username AND password = $pass") or die(mysql_error());
For text editors...
$check = mysql_query("SELECT * FROM users WHERE username = $username AND password = $pass)" or die(mysql_error());
The editor you're using probably highlights/color codes strings, functions,...
Looks like it depends if you had it enabled at the time.
http://dev.mysql.com/doc/refman/5.0/en/server-logs.html
<?php
session_start();
if($_POST)
{
$_SESSION['display'] .= '<div id="id' . time() . '">'. $_POST['name'].'</div>';
echo $_SESSION['display'];
}
What are you considering the first submit, first ever, first that day, that session, from an IP address? How are you storing this information?
Okay, fiddled around some more and got it working.
<script type="text/javascript">
function num(number) {
if (number > 1)
number--;
else
number = 10;...
I'm using the JS variables wrong again but I'm not sure how to correct it.
<script type="text/javascript">
var i = 10;
function num(number) {
if (number < 0)
number--;
else
number...
It is ajax which probably uses php as well.
This thread relates to this somewhat http://www.dynamicdrive.com/forums/showthread.php?t=64281
Here's one
http://www.w3schools.com/xsl/
Do you mean...
<?php
$my_array = array('<a href="index.php">home</a>', '<a href="user.php">member</a>', '<a href="join.php">join</a>', '<a href="login.php">login</a>', '<a...
That's not AJAX that is a call to a function in a javascript file, that function probably executes the AJAX. I'm also not certain that calling it that way will work.
I'd recommend using JQuery's...
It's going to need to be done through PHP, javascript, and some storage system, probably SQL. Please post everything you have so far and we will provide you with information so you can create this.
How is the message being submitted? You could probably change it from using the setinterval to using click(). You can have the initial load populated using the php include.
Something like this should do it, this way it is populated when the page loads
<script type="text/javascript" src="jquery-1.3.2.js"></script>
<script type="text/javascript">...
I could only see it done using ajax if it was javascript do you have a link to the page?
It could be accomplished using php easily.
<div id="shoutcontainer">
<?php include "file.ext";?>...
He has it downloaded so just need http://php.net/manual/en/install.php