546 Posted Topics

Member Avatar for BaSk

Did you already declare '$parent_menu' correctly? The error means that there is no 'ecount' unique key in the '$parent_menu' at the location of '$row->parentId'. Check '$parent_menu' with 'var_dump($parent_menu)', and make sure that there is array rooms which are associated with the unique key 'ecount'.

Member Avatar for tiggsy
0
100
Member Avatar for accessnws
Member Avatar for abhi10kumar

[QUOTE]<input type="checkbox" onclick="selectinactivebatch(this.value);" id="inactive_batch" name="inactive_batch" <?php if(isset($_POST['inactive_batch'])) echo "checked";?>>[/QUOTE] Where is the value of that checkbox ? You must have already put that checkbox value. Like: [code] <input type="checkbox" onclick="selectinactivebatch(this.value);" id="inactive_batch" name="inactive_batch" value="<?php echo $value; ?>" <?php if(isset($_POST['inactive_batch'])) echo "checked";?>> [/code] Hope this help.

Member Avatar for twiss
0
379
Member Avatar for solidrichard
Member Avatar for solidrichard
0
189
Member Avatar for kained

IE 7 and older cannot support pseudo element except anchor tags. Use black circle image as background-image and define the class to the first 'li' element and set the background-image in your CSS for the 'li' element and put appropriate spacing (padding left/right) to place the black circle.

Member Avatar for gogreen1
0
188
Member Avatar for suavedesign

Put DTD at the top of your HTML. IE ignore some CSS property while the DTD was missing.

Member Avatar for Arkinder
0
108
Member Avatar for maofree

Vertical margin or padding cannot apply to the inline-elements. Set the 'display: block' to alter the block-level for that inline-element will work perfectly.

Member Avatar for maofree
0
124
Member Avatar for branding4you

Try that: [code] <?php include_once "connect_to_mysql.php"; $extract = mysql_query("select * from tbl_competition WHERE fld_closed='N'"); if(mysql_num_rows($extract) < 0){ header( 'Location: nocompetition.php' ) ; } else{ header( 'Location: competition.php' ) ; } ?> [/code] Hope that help.

Member Avatar for branding4you
0
167
Member Avatar for Veneficus
Member Avatar for stonybony

