197 Posted Topics

Member Avatar for riahc3
Member Avatar for showman13

If I were going to use tables for a quick layout they would have been for the 3 columns at the top, but you have used floated divs, then further down you appear to be using a table where simple divs or paras are called for. I would start by …

Member Avatar for Zagga
0
214
Member Avatar for maharrington
Member Avatar for RoryGren

Are you able to provide an attachment of real data, of perhaps fake data that also results in the duplicate records?

Member Avatar for RoryGren
0
252
Member Avatar for zacharysr

Without looking at the js first things I see are 2 ids called "messages" each with display:inline.

Member Avatar for zacharysr
0
396
Member Avatar for mr.unknown
Re: php

I've recently added [The Uniform Server](http://www.uniformserver.com/) to my bookmarks. But I currently used [WAMP](http://www.wampserver.com/en/)

Member Avatar for jkon
0
256
Member Avatar for dbalas

Hi, I haven't thoroughly read this thread and the code, but just want to point out that you may need to click something in your email client to allow images to display.

Member Avatar for paulkd
0
498
Member Avatar for akkbkht
Member Avatar for EvolutionFallen
0
213
Member Avatar for Bibek_NS

I would say yes. Depends on your definition of **OS** and what features your **OS** will provide.

Member Avatar for paulkd
0
183
Member Avatar for davidjennings

For lazyness I've just updated your $_GET array $_GET['totalWeight'] = 0; for($i=0; $i<$_GET['packageCount']; $i++) { $_GET['totalWeight'] += $_GET['weight'][$i]; $_GET['volume'][$i] = $_GET['width'][$i]*$_GET['length'][$i]*$_GET['height'][$i]; }

Member Avatar for paulkd
0
227
Member Avatar for sushants
Member Avatar for meda shiva

You will need to use JavaScript and ajax. First you should create a php page that will return true or false for the values you are testing. e.g. yourwebsite.com/ajax/checkemail.php?email=someone@somewhere.com When you have done this your main page will use JavaScript to call the ajax page with the user input and …

Member Avatar for meda shiva
0
154
Member Avatar for marvin.gorres.5
Member Avatar for jelly46

There is no string **company name** in the code you published. The code you published looks okay. Is the error really with the code you have published?

Member Avatar for paulkd
0
160
Member Avatar for WDrago

Yes. If PHP.... http://php.net/manual/en/function.mysql-insert-id.php Although deprecated, has links to alternatives.

Member Avatar for Admin ESSL UK
0
167
Member Avatar for KyleSforza

