546 Posted Topics
Re: All of the 'href' value needs quote. You have already used double quote for php, so use single quote or use double quote by escaping it. [code] echo "<a href='" . $_SERVER['PHP_SELF'] . "?page=" . $nextpage . "'>Next</a>"; [/code] or [code] echo "<a href=\"" . $_SERVER['PHP_SELF'] . "?page=" . $nextpage … | |
Re: What is the unique of 'tableheader' ? Is table cell or table ? If it is for table, your table has only '30px' width and has very small area for each cell in this table. Table can wrap it content and automatically set it's width related with the content inside … | |
Re: [URL="http://www.tech-recipes.com/rx/1489/solve-php-error-cannot-modify-header-information-headers-already-sent/"]http://www.tech-recipes.com/rx/1489/solve-php-error-cannot-modify-header-information-headers-already-sent/[/URL] | |
Re: [code] $_SESSION['error'] = 'Error'; [/code] | |
Re: How about the 'display: inline-block' ? [code] .bluegradient { display: inline-block; } [/code] I noticed this bugs for months. It commonly see when the first child element has set the vertical-margin. | |
Re: [code] ul.dropdown { float: left; position: relative; z-index: 597; } [/code] Float ignore the auto margin. | |
Re: I check your site with Firebug Developer Tool. The DIV with unique ID 'main' is not correctly nested and it child element or content are out of the normal flow. It may be the float or absolute position. Add this to your code: [code] #main { overflow: hidden; margin-bottom: 33px; … | |
Re: How did you saved the image? Did you use upload form for image upload and store the only file name in the database ? Check manual in your mysql tables, how does the image store, and what type of the field. | |
Re: Try to limit the records for each page. And pass the parameter via the pagination link and use these parameters for retrieving records. There is some ways for this process and you can choose your convenient way. | |
Re: What errors do you get ? I wanna mention that this forum is PHP forum and your thread beseem with Javascript forum. Move your thread to the Javascript forum or start a new thread in Javascript forum. | |
Re: Change [code] $var_list = explode("\n",$var_data); [/code] to [code] $var_list = explode("\r\n",$var_data); [/code] | |
Re: You should together two floated input boxes within one div. The input are inline element and you can simply position line by line. [code] <div><input type="text" /><input type="text" /></div> [/code] Attach margin property for a littler far from the two input box. Put 'overflow:hidden' to the div which held the … | |
Re: Why not CSS 'hover' ? [icode]a:hover { background: url('yourimage.jpg'); }[/icode] You should not use javascript ( onmouseover ) and ( onmouseout ) event for this simply matter. | |
Re: Post some your codes or link to the site. We can't help without seeing any codes. | |
Re: [code] $result = mysql_query("SELECT * FROM tbl_localnews ORDER BY local_date DESC LIMIT 10"); [/code] | |
Re: How do you receive the data via form. I see no '$_POST' or '$_GET' or '$_REQUEST'. You wouldn't get any data if you are using the form. [QUOTE]$query = "INSERT INTO vartotojai SET vardas = '$vardas', slaptazodis = '$slaptazodis', el_pastas = '$el_pastas', avataras = '$avataras', parasas = '$parasas'";[/QUOTE] Where are … | |
Re: Try this [code] html, body { height: 100%; min-height: 101%; overflow: visible; } [/code] The scrollbar will always show no matter how much content the page has. | |
Re: Here is example for CSS pop-up menu. Horizontal [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title></title> <style type="text/css"> <!-- #menu { background: #f0f0f0; border: 1px solid #ddd; height: 33px; margin: 0; padding: 0; } #menu li { border-right: 1px solid #f8f8f8; display: block; float: left; height: … | |
Re: Post some of your codes that you thought it is not working. | |
Re: [code] <body style="background-image:url('image.jpg'); background-repeat:no-repeat; background-position: 50% 50%; background-attachment: fixed;"> [/code] That is all. You should use CSS that is more comfortable than HTML attributes. And also HTML is for content structure and CSS is the representation of the content. | |
Re: [QUOTE]$sql="insert into personal_ex(Personalexperience,Sex,Age,Sexuality) values ('$post[Personalexperience]','$post[Sex],$post[Age]','$post[Sexuality]')";[/QUOTE] What is the '$post[]' ? Is it the php array or the HTTP_POST_VAR ? The correct use of the HTTP_POST_VAR is '$_POST['var']' or '$_REQUEST['var']'. | |
Re: Try this one: [code] document.getElementById(toPopulate).innerHTML = "<a href='javascript:showOtherContent(\"" + toPopulate + "\");'>show</a>" [/code] Hope this help. | |
Re: Wrong forum. Move your thread to the relavant forum such as C++ or C# under the Software Development. | |
Re: Use 'float' property instead of the 'absolute' position. It is the bad idea for using the absolute position for layout formatting. You can float these two layer 'logo' and 'sign-up' box left and right respectively. The absolute position calculate the browser or it parent which has the relative position, and … | |
Re: Well, how do you want to get the number of question ( pass the value via submitting the form or generating by javascript DOM element without page loading ) You can simply create text field automatically by using 'for loop' in both PHP and Javascript. Some examples: [code] In PHP: … | |
Re: What errors did you get? Form always required 'action', that is the url where the form data received and processed. [code] <form name="login" method="post" id="login_form" action="login.php"> [/code] I tested with IE7 and it sent the data finely. What version of IE are you using and what is the problem ? … | |
Re: [code] <script type="text/javascript"> document.getElementById('id1').onchange=function(){} </script> [/code] | |
Re: Line 9 and 21.[icode]objs[i].outerHTML[/icode] Replace 'outerHTML' with 'innerHTML'. I did not test and I am not sure it work not. You should post this thread in the Javascript forum. | |
Re: [code] <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> [/code] | |
Re: [code] <!--[if lte IE 7]> <link rel="stylesheet" href="ie.css" type="text/css" /> <![endif]--> [/code] You can use above codes in the HTML head tags for separating stylesheet for IE with other modern browsers. All modern browsers ignore above statement. You can choose IE version with 'gte, gt, lte, lt' which means (greater … | |
![]() | Re: Where '$_POST' var comes from? '$_POST' are always comes from via HTML form. Are you trying to show this page after submitting the form from the other pages. Your codes are not wrong, but the logic is wrong. Print some value if the '$_POST' var has not defined. [QUOTE]<?php if … |
Re: You can post some of your codes here. So everyone can see your codes and can find your problem. | |
Re: Makr sure that the field name 'UniqueIdentifier' is correct. Anyway, what is the type of this 'UniqueIdentifier' field ? Try with this: [code] echo "<option value='" . $uid . "'>" . $ln . $spacer . $fn . "</option>"; [/code] Instead of: [code] echo "<option value='$uid'>" . $ln . $spacer . … | |
Re: Use 'isset()' method to check the '$_POST' vars are already defined. [code] if(isset($_POST['site']) && isset($_POST['Record']) && isset($_POST['BMI']) && isset($_POST['Weight'])){ $site = $_POST['site']; $record = $_POST['Record']; $bmi = $_POST['BMI']; $weight = $_POST['weight']; $sql1 = "INSERT INTO intake2(site, Record, BMI, Weight) VALUES('$site', '$record','$bmi','$weight')"; $qyr = mysqli_query($cxn,$sql1); } [/code] You can use '$_REQUEST['']' … | |
Re: Have you already validate your markup ? [URL="http://validator.w3.org/"]http://validator.w3.org/[/URL] | |
Re: 'display: inline-block' would render the content according to the size of the content inside it. | |
Re: Your codes are non-standard and wrong syntax. You can't call two function with only one click event. And also the variable are not matching (randomRed,randomGreen,randomBlue), I don't see these three variable defined. It must be (red,green,blue). Try with below: [code] <html> <body> <form name="frmOne"> W2+: <input type="text" name="w" style="background-color:#123456;" size="5" … | |
Re: The 'float' property cause the cross browser issues. Here is a lot of techniques with CSS 'float' property. [URL="http://www.smashingmagazine.com/2009/10/19/the-mystery-of-css-float-property/"]http://www.smashingmagazine.com/2009/10/19/the-mystery-of-css-float-property/[/URL] [URL="http://www.smashingmagazine.com/2007/05/01/css-float-theory-things-you-should-know/"]http://www.smashingmagazine.com/2007/05/01/css-float-theory-things-you-should-know/[/URL] | |
Re: [URL="http://www.cssplay.co.uk"]http://www.cssplay.co.uk[/URL] One of the great CSS tricks and techniques. | |
Re: Try this: [code] #header { height: 231px; width: 100%; background-image: url('../images/header_background.png'); background-repeat: repeat-x; background-position: top left; text-align: center; } #grass { height: 231px; width: 100%; background-image: url('../images/header_grass.png'); background-repeat: inherit; background-position: bottom center; } #shadow { height: 13px; width: 100%; background-image: url('../images/shadow.png'); background-repeat: inherit; background-position: top left; } [/code] | |
Re: Have you already tried with 'em' instead of 'px' ? | |
Re: [QUOTE=;][/QUOTE] [icode]*{ margin:0px; padding:0px;}[/icode] It removed all default margin and padding. You list-item has no margin and the bullet is not visible. Try to fill padding within the list-item to see the bullet. [code] ul.a { list-style: disc; margin: 0; padding: 0 0 0 20px; } [/code] Hope this help. | |
Re: [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> [/code] Put DTD in your document. IE need DTD to support 'inline-block' property. | |
Re: Add 'position: relative' and 'z-index' property to the table cell greater than 'biographyphoto' z-index property. The example below has 10 for table cell 'z-index'. [code] #maintable td { position: relative; z-index: 10; } [/code] | |
Re: You forgot to put the 'id=tblSample'. In javascript function [icode]var tbl = document.getElementById('tblSample');[/icode], you took the element with 'id=tblSample', but there is no 'id=tblSample' in the HTML. You want to generate the text box in the table, right? Set the 'id=tblSample' to the table. Here it is [icode]<table width="200" border="1" … | |
Re: You should move this thread to the javascript forum. | |
![]() | Re: [code] ul#another-name li { display: block; } ul#another-name li.foo, ul#another-name li.bar { display: inline; } [/code] This is all I understand your question. Post your CSS code to know more clearly. |
Re: Post some of your codes you thought that the problem came from. | |
Re: [code] ("SELECT ap_info.ap_id, ap_info.f_name, ap_info.l_name, ap_info.dob, ap_info.email, ap_info.skype, ap_info.home_phone, ap_info.cell_phone, ap_info.home_add, ap_info.education, education.desc, ap_info.marital_status, marital_status.desc, nationality, start_date, end_date, driving, cycling FROM ap_info join education on education.unique_id = ap_info.education join marital_status on marital_status.marital_id = ap_info.marital_status where ap_info.ap_id = '2'") [/code] [code] ("SELECT languages_ap.lang_id, languages.language, languages_ap.speaks FROM languages_ap join languages on languages.lang_id … |
The End.