You should not use '[]' by repeating in the loop. The '[]' will generate array room every time you assign it. You have 7 elements each time mysql_fetch looping. Specify the index for one looping. For example: [code] $count = 0; while ($row = $result->fetch()) { $output[$count] = '<tr>'; $output[$count] …

Member Avatar for Gerbiler
0
177
Member Avatar for bibiki

Check out there. [URL="http://www.w3.org/TR/CSS21/box.html"]http://www.w3.org/TR/CSS21/box.html[/URL], [URL="http://css-tricks.com/the-css-box-model/"]http://css-tricks.com/the-css-box-model/[/URL]

Member Avatar for ko ko
0
78
Member Avatar for Dragonbaki
Member Avatar for BzzBee
Member Avatar for workon
0
111
Member Avatar for jacob21

What mean the proper format ? Sorting, order or what ? Please be more precise will be appreciate for us.

Member Avatar for jacob21
0
154
Member Avatar for aPPmaSTer
Member Avatar for jpadgett

What error are you receive ? Post the error message. So, we can approach the problem quickly.

Member Avatar for MariahGwen
0
155
Member Avatar for rhuffman8

Try this one. [CODE]<!-- function Show_Stuff(Click_Menu) // Function that will swap the display/no display for // all content within span tags { var content = document.getElementById(Click_Menu); if (content.style.display == "none") { document.getElementById(Click_Menu).style.display = "block"; } else { document.getElementById(Click_Menu).style.display = "none"; } } -->[/CODE]

Member Avatar for rhuffman8
0
533
Member Avatar for xiiopao

Mail function does not work on localhost. If you want to test the mail function on your localhost, you need to setup the mail server on your machine. You can search on google.

Member Avatar for xiiopao
0
161
Member Avatar for Awah Mohamed

[QUOTE]<a href="profile.php?uid=<?php echo $id; ?>" title="Go to your profile" id="list">Profile</a><BR><BR> <a href="photos.php?uid=<?php echo $id; ?>" title="Go to your photos" id="list">Photos</a><BR> <a href="blog.php?uid=<?php echo $id; ?>" title="Go to your Blog!" id="list">Blog!</a><BR> <a href="friends.php?uid=<?php echo $id; ?>" title="Your Friends" id="list">Friends</a><BR> <a href="groups.php?uid=<?php echo $id; ?>" title="See your Groups" id="list">Groups</a><BR> <a href="pages.php?uid=<?php echo …

Member Avatar for ko ko
0
90
Member Avatar for trixma

The line-height with the form elements are depending on the browser and the version on each browser. In my experience, Firefox cannot understand the line-height property with the form elements while IE and other modern browsers are working well. Put the padding top/bottom is better and already solved for cross-browser …

Member Avatar for ko ko
0
126
Member Avatar for sandersen

Remove the white space and empty line before and after the PHP enclose tags. [code] <?php //Start your PHP code here. Do not left a space or empty line //End your PHP code here. Do not left a space or empty line ?> [/code]

Member Avatar for ko ko
0
134
Member Avatar for jimmyo88

Try this: [code] foreach($correctanswer as $answers){ if($answers[0] == TRUE){ echo "Your answer is true."; } } [/code]

Member Avatar for jimmyo88
0
170
Member Avatar for loolek

[QUOTE]else(state=='none') { document.getElementById(id).style.display = 'block'; }[/QUOTE] You don't need to put the expression into 'else' statement. Replace with below: [code] else { document.getElementById(id).style.display = 'block'; } [/code] Also, place the codes in code tags.

Member Avatar for loolek
0
343
Member Avatar for rajdevsohail

[QUOTE]$photo="http://www.facebook.com/dialog/feed?picture=http://facebookmini.zxq.net/upload/.$new_file_name['ufile']['type]."&redirect_uri=http://facebookmini.zxq.net/photoupload.php"[/QUOTE] Missing double quotes. Replace with: [code] $photo="http://www.facebook.com/dialog/feed?picture=http://facebookmini.zxq.net/upload/".$new_file_name['ufile']['type]."&redirect_uri=http://facebookmini.zxq.net/photoupload.php"; [/code]

Member Avatar for rajdevsohail
0
250
Member Avatar for flynismo

With the understanding of your question, I concluded that you might used the keyword of the items to delete from the cart. Using the 'id' number of the items is more simpler than using the keyword/name of the items. As you mentioned above, you may get the item with the …

Member Avatar for hielo
0
155
Member Avatar for klemme

[code] //Get the id for the row to delete $row_id = $_POST['linklabel']; //Write the query $sql = "DELETE FROM pages WHERE id=" . $row_id; //Execute the query $query = mysql_query($sql); if($query){ echo "The row is successfully deleted from the database."; } else{ die("Cannot delete the row. " . mysql_error()); exit; …

Member Avatar for klemme
0
198
Member Avatar for Barrett1
Member Avatar for inni2626

Simply show the small info of image such as the file name by following Kraai way. Use Javascript DOM for create more visual effects. For example, when the user hover the image, the description of the image appears with pop-up layer. And you can add more effect like fade-in/out as …

Member Avatar for ko ko
0
114
Member Avatar for ckdoublenecks

[code] mysql_query("select * from oocust") or die("Faile to select table " . mysql_error()); [/code] Using the error handling should be use with the coplex code block. Learn more about Mysql error types [URL="http://dev.mysql.com/doc/refman/5.5/en/error-types.html"]here[/URL].

Member Avatar for ko ko
0
249
Member Avatar for LloydFarrell

Post the codes where the problem that you think. Show us the focus and it may save our time.

Member Avatar for saliha
0
218
Member Avatar for spookies
Member Avatar for LogicWeb
Member Avatar for LogicWeb
0
94
Member Avatar for anirban1087

[code] $data = $_POST['input_field_name']; [/code] Catch the data with the above in the page that you want to process those data.

Member Avatar for anirban1087
0
134
Member Avatar for mrjoli021
Member Avatar for digital-ether
0
141
Member Avatar for annabananah

#container { height:1200px; width:1980px; margin: 0 auto; position:relative } Where is the container ? You might be forgot to wrap the site with this container.

Member Avatar for Joebhoy Designs
0
79
Member Avatar for alexia_net

[code] $dir = dirname(__FILE__); [/code] $dir will have the current directory of the file. So, you can import the file you want from the current file. Here is some example. [code] include($dir.'../somedir/somefile.php'); //somefile.php under the somedir folder which is same root of the folder that the current php file was …

Member Avatar for tomato.pgn
0
840
Member Avatar for debasishgang7
Member Avatar for WigglesMcMuffin

Check the file path of CSS. Is it correct place? You can easily check the file path by clicking the link of your CSS in the view source. If the CSS codes has been shown, the path is correct, otherwise, your path is wrong.

Member Avatar for WigglesMcMuffin
0
147
Member Avatar for hiyatran

[QUOTE]img.decor a:hover{background-color:#CCCCCC;}[/QUOTE] The syntax is a little bit wrong. In your HTML, the image tag is the child of the anchor tag. So it should be [icode]img.decor:hover[/icode] or [icode]a:hover img.decor[/icode]. Place the parent element or selector first, and the childs in the next hierarchically, as the structure of the HTML …

Member Avatar for ko ko
0
43
Member Avatar for Acids
Member Avatar for ko ko
0
174
Member Avatar for raghujosh

Concatenation needs period '.'. You need to place the period between the string or variable that you want to concate. [code] $string1 = "This is string 1"; $string2 = "This is string 2"; $string 1 . $string2; ---------------------------------- $string1 . ". " . $string2; [/code]

Member Avatar for ko ko
0
398
Member Avatar for azegurb

What is the purpose of what you are doing ? Send data without form or POST method ? You need HTML form in which data passed by this form and send to the specific CGI and process that data, otherwise use the GET method that passes via URL.

Member Avatar for azegurb
0
114
Member Avatar for ShandyElliott

[code] <!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" lang="en-us"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title></title> <style type="text/css"> <!-- body { height: 768px; margin: 0; padding: 0; } h1 { font-size: 14pt; margin: 0 0 10px; padding: 0; } #wrapper { background: #8a0202; height: 100%; margin: …

Member Avatar for ShandyElliott
0
360
Member Avatar for nats01282

You can store the value with the specific key. Like the example: [code] $health = array('chicken'=>20,'dragon'=>50,...); [/code] Then parse the value due to the options [code] $chr_health = $health[$_POST['chr_pet']]; [/code] Hope this help.

Member Avatar for smantscheff
0
357
Member Avatar for mdminternet
Member Avatar for tcollins412

[CODE]$query3="SELECT * FROM selling WHERE name LIKE %item% AND state='$state' LIMIT 0,30"[/CODE] Where does the '$state' come from ?

Member Avatar for ko ko
0
109
Member Avatar for fluffybunny69

[QUOTE]<script type="text/javascript"> $('#searchsubmit').click(function(){ var keyword = $('#se').val(); window.location = [url]http://www.domain.com/default.aspx?st=FT&ss=+keyword;[/url] }); </script>[/QUOTE] You need jquery library to work the above method. And [icode]window.location = 'http://www.domain.com/default.aspx?st=FT&ss='+keyword;[/icode] is wrong. Should be [icode]window.location = 'http://www.domain.com/default.aspx?st=FT&ss='+keyword;[/icode] You must link the jquery library to work the above method, or try with simple js. [code] <script …

Member Avatar for ko ko
0
226
Member Avatar for cab_driver
Member Avatar for preetg

I am not sure where do you want to insert the image. Insert image with message in Gmail, go to Gmail settings. Open the labs tab, there is a lot of application that can be working with gmail. Find 'Inserting images' and choose 'Enable', and then click 'Save Change', when …

Member Avatar for preetg
0
79
Member Avatar for samsons17

Where are you using CSS ? Is it in your document by embedding or external ? Post your complete HTML and it is close to find the problem.

Member Avatar for samsons17
0
1K

The End.