cjb
-
Posts
6 -
Joined
-
Last visited
Never
Posts posted by cjb
-
-
I'm using the strtotime function to define dates like:
$date1 = strtotime("third thursday");
How would I use this function to find the last thursday of the month?
$date1 = strtotime("last thursday"); gives the timestamp for last thursday instead of the last thursday of the month.
Thanks. :) -
Barand,
That worked, thanks.
-
I have a db of functions that are called on a certain criteria. I am trying to get those from the db to be called in a page. I try to [code]echo $function[/code] but all that happens is it prints the text out instead of calling the function 'function();'.
Is there some other way to echo the text function(); from a db other than using 'echo'? -
Thanks for the tutorial.
It suggest that you change any blog data types to text making it searchable. Does this mean you cannot search binary data? The only downfall of using text compared to longblob is the maximum length. I have large files to store in the DB and I don't think text will be enough.
Any other suggestions? -
Does anyone know of any good tutorials of searching a MySQL blob field of binary data. I have multiple types of files uploaded (.doc, .xls, .pdf). Is there a way to search this data with PHP?
date();
in PHP Coding Help
Posted
This will display every Friday of the current month, use the array $fridays for the unix time. Let me know if you have any questions.