Jump to content

harpalsinh999

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by harpalsinh999

  1. You could use a print specific CSS stylesheet and hide everything but what you want printed. <div class="no-print">I won't print</div><div class="something-else">I will!</div> Just the no-print class will be hidden, but anything with a print class will show. <style type="text/css" media="print">.no-print { display: none; }</style>
  2. harpalsinh999

    please help

    how can i master in php at home.anything like web suggestion,tools i only have basic knowledge in php so give me suggetion for learn php at home ?
  3. http://www.thatagency.com/design-studio-blog/2009/02/up-and-down-slider-using-jquery/ GO TO URL SEE DEMO AND DOWNLOAD CODE
  4. http://msdn.microsoft.com/en-us/library/8b83ac7t.aspx Install / Properly configure an SMTP server on localhost port 25 Change the configuration to point to some other SMTP server that you can connect to
  5. also try this example <!DOCTYPE html><html> <head> <style> html, body { height: 79%;margin: 6px; padding: -5px;} #container { height: 46%;min-height: 654px;width: 1328px;} #iframe {display: block;height: 100%;width: 100%;} </style> </head> <body> <div id="container"> <iframe id="iframe" src="index.php"></iframe> </div> </body></html>
  6. u can scroll off using scrolling="no" in <iframe id="iframe" src="index.php" scrolling="no"></iframe>
  7. http://www.html-form-guide.com/contact-form/simple-modal-popup-contact-form.html go to this url
  8. here is example without javascript <!DOCTYPE html><html> <head> <style> html, body {margin:0; padding:0; height:100%} #container {height:100%; width: 1345px; min-height: 550px;} #iframe {height: 100%; width: 100%; display: block} </style> </head> <body> <div id="container"> <iframe id="iframe" src="index.php"></iframe> </div> </body></html>
  9. put this frame code in your code <iframe id="myframe" style="width: 100%; height: 623px;" </iframe>
  10. thenks u so much.
  11. it is right but i have just do for practise .so give me suggestion or code ...?
  12. my password field display * i change the symbol # how can i change ? help me. <?phpsession_start();ob_start();if(isset($_POST['username'])&& isset($_POST['password'])){include('config.inc');$login = mysql_query("SELECT * FROM user WHERE (username = '" . ($_POST['username']) . "') and (password = '" . (($_POST['password'])) . "')");if (mysql_num_rows($login) == 1) {$_SESSION['username'] = $_POST['username']; header('Location: login.php');}} ?><html><link rel="stylesheet" type="text/css" href="logincss.css" /> <head><title>My Login Page</title></head><body><form method="POST" action="login.php"><label class="text">Username</label><input class="area" type="text" name="username" size="20"><br /><label class="text">Password</label><input class="area1" type="password" name="password" size="20" ><br /><input class="button" type="submit" value="Login"> </form> </body></html>
  13. harpalsinh999

    please help

    i want make money online from work at home php javascript html give me suggetion ,website etc.
  14. it is getstate.php <?php$link = mysql_connect("localhost","root","");$dbSelected = mysql_select_db('pra_countrystate');$id="-1,";$sname="Select State,";$cid = $_GET['cid'];if($cid=="-1"){$response = $id."|".$sname;echo $response;}else{$result = mysql_query("SELECT `state_id`, `name` FROM `state` WHERE `country_id` = ".$cid." ORDER BY `name` ASC");while($row = mysql_fetch_assoc($result)){$id .=$row['state_id'].",";$sname .=$row['name'].",";}$response = $id."|".$sname;echo $response;}?>
  15. it is getcity.php <?php$link = mysql_connect("localhost","root","");$dbSelected = mysql_select_db('pra_countrystate');$id="-1,";$cname="Select City,";$sid = $_GET['sid'];if($sid=="-1"){$response = $id."|".$cname;echo $response;}else{$result = mysql_query("SELECT `city_id`, `city_name` FROM `city` WHERE `state_id` = ".$sid." ORDER BY `city_name` ASC");while($row = mysql_num_rows($result)){$id .=$row['city_id'].",";$cname .=$row['city_name'].",";}$response = $id."|".$cname;echo $response;}?>
  16. it is main file retrive here data of drop down but not retrive data ? not display country in the select list so plaese help me it is main.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></head><body> <table><tr><td>Country </td><td><select name="country" id="country" onchange="getState(this.value)"><option value="-1">Select Country</option><?php$cntry = mysql_query("SELECT `Country_Id`, `name` FROM country ORDER BY `name` ASC");while($row = mysql_fetch_assoc($cntry)){echo '<option value="'.$row['Country_Id'].'">'.$row['name'].'</option>';}?></select></td></tr><tr><td>State </td><td>: <select name="state" id="state" onchange="getCity(this.value)"><option value="-1">Select State</option></select></td></tr><tr><td>City </td><td>: <select name="city" id="city" ><option value="-1">Select City</option> </select></td></tr></table></body></html>
  17. u define fixed them like fixed:width fixed:height
  18. u use only select and option tag not use plugin
  19. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><script type="text/javascript"><!--function song(){document.getElementById('music1').innerHTML="<embed type='application/x-mplayer2' id='music2' pluginspage='http://www.microsoft.com/Windows/MediaPlayer/' src='"+document.getElementById('cancion').value+"' name='MediaPlayer1' width='300' height='70' controltype='2' showcontrols='1' showstatusbar='1' AutoStart='true'></embed>";}//--></script></head><body><div style="text-align:center;"><select name="" id="cancion" onchange="song()" size="1"><option value="none">::::::::::::: Choose Your Song Here :::::::::::::</option><option value="http://urltosong1.mp3">Song 1</option><option value="http://urltosong2.mp3">Song 2</option><option value="http://urltosong3.mp3">Song 3</option><option value="http://urltosong4.mp3">Song 4</option><option value="http://urltosong5.mp3">Song 5</option> </select><br><span id="music1"><embed type="application/x-mplayer2" id="music1"pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"src=""name="MediaPlayer1"width="300"height="70"controltype="2"showcontrols="1"showstatusbar="1"AutoStart="0"></embed></span></div></body></html>
×
×
  • Create New...