Jump to content

wiegs

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

wiegs's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. figured it out. Just read the tutorial on the site.
  2. I am able to run the following from the command line: php /homepages/12/d160946013/htdocs/scwmls_files/daily_listing_load/ftp_listings.php but cannot get the command to execute in my cron file. 55 23 * * * php /homepages/12/d160946013/htdocs/scwmls_files/daily_listing_load/ftp_listings.php Can anyone help. I have been spending a lot of time on this and I want to get this resolved.
  3. I have just started to learn php and could use a little help. I have to list boxes. One that contains counties and the other contains cities. When the user selects a particular county, I want all cities in that county to show in the list box. The data on my table looks like this. mycounty(J0) mycity1(J0) mycity2(J0) mycounty2(J1) mycitys(J1) you can see that there is a key at the end of the string that can tie them together. I am guessing I will need to create an array with the county and city. Is that the best way. hope this makes sense. Thanks.
  4. [!--quoteo(post=355806:date=Mar 16 2006, 09:50 PM:name=hitman6003)--][div class=\'quotetop\']QUOTE(hitman6003 @ Mar 16 2006, 09:50 PM) [snapback]355806[/snapback][/div][div class=\'quotemain\'][!--quotec--] Something like this should work: [code]$s = "test2345.gif"; function getnumbers($str) {     $ret = "";     for ($i = 0; $i <= strlen($str); $i++) {         if (is_numeric($str{$i})) {             $ret .= $str{$i};         }     }     return $ret; } echo getnumbers($s);[/code] [/quote] this worked great. thanks!
  5. I need to figure out a way to extract only numberic data from one field into another. original data: test2345.gif results I would like: 2345 please help! I have spent way to much time trying to figure this out.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.