User Profile

Collapse

Profile Sidebar

Collapse
ExeByte
ExeByte
Last Activity: Nov 10 '15, 10:26 AM
Joined: Nov 6 '15
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ExeByte
    started a topic Can I use the same PHP program to call itself?
    in PHP

    Can I use the same PHP program to call itself?

    Hi All,
    May I write the following code in PHP?
    Code:
    echo '<ol><FORM NAME="HOUR" ACTION="TForm.php" METHOD="GET">'.
    				'<input type="submit" name="subDisplay" value="DISPLAY">'.
    				'<input type="submit" name="subThumbs" value="SLIDESHOW">'.
    				'<input type="text" name="JCC" size="12"
    ...
    See more | Go to post

  • ExeByte
    replied to Handling arrays with GLOB item
    in PHP
    Thank you You are right I do not need to reindex it. In fact I should have formulated the question in a different way. For that I will open up another thread.Thanks again.
    See more | Go to post

    Leave a comment:


  • ExeByte
    started a topic Handling arrays with GLOB item
    in PHP

    Handling arrays with GLOB item

    I have the following code to get the list of images from a directory. Then I will display them I manage to get them, but when I try to display I only see the first one:
    Code:
    array($timg);
      	$JCOUNT=0; 
      	$JTOT = 0;
    	$tts = $dirname."/{*.jpg}";
      	foreach(glob($tts,GLOB_BRACE) as $tt){ 	
    	$JCOUNT=$JCOUNT+1; print_r2("JCOUNT = $JCOUNT");
    	$timg[$JCOUNT] = $tt; print_r2("timg = $timg[$JCOUNT]");
    ...
    See more | Go to post
No activity results to display
Show More
Working...