Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
90% Quality Score
Upvotes Received
18
Posts with Upvotes
18
Upvoting Members
15
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
2 Commented Posts
4 Endorsements
Ranked #397
Ranked #540
~63.9K People Reached
Favorite Tags

130 Posted Topics

Member Avatar for nufftalon

In your html change the place of sidebar div with woocomerce-container div, make these changes: <div class="avada-row" style=""> <div id="sidebar" style="float:left;"></div> <div class="woocommerce-container" style="position: relative; margin-left: 24%; margin-right: 0px"></div> </div> I put inline style, but you put it in css file.

Member Avatar for Shubham_15
0
1K
Member Avatar for mohit2009

Try this: <? php include("includes/connect.php"); $select_posts = "select * from posts order by rand() LIMIT 0,2"; $run_posts = mysql_query($select_post); while($row=mysql_fetch_array($run_post)){ $title = $row ['post_title']; $date = $row ['post_date']; $author = $row ['post_author']; $image = $row ['post_image']; $content = substr($row ['post_content'],0,200); } echo "<h2>".$title."</h2>"; ?>

Member Avatar for Alberto Bucur
0
210
Member Avatar for Ana_2

Hi, First add in members table a field, lets named this field "role", and make it of type int. In this field put the level acces of the user. After that your SELECT can be changed like this: SELECT password, role FROM members WHERE username = :username AND active="Yes" Finally …

Member Avatar for fireburner29
-1
237
Member Avatar for shehnaz20

