(Archive) Mode |
Type: Posts; User: hmsnacker123; Keyword(s):
(Archive) Mode |
snow.
Aim of the game is to post whatever's on your clipboard.
3
2
1
GO!
At the very top of the script put:
ob_start();
and at the bottom put:
ob_end_flush();
Yeah I know. Just giving him/her some information :)
In your while statement add:
while($row = mysql_fetch_array($userresult))
{
if($row['day_has_event'] == "1")
echo "Echo the highlighted cell here";
else
echo...
Heres an example of the elseif statement (Thanks traq)
<?php
if(strstr('example.com', $_SERVER['HTTP_REFERER'])){
$phone = '1(234)567-8910';
}
elseif(strstr('anotherdomain.com',...
Um, try this:
while ($fris = mysql_fetch_assoc($get)){
Instead of this:
If you change you're mind & decide to use a server-side captcha, here's a great one:
http://recaptcha.net/
Oh, and if you decide to use AJAX, heres an article introducing it:
...
Heres a lil' script in PHP that displays the last modification time:
<?php
echo date("h:i:s", getlastmod());
?>
If you dont know much about .htaccess files, heres a link to a great article about them:
http://en.wikipedia.org/wiki/Htaccess
I'm not going to give you a link to a Keylogger, there are other ways to monitor your girlfriends activities, (Windows). Besides, most keyloggers are viruses/spyware themselves.
Yes, you can:
mysql -u DBUSER -h DBSERVERNAME -p
Where:
DBUSER = Your MySql Username. Usually: root
DBSERVERNAME = The Location Of Your MySql server. Usually: localhost
$_SESSION['username'] = 'username';
assuming that you are using session:
if($_SESSION['logged_in'])
{
$_SESSION['username'] = "Whaterver";
I have a rough idea:
Say you are using a mysql table to store the events,
When the coach (or whoever) adds an event, you can have a field that updates to 1 i.e 'day_has_event', so then you can...
I have a rough idea:
Say you are using a mysql table to store the events,
When the coach (or whoever) adds an event, you can have a field that updates to 1 i.e 'day_has_event', so then you can...
Maybe you could provide a link to the framework homepage
You can use this following piece of code to return a default value if one of the fields were left empty:
$attendance = !empty($_POST['attendance']) ? clean_string($_POST['attendance']) :...
Oop.. Thank's for pointing that out, corrected.
Try this:
<?php
$connection = mysql_connect("mysql4.freehostia.com", "username", "password") or die(mysql_error());
mysql_select_db("database_name", $connection) or die(mysql_error());...
http://kb2.adobe.com/cps/165/tn_16575.html
Hope this helps, also verify that you have entered all the required information correctly, trust me, i have been debugging scripts for hours and all that...
If you want to check that $_GET['test'] is in the URL (file.php?test) then you would use:
<?php
if(isset($_GET['test'])
{
echo "Test is set";
}
?>
@james438
Thank's for the input, I'll try this, if it work's ill thank you. :)
Anyone else ?
Um, to read XML you can use this function: http://www.php.net/simplexml_load_file
Very easy to use. Need any more help, let me know :)
Bumpity