Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Member Avatar for Vingklippt

I am trying to automatically resize the iframe to fit the content. Works great in chrome, firefox and opera. Fails in Internet Explorer. Ideas? <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Leontinas</title> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript"> var framefenster = document.getElementsByTagName("iFrame"); var auto_resize_timer = window.setInterval("autoresize_frames()", 20); function autoresize_frames() { for …

Member Avatar for Squidge
0
252
Member Avatar for Vingklippt

<?php require_once 'lib/swift_required.php'; $transport = Swift_MailTransport::newInstance(); $mailer = Swift_Mailer::newInstance($transport); $headers = "From: Sebastian@Thorn.se" . "\r\n"; $conn = new mysqli('localhost', 'root', 'rushndie', 'bookmarks'); $username = $_POST['username'] $result2 = $conn->query("select * from user where username='".$username."' and passwd = sha1('".$password."')"); $row = $result->fetch_object(); $email = $row->email; $message = Swift_Message::newInstance() ->setFrom(array('sebastian@thorn.se' => 'SEBASTIAN JOHANSSON …

Member Avatar for IIM
0
292
Member Avatar for Vingklippt

Hi. I'm trying to get my hover-effect to work , but the php seems to destroy the hoverfunction. My javascript works fine if I remove all php-code. What have I done wrong? <?php $host="*********"; // Host name $username="**********"; // Mysql username $password="geronimo"; // Mysql password $db_name="***********"; // Database name $tbl_name="****"; …

Member Avatar for Vingklippt
0
252
Member Avatar for Vingklippt

**<iframe width="608" frameborder="0" id="mainframe" name="mainframe" onload="$(this).height($(this).contents().height());" src="mindex/forratt.php" scrolling="no" /></iframe>** So I have written this code to automatically adjust the iframe to its content and it works fine. The thing is that when I access a page with a lower height, the height from the previous page stays put. I want …

Member Avatar for Vingklippt
0
273
Member Avatar for Vingklippt

**Okay, first of all, I'm quite new to programming at this level. I have managed to create a dynamic administrationpanel for updating the current menues of a restaurants homepage.** ISSUE - The more posts in the table, the longer the space between the page top and the databasetable gets. I’ve …

Member Avatar for Vingklippt
0
243
Member Avatar for Vingklippt

I am trying to create a form that updates mySQL-database. I've created three php-pages. **updatepizza.php** <?php $host="localhost"; // Host name $username="root"; // Mysql username $password="billie"; // Mysql password $db_name="cygna_fyraarstider"; // Database name $tbl_name="pizza_menu"; // Table name // Connect to server and select database. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot …

Member Avatar for Vingklippt
0
217