Get relative path from absolute path
How would one go about getting the relative path to a file from its absolute path?
Different actions for different parts of a string
<?php
function dosomething($string, $else = '') {
if (empty($else))
$string
PHP/Database issue
My friend is helping me make a database where you go to a certain webpage of my site and the page wi
Check Date/Time in PHP
What I need the code to check is that $reQuest is 24 hours in the past then return a time based on h
News script
Hi ...
I am not sure if this is the rite place to post this but if its not sorry
i am
textfield unchanged
hi,
i want my form to know whether its textbox is unchange or not.
if($textbox == 'unchang
I face problems to extract data from one table and insert it in another one
Hi,
For modifications, I have to extract data from one table and insert it in another one
This must be easy , pulling the last record of the day, every day, from a txt
I have a txt file logging weather data every minutes (so 1 record per minute). I want to extract the
Confused with Loop
guys, i got confused with Looping...this is the case
I have 3 stocks, let say "Stock A&q
Must be a string? Huh, what? HELP?
with the following script, I get
Fatal error: Property name must be a string in /home/content/e/