546 Posted Topics

Member Avatar for captain.don

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 …

Member Avatar for vaibhav1983
0
193
Member Avatar for Blazar

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 …

Member Avatar for Joenade
0
122
Member Avatar for hicman

[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]

Member Avatar for hicman
0
306
Member Avatar for heshanm
Member Avatar for daviddoria

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.

Member Avatar for daviddoria
0
850
Member Avatar for daviddoria

[code] ul.dropdown { float: left; position: relative; z-index: 597; } [/code] Float ignore the auto margin.

Member Avatar for daviddoria
0
7K
Member Avatar for drumichael87

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; …

Member Avatar for Adrian Kiwee
0
199
Member Avatar for Rizzuti

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.

Member Avatar for Rizzuti
0
305
Member Avatar for detelli

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.

Member Avatar for detelli
0
139
Member Avatar for mr-cracker

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.

Member Avatar for ko ko
0
117
Member Avatar for atticusr5

Change [code] $var_list = explode("\n",$var_data); [/code] to [code] $var_list = explode("\r\n",$var_data); [/code]

Member Avatar for atticusr5
0
135
Member Avatar for bspace
Member Avatar for fantasma

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 …

Member Avatar for fantasma
0
118
Member Avatar for khushbooatkol

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.

Member Avatar for ko ko
0
92
Member Avatar for pencils44

Post some your codes or link to the site. We can't help without seeing any codes.

Member Avatar for MJ Pieterse
0
96
Member Avatar for rolyestemonio

[code] $result = mysql_query("SELECT * FROM tbl_localnews ORDER BY local_date DESC LIMIT 10"); [/code]

Member Avatar for rolyestemonio
0
174
Member Avatar for DeadlyLife

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 …

Member Avatar for DeadlyLife
0
142
Member Avatar for drooblez23

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.

Member Avatar for ko ko
0
118
Member Avatar for apollokid

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: …

Member Avatar for ko ko
0
101
Member Avatar for someone5
Member Avatar for ko ko
0
93
Member Avatar for NewOrder

[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.

Member Avatar for SaintThomas
0
167
Member Avatar for Cstonehouse

[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']'.

Member Avatar for ko ko
0
94
Member Avatar for Blaise.M

Try this one: [code] document.getElementById(toPopulate).innerHTML = "<a href='javascript:showOtherContent(\"" + toPopulate + "\");'>show</a>" [/code] Hope this help.

Member Avatar for Blaise.M
0
169
Member Avatar for tantii

Wrong forum. Move your thread to the relavant forum such as C++ or C# under the Software Development.

Member Avatar for ko ko
0
71
Member Avatar for ixAndyix

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 …

Member Avatar for rajbdilip
0
223
Member Avatar for mtvaran

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: …

Member Avatar for monica singh
0
1K
Member Avatar for daneuchar

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 ? …

Member Avatar for daneuchar
0
97
Member Avatar for Buppy

[code] <script type="text/javascript"> document.getElementById('id1').onchange=function(){} </script> [/code]

Member Avatar for ko ko
0
69
Member Avatar for AMANDAInJS

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.

Member Avatar for ko ko
0
142
Member Avatar for dottomm

[code] <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> [/code]

Member Avatar for dottomm
0
127
Member Avatar for akhil9

[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 …

Member Avatar for ko ko
0
227
Member Avatar for Puster

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 …

Member Avatar for ko ko
0
128
Member Avatar for nikita.chandra

You can post some of your codes here. So everyone can see your codes and can find your problem.

Member Avatar for drjohn
0
382
Member Avatar for novedturn

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 . …

Member Avatar for novedturn
0
418
Member Avatar for woofy613

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['']' …

Member Avatar for woofy613
0
3K
Member Avatar for LELE7

Have you already validate your markup ? [URL="http://validator.w3.org/"]http://validator.w3.org/[/URL]

Member Avatar for LELE7
0
200
Member Avatar for vedro-compota
Member Avatar for vedro-compota
0
165
Member Avatar for Kniggles

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" …

Member Avatar for ko ko
0
203
Member Avatar for riverbay_media

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]

Member Avatar for riverbay_media
0
82
Member Avatar for mushget

[URL="http://www.cssplay.co.uk"]http://www.cssplay.co.uk[/URL] One of the great CSS tricks and techniques.

Member Avatar for Ritesh_4
0
90
Member Avatar for RisTar

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]

Member Avatar for ko ko
0
102
Member Avatar for alanlee9898
Member Avatar for RykeTech

[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.

Member Avatar for ko ko
0
127
Member Avatar for Lapixx

[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.

Member Avatar for Lapixx
0
113
Member Avatar for MJ Pieterse

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]

Member Avatar for MJ Pieterse
0
171
Member Avatar for jonasjo

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" …

Member Avatar for ko ko
0
176
Member Avatar for tldorr
Member Avatar for kiamzattu

[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.

Member Avatar for ko ko
0
204
Member Avatar for pympickle
Member Avatar for scrappedcola
0
90
Member Avatar for camerondane

[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 …

Member Avatar for camerondane
0
198

The End.