- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
72 Posted Topics
I wanted to pass two values to a click function and use the values to load a file in to a specific DIV. The file to load is called ‘displayTwo.txt' from the 'partialContent' directory and the DIV that the contents of the file will be place in has the ID … | |
I am trying to use a link from a menu item to call a javaScript function that uses jQuery to place the contents of an HTML file into a given ID within a DIV on a page. Here is the link that points to the specific DIV and the also … | |
I am looking for a jQuery tutorial that will show me how to do what I have heard called the garage door slide. Two panels that are initially closed, together. When a button is pressed or the panels are hovered over the panels move apart, one to the left and … | |
Apparently I don’t know how to insert a row into a MySQL data base using PDP and I would like to know what I am missing This PHP PDO script does not insert data into a database. I would like to know why. It does not error out but the … | |
I am looking for someone who has used jQuery in the capacity of assigning a value to a text area when the user clicks a radio button. Here is the example code I have worked on so far that does not work. [code] <div id="donationForm"> <form id="formDonate" method ='request' onsubmit='return … | |
In this HIML I am flipping an icon on a hover using CSS3 transform. When this HTML is run, the hover is contained in the vertical dimension but not in the horizontal dimension. I wonder if anyone know why? <!DOCTYPE html> <html> <head> <title>Flip Card Demo title</title> <meta charset="UTF-8"> <meta … | |
Anyone familiar with Compass to help solve a problem with sprites loading. The markup in the compile CSS points to the wrong address for the loading of the sprites. Here is the generated CSS /* ===================================================== */ /* Sprites /* ===================================================== */ .spr-sprite, header h1 { background-image: url('/images/spr-sf52e1e883c.png'); background-repeat: no-repeat; … | |
I need help in referencing the name of each individual database attached to a MongoDB instance. I just want to connect to a database with PHP and list the names of all the databases. In the code below I can connect to MongoDB instance and find all the databases. I … | |
I am learning mongoDB , version 3 and I wanted to create a collection with two fileds, a date field and a descrition field. When I try to insert a document with the below syntax, from the mongo shell, I get an error and do not know how to correct … | |
I have the below data and I would like to find out how many sets I have and how to access each key value pair in javaScript. response[ {"RECORD_NUM":967,"DATE_FIELD":"1736-01-19","DESCRIPTION":"James Watt, inventor of the steam engine, was born in Scotland."}, {"RECORD_NUM":1002,"DATE_FIELD":"1747-01-19","DESCRIPTION":"Johann Bode founder of \"Bode's Law \" dies"}, {"RECORD_NUM":1111,"DATE_FIELD":"1770-01-19","DESCRIPTION":"Battle of Golden … ![]() | |
When I tried writing a question to ask for help, I don't see the tool bar, and then can't enter code. How do I see the tool bar? | |
I have been looking at this code and can't see the errors. I would like as a test for myself to post a SQL query to a PHP file and do the query and return the selected rows. So what is wrong with this POST, and how do I pickup … | |
This question is about querying an XML file. The file structure is below: Inline Code Example Here <?xml version="1.0" encoding="UTF-8"?> <descriptions> <image> <name>run.jpg</name> <text>Running around the lake</text> </image> <image> <name>sail.jpg</name> <text>Sailing around the lake</text> </image> <image> <name>track.jpg</name> <text>Tracking up the mountain</text> </image> ... <image> <name>Steven.jpg</name> <text>Steven Bullon is a photographer</text> … | |
I the objective of the code that I attached this note is to Collect data in a form. Post to a PHP file where the collected information is turned into a JSON Write the JSON information to a file Return the JSON and print it to the an ID in … | |
This is a novice question and I hope some one can help. So far I have written 2 forms and a 3rd file. The first pulls every record from a table where the user can choose to modify a particular record. On the second form the user modifies the record … | |
I’m trying to patch a routine and I finally found the problem. I am given the following string: [code] $query = "SELECT title, DATE_FORMAT(event_date, '%Y-%c-%e') AS event_date FROM $dbTable WHERE event_date LIKE '$year-$month%'"; [/code] In the month variable at the end, for the months January through September I am returned … | |
I am looking for help to write a query. I have a database with an ID a Date_Field and a Description. I want to find out two things What Date_Field and Description and Description are the same? {duplicate records} [code] SELECT * FROM TIME_TABLE t1 WHERE EXISTS ( SELECT * … | |
I have a jQuery post problem. I am sending information from a form with a jQuery click function. [code] $("#donateButton").click(function (){ $.post("creditCardAuthorize.php", { amount: $('#amount').val(), description: $('#donation').val() }); $('#rightContent').html(ajax_load).load('content/creditCardAuthorize.php'); }); [/code] The problem is that on some browser it goes to the correct page, but on others it goes to … | |
I the found the link below when I was researching how to get a random record for a database. This article is about speed in retrieving a random record and I found in my test that speediest solution brought about the most duplicates. [url]http://akinas.com/pages/en/blog/mysql_random_row/[/url] I am hoping some one has … | |
I am trying to add a secondary level to Chris Coyer Magic Line menu. I have made some progress but it is not complete. Right now I am stuck on 3 spots to make it complete. The placement of the secondary menu, the overlay of the secondary menu and the … | |
My memory informs me that this is the third time I have tried to upgrade to a 5.3 version of PHP and failed. As best as I can tell, I am not downloading the correct combination of PHP and most likely the Apache server to get a working developing environment. … | |
I was taking a tutorial on PDO with PHP and MySQL and noticed I could not generate an exception from this code. I wonder what setting I need to put in place to generate the exception. If I shut down MySQL I can generate an error but with MySQL running … | |
I am playing with LESS and Bootstrap again, and was having lots of fun making it work with the Netbeans 7.4 IDE. When I set about some practical work, like changeing the background color of the site I realize I could not do this even after some web research. So … | |
I am having problems accessing what for me is a complex JSON object. I successfully interrogated the Open Weather API and received a good response. What I am not accessing, and don’t know how to, is the individual items of the weather portion of the list group while in a … | |
I am using twitter boostrap for a conversion project that I am workng on. I need to change the color of the Nav-bar, the links color, hover color of the links and finally the default size of the text of the links. Can you point me to a tutorial to … | |
In working with a page for a website, I don’t understand two behaviors of the CSS HTML script. The site is located at http://rouse.ws/abcwiresales/index.html In the middle of the page I want to have two <div> s that I call picture box left and picture box right next to each … | |
The non-profit that I am volunteering with would like me to write code that interrogates FaceBook and retrieve a list of all the individual who are their friends so they can send them an email of their next meeting. I would like to find out how to get the friend … | |
I have two forms on a page. Each calls some javascript code. One goes to paypal and one that goes to a send mail routine. How can I distinguish between the two so they don’t obstruct with each other? Contact form descriptor: <form action='sendMail.php' method='post' id="contact-form" class="form-horizontal" > <fieldset> … … | |
Anyone out there have a working system of PHP and xdebug on Windows 8 using an installed version of Apache server? For me this means you installed all the packages and this is not a WAMP system. If you do, would you let me know the file names of the: … ![]() | |
I have two immediate problems with the code I am working with. I have an area when I hover over it makes visible prompts to social media sites. But I don’t know how to keep the prompts visible while you choose the site that you want to visit. Secondly as … | |
I ran across a menu at the City of Minneapolis web site. Here is the link: http://www.minneapolismn.gov/bicycles/bicycling101/bicycles_understandingthelaw Has any of the readers of this forum seen a template or tutorial for this format. Notice the markings to let you know where you are and what is your current selection. Thanks! | |
Below is the visual framework for a practice slide show I am tutoring my self with. In webkit browsers and Firefox I get the controls to line up correctly, but on IE8 the far right control drops out and goes lower than I would expect. I have attached the code … | |
I am writing some learning code to convert an XML file to a JavaScript array. So far I can convert from XML to JSON with this: [code] <?php $xmlStr = simplexml_load_file("xml/galleryXML.xml"); $jsonStr = json_encode($xmlStr); ?> [/code] I don't know and can't find a way to convert to a JavaScript array … | |
I am trying to write a practice slider file and in doing the layout I have two problems with CSS. I would like to align the DIV that holds the controls exactly under the slide show box with out using the left margin in the CSS style if possible and … | |
Is there a PHP variable that holds the page title? I would like to get a hold of the title of the page that I at,(The text at the top of the browser) for later storage. Thanks! | |
My script is dies at the start when I try to devine a SplFixedArray and I don't know how to find the error. Help would be appreciated... [CODE] <? error_reporting( E_ALL ); // Initialize the array with a fixed length $array = new SplFixedArray(5); [/CODE] Thanks! WBR | |
I have a table with 3 columns, a record_num, a date field, and a description. In the date field there can be some rows that have a distinct date and others that have the same date. I wanted to take a look at all the rows that have dates that … | |
I need to iterate through a JSON object in JavaScript or jQuery that is returned from a PHP file with the a json_encode function call: echo json_encode ($varDump); The beginning of the JSON objects looks like the following: ["date","Rescription",{"date":"1715-05-03","description":"Edmund Halley observes total eclipse phenomenon \"Baily's Beads\""},{"date":"1765-05-03","description":"1st US Medical school opened"},{"date":"1797-05-03","description":"Jamaica … | |
In searching the web I can’t find a clear explanation of how to define an array with a key value combination and then how to reference the elements. I want an array that has a key of date and description, this is for a MySQL result set. This seems to … | |
A new site that I have to work with requires me to use putty to connect to the site if I want to work remotely as opposed to logging in to their phpMyAdmin to manipulate my data.. I am unfamiliar; please read that has having no knowledge of how to … | |
I am looking for a correct way to test a JavaScript regular expression for phone number and email address. This includes the RegExp string and the syntax. First the syntax: I am confused about using the quote mark (“) in defing the RegExp. Is it [code] var email_test = new … | |
I am writing a contact form using jQuery AJAX POST and PHP. The form works well and sends the email. What I want to know is how to get the return values for error and success on the same page where the contact form is rather than having the message … | |
I tried this code to center my main container, it works in FF, Chrome, and Safari, but not IE8. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <!-- Inline CSS --> <style type="text/css"> body{ background: black; } #container{ position: absolute; margin: 0 auto; width: 59.375em; height: 52.25em; … | |
In the following code I just want to disable the textbox if “other Amount is selected”, radio element 7. I have been working at this too long cause I can’t see the problem. Can someone point out what I am doing incorrectly [Code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" … | |
Can someone show me how to do the following? I have a variable named $day. If the value of $day is between 1 and 9 and it is represented by a single digit like “1”, I would like to set $day to 01. How would I do this? | |
I have a query that looks good to me but MySQL does not agree. I am using the DATE_FORMAT function and I do not see what is incorrect so I am hoping some one can point it out. [code] SELECT title, DATE_FORMAT(event_date '%Y-%c-%e') AS event_date FROM event WHERE event_date LIKE … | |
I was looking for a website that showed different examples of typography and the CSS definitions and the same for lists, ordered and unordered, tables and forms. If you could recommend any I would appreciate it. Thanks! | |
I am working on translating a website where instead of repotting the pages I just move the changed content into a <DIV> using jQuery “ajax_load”. The code is simple and of the form: [code] var loadCreditCardDonation = 'content/creditCardDonation.php'; $('#load_credit_card_donation').click(function(){ $('#rightContent').html(ajax_load).load(loadCreditCardDonation); }); [/code] I am now working on a page that … | |
I would like to run the javascript code in between the script tag on a button press, but the code runs as the page load. Please point out what I am doing incorrectly. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="html/html; charset=UTF-8" /> … | |
I have be struggling to turn the below while loop into a foreach loop with no result, so I am asking for help here on how to do this. [code] $query = "Select * from TIME_TABLE Where Extract(month from DATE_FIELD ) = DATE_FORMAT(NOW(), '%c') and Extract(day from DATE_FIELD ) = … |
The End.