Hi, try this in your PHP code: - first move out of the while the echo with <form> definition - second, the checkbox echo "<input type='checkbox' name='chkbox1[]' value = '".$rows['id'] ."' />"; - third - how make the delete if(isset($_POST['delete'])) { $chkbox1 = $_POST[chkbox1]; } foreach($chkbox1 as $del_id) { $sql …

Member Avatar for ashokkmr22
0
191
Member Avatar for 68thorby68

Hi, Try somthing like this: html <body> <div id="div_left"></div> <div id="div_right"></div> <div id="div_middle"> <div id="slideshow"> <div> <img src="image_1.png" width="100%"/> </div> <div> <img src="image_2.png" width="100%"/> </div> <div> <img src="image_3.png" width="100%"/> </div> </div> </div> </body> css #div_left { width:25%; height:100%; float:left; text-align:center; background-color: lightblue; } #div_middle { position: relative; height:100%; margin-left: 25%; …

Member Avatar for markwelbar
0
261
Member Avatar for iquallsama

Hi, Yes, view this link for more infos: http://en.wikipedia.org/wiki/Responsive_web_design

Member Avatar for vinod1
0
251
Member Avatar for nevil120

Hi, Maybe this link will help you http://www.androidhive.info/2012/05/how-to-connect-android-with-php-mysql/

Member Avatar for timetraveller1992
0
168
Member Avatar for SimonIoa
Member Avatar for Athirah Yusri

Hi, Because in form definition you use method = "post" but, in your code you fetch $idURL using $_GET. Change `$idURL = $_GET['id'];` with `$idURL = $_POST['id'];` or the form attribute method with method = "get".

Member Avatar for Athirah Yusri
0
186
Member Avatar for aseel_1

Hi, Because you have some errors in your code: 1 `<script language="JavaScript" type="text/javascript">` replace with `<script type="text/javascript">` 2 `Function validate ()` replace with `function validate()` Function isnt a keyword for javascript. 3 `onsubmit=return "validate()" ` replace with `onsubmit="return validate()"`

Member Avatar for aseel_1
0
316
Member Avatar for iamthwee

Hi, Try this please ! <?php $arrayName[0] = array('id' => '2-0', 'parent' => 'null', 'tag' => 'li', 'name' => 'home' ); $arrayName[1] = array('id' => '1-0', 'parent' => '2-0', 'tag' => 'ol', 'name' => '' ); $arrayName[2] = array('id' => '0-0', 'parent' => '1-0', 'tag' => 'li', 'name' => 'about' …

Member Avatar for Alberto Bucur
0
2K
Member Avatar for Hannan_2
Member Avatar for [NOPE]FOREVER

Here is a simple: <style> .tableOuter { text-align: center; } .tableInner { text-align: center; margin-left: auto; margin-right: auto; background: blue; } #mytable { margin-left: auto; margin-right: auto; background-color: yellow; } </style> <body> <div class="tableOuter"> <div class="tableInner"> <table id="mytable"> <tr> <th>Customer ID</th> <th>First Name</th> <th>Last Name</th> <th>Phone</th> <th>Address</th> </tr> <tr> <td>xxx</td> …

Member Avatar for [NOPE]FOREVER
7
7K
Member Avatar for BERIHUN

Here an example: http://www.cppforschool.com/project/library-management-system.html

Member Avatar for BERIHUN
0
202
Member Avatar for BERIHUN

Here some examples: http://cppprojectcode.blogspot.com/2010/09/make-scientific-calculator.html http://www.mycplus.com/source-code/c-source-code/graphical-scientific-calculator/ www.youtube.com/watch?v=_EGGbe0yP60

Member Avatar for Alberto Bucur
0
206
Member Avatar for Lalise

Look here http://www.softwareandfinance.com/Visual_CPP/TextMode_Grid.html It's an example how to draw a text mode table.

Member Avatar for Alberto Bucur
0
116
Member Avatar for Priti_P

Hi, Try this simple: <?php $data = array ( array ('add1','add2','May 2014','ascascascasc',160), array ('Framework','hii','May 2014','ascascasc',161 ), array ('Framework','test framework 1','May 2014','asdasdasd',159 ), array ('Framework','test framework','May 2014','asdasdasd',149 ), array ('OS','other OS skill','May 2014','ascascASC',162 ), array ('Databases','test db skill 3','May 2014','bnmbnmbnm',158 ), array ('Databases','test db','May 2014','bnmbnmbnm',18 ), ); $count1 = count($data); $tab …

Member Avatar for Alberto Bucur
0
162
Member Avatar for Mz. Jackee
Member Avatar for ankit1122

Hi, PHP run on server side, Javascript run on client side. They cant exchange data directly, but you can use AJAX to send data from client to server with javascript and php. By the onther way PHP can write dynamic javascript code inside html page using <script> tag using some …

Member Avatar for Alberto Bucur
-1
257
Member Avatar for Jay_7

hi, Try to read this first: http://msdn.microsoft.com/en-US/library/cc793139%28v=SQL.90%29.aspx Try to use sqlsrv_query() instead mssql_query().

Member Avatar for veedeoo
0
428
Member Avatar for dlmagers
Member Avatar for Alberto Bucur
0
1K
Member Avatar for Siberian

Hi, This is work: if (document.images) { var myimage = new Image(); myimage.src = "images/smile.gif"; } //This get the paragraph with id = "one" var par = document.getElementById("one"); var gt =("<h1>"+document.title+"</h1>" /*"and" "<h2>"+document.URLUnencoded+"</h2>"*/); //This change the paragraph content par.innerHTML = gt;

Member Avatar for Taywin
0
152
Member Avatar for priyankaa121

1. Verify if your table named stud has field named ID. 2. Your form use method POST to transfer data but, in modif.php you get data using $_GET instead $_POST change ``$sql = "SELECT * FROM stud where id='".$_GET['id']."'"`` with `$sql = "SELECT * FROM stud where id='".$_POST['id']."'"`

Member Avatar for priyankaa121
0
283
Member Avatar for dev90

Hi, Do you want to display the file name from src in title of img tag? You can use this, dont need javascript for that: `<img src="img/test.png" title="test.png"/>`

Member Avatar for Alberto Bucur
0
230
Member Avatar for Ganesh_6

Hi, This `<form id="myForm" action="form.php","form1.php" method="GET">` dont work. But you can use two submit buttons in same form. HTML <form id="myForm" action="form.php" method="GET"> ..... <input type="submit" value="Action 1" name="act1" /> <input type="submit" value="Action 2" name="act2"> </form> When you submit a form, unset variables will evaluate false. PHP form.php if(isset($_GET["act1"])) { …

Member Avatar for Bachu
0
242
Member Avatar for tokick4

Hi, Your sql is wrong INSERT INTO plan_review_comment ( id_plan_review, employee_id, code_ref, comment, date ) values ( list of value separated by comma )"; The strings must be puted between ' too. What urtrived said is correct too, would be good to keep in mind.

Member Avatar for tokick4
0
376
Member Avatar for ckir5951

read this first: http://siliconstation.com/how-fix-php-notice-undefined-index/

Member Avatar for Alberto Bucur
0
123
Member Avatar for vishalonne

In translation: make an export of your table in a sql file. This file must contain a CREATE TABLE statment and some INSERT statment. Copy and past the content of this file here. With this sql code we can create our test table.

Member Avatar for joshmac
0
540
Member Avatar for david.roun.7_1

Hi, Try somthing like this: <script type="text/javascript"> function add(){ var first = document.getElementById("form").value; //The values will be separated by comma var second = first.split(","); var third = second.join(" + "); var x = eval(third); document.one.answer.value = third+" = "+x; } </script> Change only the script. The values in first fields …

Member Avatar for david.roun.7_1
0
197
Member Avatar for arafath077

Hi, Try to workaround this code: <?php $json = file_get_contents("San_Francisco.json"); $array_json=json_decode($json, true); //print_r($array_json); display_jsonarray($array_json); function display_jsonarray($array, $lvl_indent = 0) { $indent = ""; $istr = " "; if($lvl_indent > 0) { $indent = str_repeat($istr,$lvl_indent); } foreach ($array as $key => $value) { if(is_array($value)) { echo $indent.$key.": \n<br/>"; $lvl_indent = $lvl_indent …

Member Avatar for arafath077
0
224
Member Avatar for Manu_5
Member Avatar for jwenting
0
845
Member Avatar for centenond

Hi, I try this: <!DOCTYPE HTML> <html> <head> <title>Untitled 1</title> </head> <body> <div style="position:absolute; top: 0px; left: 0px; height: 100%; width: 100%; background: rgba(0, 0, 0, 0.6); "></div> </body> </html> and i dont have any scroll bar on browser. Can you give some details of your html and css code …

Member Avatar for centenond
0
445
Member Avatar for ngocham2001

try to use this library: http://phpexcel.codeplex.com/ or this: http://code.google.com/p/php-excel-reader/

Member Avatar for iamthwee
0
436
Member Avatar for maisara

Hi, Do you know what pseudocode is ? Read this: http://en.wikipedia.org/wiki/Pseudocode or this link: http://users.csc.calpoly.edu/~jdalbey/SWE/pdl_std.html Lets try a simple: set cot with 0 set ans with 'Y' read option case option of 'A': add inquiry 'V': view all inquiry 'F': read inquiry_number find inquiry with inquiry_number 'E': edit inquiry 'D': …

Member Avatar for vmanes
0
282
Member Avatar for KamranArshad

What is the error; ORA-XXXXX ? View this link too: http://www.php.net/manual/en/oci8.installation.php

Member Avatar for Alberto Bucur
0
106
Member Avatar for Lokman_1

Talk with hosting provider. I have this error. Network Access Message: The website cannot be found. I pinging toward www.zoombangla.com, server not respond. The IP of the server is 76.73.101.77. May be a DNS problem or a web server configuration problem or web server is stoped.

Member Avatar for almuniz
0
251
Member Avatar for cvandal

Hi, First what role have variable "count", because is allways 0. distance[count] is allways first element of the array in your code. Line 7: for (int j = i + 1; j < 10; i++) Why i++ and not j++ ? I supouse it's an error here. Try this: public …

Member Avatar for cvandal
0
212
Member Avatar for riahc3

HEX(), UNHEX() functions. http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_hex http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_unhex

Member Avatar for Alberto Bucur
0
102
Member Avatar for firedesire

Try to change this: trigger: function(e) { var lonlat = map.getLonLatFromPixel(e.xy).transform(crs900913, crs4326); alert("You clicked near " + lonlat.lat + " N, " + + lonlat.lon + " E"); } with this: trigger: function(e) { var lonlat = map.getLonLatFromPixel(e.xy).transform(crs900913, crs4326); document.getElementById("latbox").value = lonlat.lat; document.getElementById("lonbox").value = lonlat.lon; }

Member Avatar for Alberto Bucur
0
1K
Member Avatar for Tinnin

Try this: <?php foreach ($memberTestimonials as $member=>$testimonial) { ?> $('#testimonialMessage').fadeIn(5000); $('#testimonialMessage').html("<p><?php echo $testimonial; ?></p>"); $('#testimonialMessage').fadeOut(5000); <?php } ?>

Member Avatar for Tinnin
0
366
Member Avatar for RainaAnja

Hi, You can do that with 2 selects: For odd ids: SELECT * FROM table WHERE MOD(ID,2) <> 0 ORDER BY column ASC For even ids: SELECT * FROM table WHERE MOD(ID,2) = 0 ORDER BY column DESC

Member Avatar for Alberto Bucur
0
317
Member Avatar for smitsky

Hi, Why dont try to sort your vector in ascending mode ? After that the first element is the smallest, the second is the next smallest.

Member Avatar for mike_2000_17
0
301
Member Avatar for goutham.tandra

Hi, When you want to refresh the div content ? If you want to make a refresh(change content of the div) when the user click a button, just attach your function at onclick event of that button.(onclick = "your_function()").

Member Avatar for designershiv
0
764
Member Avatar for code_flea

Hi, Read the content of the file in a String String text = ""; String line = ""; while ((line = in.readLine()) != null) { text += line; } After that split the string into array, and display first 2 character of each element: for (String retval: text.split("-")) { System.out.println(retval.substring(0,1)); …

Member Avatar for Alberto Bucur
0
221
Member Avatar for david.roun.7_1

Hi, Try to change your script with this: function addhours() { var diff_days = 0; var diff_hours = 0; var shours1=document.getElementById('start1').value; var ehours1=document.getElementById('end1').value; //start time var time1=new Date(shours1); var time1a=time1.getTime(); //end time var time2=new Date(ehours1); var time2a=time2.getTime(); //Difference in hours var diff_x = Math.floor((time2a - time1a)/3600000); alert(diff_x); //but javascript return …

Member Avatar for Alberto Bucur
0
172
Member Avatar for spluskhan

Hi, Make this corrections line 21: $query = "SELECT * FROM company where Name LIKE '%$q%' limit $eu, $limit "; line 22: $count=$dbo->prepare($query); line 38: $query = "SELECT * FROM company where Name LIKE '%$q%' limit $eu, $limit ";

Member Avatar for spluskhan
0
233
Member Avatar for davy_yg
Member Avatar for rimfirelive

Hi, You link is defined wrong: <a target="_blank" href="http:www.rimfirelive.com/seis/index.html"></a> change it with: <a href="http://www.rimfirelive.com/seis/index.html"></a>

Member Avatar for rimfirelive
0
224
Member Avatar for Siberian

Hi, It's simple, but write("what") must be a function which return somthing; like this. function My_write(mystring) { return mystring; } ...... outputResults.innerHTML = My_write("what");

Member Avatar for Siberian
0
261
Member Avatar for kbhat.97

Because you dont have the file "process.php" yet. Just write this file with coresponding php code in it.

Member Avatar for Aleksenator
0
285

The End.