Results 1 to 7 of 7
Threaded View
-
25th Apr 2010, 04:09 PM #1OPMemberWebsite's:
maxneeds.infoOne source var - how to split?
Guys i have the following problem.
I made 2 buttons below each entry.
Working & Not Working.
When working button is clicked,a file named wknwk.html is saved in the place for current entry.But instead of that it saves the wknwk.html file in last 5 entries. Here some code
Code:$admin = $_SESSION[ fulladmin ]; if ($admin == yes ) { $str = $str . '<form method="POST"> <input class=submit type="submit" name="z3" value="Working"> <input class=submit type="submit" name="z3" value="Not Working"> </form>' ;} if(isset($_POST['z3'])) { $wknwk = $_POST['z3']; if ($wknwk=="Working"){$wknwk="Last checked : <font color=green>" . date("d/m/Y") . "</font>";} else {$wknwk="<font color=red>Dead link/s !</font>";} } $myfile = $comment_trackback_base.'wknwk.html'; $fh = fopen($myfile, 'w') or die("Having problems right now..."); fwrite($fh, $wknwk); fclose($fh);
Code:$comment_trackback_base = CONTENT_DIR.$y.'/'.$m.'/'.$entry.'/';
Thanks.
I need explode or something ?Porsche_maniak Reviewed by Porsche_maniak on . One source var - how to split? Guys i have the following problem. I made 2 buttons below each entry. Working & Not Working. When working button is clicked,a file named wknwk.html is saved in the place for current entry.But instead of that it saves the wknwk.html file in last 5 entries. Here some code $admin = $_SESSION; if ($admin == yes ) { $str = $str . '<form method="POST"> <input class=submit type="submit" name="z3" value="Working"> <input class=submit type="submit" name="z3" value="Not Working"> Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Split the hosting up.
By GeeZus in forum Feedback and SuggestionsReplies: 1Last Post: 13th Jun 2012, 01:44 PM -
Study finds open source is slightly better than closed source software
By ShareShiz in forum News & Current EventsReplies: 1Last Post: 29th Feb 2012, 04:41 AM -
does a streaming vid need to be split
By jetli68 in forum Tutorials and GuidesReplies: 2Last Post: 23rd Dec 2011, 12:00 PM -
Split avi
By zoug100 in forum General DiscussionReplies: 2Last Post: 20th Dec 2011, 05:40 PM -
How to split vps space ??
By shufol in forum Technical Help Desk SupportReplies: 2Last Post: 6th Nov 2010, 07:00 PM
themaCreator - create posts from...
Version 3.45 released. Open older version (or...