[Javascript calculator with jQuery](http://blog.if-act.net/javascript-calculator-with-jquery/)

Member Avatar for imBaCodes
0
137
Member Avatar for turpentyne
Member Avatar for noahwilson

Like Squidge said. You are already accessing the database to display product information, so it shouldn't be difficult to add another column to contain productTitle information and inject it into the <title> tag.

Member Avatar for paulkd
0
390
Member Avatar for kliss.aemecrespin
Member Avatar for paulkd
0
87
Member Avatar for Violet_82

If your CMS allows you to use JavaScript and ajax to post data, you can get away without the form tag.

Member Avatar for paulkd
0
113
Member Avatar for Angle90
Member Avatar for ferdinandmucos
Member Avatar for paulkd
0
200
Member Avatar for GlenRogers

<form class="form1" action="linksaddform.php" method="post" enctype="multipart/form-data" name="links_upload_form" id="links_upload_form" style="margin-bottom:0px;"> <p><?php for($i=0; $i<9; $i++): ?> <b>Link</b> <input type=text name="alink[]"> <b>Description</b> <input type=text name="aname[]"><br /> <?php endfor; ?></p> <input type="submit" name="submit" value="Upload Links" /> <input name="submitted_form" type="hidden" id="submitted_form" value="links_upload_form" /> </form> <?php // include '../inc/connect.php'; if (isset($_POST['submit'])) { foreach($_POST['alink'] as $key => $notused) …

Member Avatar for GlenRogers
0
328
Member Avatar for joshl_1995

Are you looking to store a "history" of the value changes or to simply continue to overwrite them with each form submission?

Member Avatar for Webville312
0
211
Member Avatar for Kmhnz201

It looks like there already is a record with patientid = a67 I would expect patientid to be in your where statement (where patientid='a67') not in your update statement.

Member Avatar for paulkd
0
167
Member Avatar for sri.

I think you left out the display **result** bit.... $(document).ready(function(){ var array = ["foo","fool","cool","god",'searchstring']; var src_keyword=""; $("#search_str").click(function(){ src_keyword=$("#str_search").val(); result = find(array,src_keyword); console.log(result); }); }); function find(arr,src_keyword1) { var result = []; // alert(src_keyword1); //src_keyword1="oo"; for (var i in arr) { var search = new RegExp(src_keyword1, "gi"); if (arr[i].match(search)) { result.push(arr[i]); …

Member Avatar for paulkd
0
355
Member Avatar for savedlema

Have you thought about using a GUI - e.g toad or workbench ? http://www.toadworld.com/Default.aspx http://www.mysql.com/products/workbench/ and just run the script from within.

Member Avatar for savedlema
0
465
Member Avatar for Violet_82

I use the following meta tag:- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> There's a MS article here [Click Here](http://msdn.microsoft.com/en-us/library/cc288325%28v=vs.85%29.aspx)

Member Avatar for Violet_82
0
87
Member Avatar for geewebid

As a quick hack you could try amending if (DIRECTORY_SEPARATOR !== '\') on line 1064 to if (DIRECTORY_SEPARATOR !== '\\***') to see if the fallback function on 1118 works

Member Avatar for geewebid
0
349
Member Avatar for debasishgang7
Member Avatar for Tewhano

> This is for a collage assignment and we are not allowed to use jquery...They are only interested in the students using the tools they cover in the course. But you are using JavaScript. jQuery is simply a user defined JavaScript function. :)

Member Avatar for Tewhano
0
195
Member Avatar for Violet_82

What's really strange, is when I load the google developer tools and refresh, it corrects itself.

Member Avatar for Violet_82
0
411
Member Avatar for alyssa.wilkins.77

Hi, They look very similar to me in all but IE7. But, may I make some suggestions about the layout? Remove the "Store Number" line, and if you are not too fussed about the numbers lining up vertically put them to the right of the city e.g. Alabama (205)567-7843. Remove …

Member Avatar for alyssa.wilkins.77
0
190
Member Avatar for ivanichi

Hi, I'm not understanding what your goal is, so wondering if it can be achieved without looping. Can you explain some more scenarios of the makeup of your strings (haystacks) and chars (needles)?

Member Avatar for annaharris
0
446
Member Avatar for justzamir

justzamir, pixelsoul's question was > What exactly is it that is supposed to happen when you hover the image Do you want a different image to appear instead of the panda?

Member Avatar for justzamir
0
250
Member Avatar for Atlanta15Braves

Apologies, but I'm a big fan of jQuery. There are many solutions to problems. Here is a quick jQuery one. <div id="test"> <h2>Test</h2> <h2>change this text</h2> </div> <button type="button" onclick="loadXMLDoc('test1.txt')">Message 1</button> <button type="button" onclick="loadXMLDoc('test2.txt')">Message 2</button> <button type="button" onclick="loadXMLDoc('test3.txt')">Original</button> <p id="colour-buttons"> <button>Red</button> <button>Blue</button> <button>Black</button> </p> $(document).ready(function() { var colour = { …

Member Avatar for EvolutionFallen
0
409
Member Avatar for akkbkht

This HTML looks like [Click Here](http://www.w3schools.com/jsref/met_table_insertrow.asp) <!DOCTYPE html> <html> <head> <script> function displayResult() { var table=document.getElementById("myTable"); var row=table.insertRow(0); var cell1=row.insertCell(0); var cell2=row.insertCell(1); cell1.innerHTML='<input name="myinput" type="input">'; cell2.innerHTML="New"; } </script> </head> <body> <table id="myTable" border="1"> <tr> <td>cell 1</td> <td>cell 2</td> </tr> <tr> <td>cell 3</td> <td>cell 4</td> </tr> </table> <br> <button type="button" onclick="displayResult()">Insert …

Member Avatar for akkbkht
0
189
Member Avatar for ibn_sumal

In your form your price field does not contain an actual numeric - only the string "price" Your sql is not sure whether it is an insert (INSERT) or an update (SET) You need to add validation Here is some untested code to try and help you along. You will …

Member Avatar for ibn_sumal
0
423
Member Avatar for beginnerpals
Member Avatar for McLaren
Member Avatar for utchia
Member Avatar for branding4you

At line 6 (just before the error) add if(!$result) { echo mysql_error(); die; } to see what error is being reported

Member Avatar for branding4you
0
224
Member Avatar for Daniel Claff
Member Avatar for MuthuM123
Member Avatar for uzzal.dey.334

http://net.tutsplus.com/ http://www.smashingmagazine.com/ http://www.webplatform.org/

Member Avatar for JorgeM
0
219
Member Avatar for hanan-kh

Hi, Without looking at your code in detail I can see that you haven't executed the query. e.g. $result = mysql_query($strSQL,$conn); before your mysql_fetch_array line.

Member Avatar for hanan-kh
0
233
Member Avatar for Venter

The End.