Type: Posts; User: OctoberWind
Search took 0.06 seconds.
Can you expand on what "off by 10 minutes" means?
You're capturing a generic time in "hh:mm am" format. What are you comparing it to, that says you are off by 10 minutes? When are you comparing...
You could convert your passed date to a UNIX timestamp (strtotime() at the simplest, or a more advances usage of mktime() or gmmktime())
You also know what the UNIX timestamp is in 36 hours...
/* Redirect to a different page in the current directory that was requested */
$host = $_SERVER['HTTP_HOST'];
The short process would be that when you insert the data into the database for the first blog, you would also need to insert the data into the alternate database at the same time.
explode() turns $lot_number_indi_scan into an Array, so your strlen() of $lot_number_indi_scan is on the "Array" object (hence 5; A-r-r-a-y).
What you need to do is loop over the...
It's showing "Resource #3" because $result is just that. a MySQL Resource.
You need to loop over the result with:
two things that jumped out at me:
sqlite_query($db,"INSERT INTO Picture (ID, name, year, artistID) VALUES ( '&ID', '&name', '&Year', '&ArtistID' )");
Should it not be:
If you have no experience in either field, then I think design is going to be a better option than development, if
It'll be easier to learn enough design skills to start getting work, than...
Short Answer: No.
I would suggest starting with php.net's migration outline.
DO NOT just "replace this code with that code", without understanding what "this code" was doing, and how "that...
Considering I was able to get to the "Add Recipe" page without login in, I would suggest you revisit your user login process, as it's clearly not working as expected.
<input type="text" name="score1"/>
<input type="text" name="score2"/>
// VERY IMPORTANT RULE:
// a "hard" exit(); in your code is a VERY bad...
To maintain a "presence" for that length of time, you really are reduced to using either cookies or localStorage.
To increase security, you can combine the "local" reference variable that doesn't...
Your mail() command is screwed up, because of the formatting. You're already "inside" PHP code, so you cant wrap your PHP comment in php tags, but rather you need to concatenate the string properly....
I would look into functions such as file_exists() and rename() prior actually moving the new uploaded file.
You'd need some way to keep track of what "index" you're at for each image, so you don't...
Can you change the query that's pulling the recordset to get just the row needed?
$query = "SELECT `name`, `code`, `age`, `address` FROM `table` WHERE `code` = '". $searchCode ."';";
Those checks are all well and good, if all you want to know if is the string contains "a letter" , "a number" or "a letter, number, hyphen, period, or underscore".
I'm going to assume this is for...
What's the syntax error you're getting?
is $at_time supposed to be a UNIX timestamp?
What are the functions date_to(), sbox() and time_array() doing?
Also, you shouldn't normally be SETTING...
$retval=mysql_query($sql, $conn) or die(mysql_error());
Without knowing exactly what's in the $uploadFilename and $active_keys arrays, I had to make a few assumptions, but hopefully with what's here, you can make adjustments as needed.
You can ignore...
Your results are overflowing.
321^100 = 4.472015e+250
that's 250 zeros, and im only raising it to the 100th power. You want to raise it to the 321st power?
9^321 = 2.050433e+306
what does your $active_keys array look like? can you please print_r() that, and post it here?
You loop is getting really messy, there is no reason to be array_mapping or imploding anything.
Put these three lines BEFORE the foreach:
$query_part_1 = '';
$query_part_2 = '';
$i = 1;
Now that I look at it again, you will need to move these four lines outside of the foreach loop:
$query_part_1 = preg_replace("/,$/","",$query_part_1); // remove the comma at the end of the...
i see the flush() and ob_end_flush(), but I don't see where the output buffering is started with ob_start().
INSERT INTO imloop (', 'image1'') VALUES (','Z:\tmp\phpB8.tmp'')
Looks like you've got some messed up quotation marks in your query.
a single quote for the first var, and a mixed (open single,...