209 Posted Topics
![]() | Re: <?php $images = array('T1.jpg','I2.jpg','M3.jpg','E4.jpg'); $alt = array('Time','To','Tell','Toke'); foreach($images as $key=>$image) { echo '<img src="images/'.$image.'" alt="'.$alt[$key].'" />'; } ?> ![]() |
Re: You need to set the row fields name as an array. You should know the javascript or jquery for appent each rows without page load. ![]() | |
Re: Yes , it is possible. First you create a table for saving login time, an unique id and log out time. When a user login creates a unique id and save it in a session. Then insert the login time and unique id to the table. When user logged out, … | |
Re: http://docs.jquery.com/Plugins/Validation use this for validation | |
Re: You need to install CURL. Check this link http://www.php.net/manual/en/curl.setup.php | |
| |
Re: You need a uploading-folder with file permission 777 ... we use jquery uploadify for file upload http://www.uploadify.com/documentation/ | |
Re: **1; Set index.php** <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script> </head> <body> <?php session_start(); echo $timezone = $_SESSION['timezone']; ?> </body> </html> <script type="text/javascript"> $(document).ready(function() { if("<?php echo $timezone; ?>".length==0){ var visitortime = new Date(); var visitortimezone … ![]() | |
Re: Check this function check($width, $position, $base_string, $charSet,$combinations) { for ($i = 0; $i < strlen($charSet); $i++) { if ($position < $width - 1) $combinations .= check($width, $position + 1, $base_string.$charSet[$i], $charSet, $combinations); $combinations .= $base_string . $charSet[$i].'-'; } return $combinations; } $word = "Hel"; $combinations = check(strlen($word), 0, "", $word, … |
The End.