609 Posted Topics
Re: SOAP is one of the types of api's that are available. Asking if a web api is better than SOAP is just like asking if a database is better than MySQL, which obviously would not make any sense since MySQL is just a type of database. What I can suggest … | |
Re: Check this out here and the section where it talks about dimensions https://dev.twitter.com/docs/embedded-timelines Maybe just set it inline on the link it self and see how that behaves? | |
Re: Javascript is not my strongest area but would it be better to do it this way? http://jsfiddle.net/pixelsoul/Py5kb/ Even if not, you can see the "if ( this.checked === true )" in there which should help you. | |
Re: This may work for you. This will accept a text file (which I called keywords.txt) and throw it into a string to match against. The words/phrases are delimited by "|" because I wanted to be able to match on commas and figured that was sort of an obscure character people … | |
Re: Why don't you just run one query for all of your galleries, then use only one array, and then loop through that? Then you would have something like this for a databast structure: Galleries (gallery_id,gallery_name,create_date) Images (image_id,gallery_id,image_name,file_path,upload_date) It would be a little more simplified this way. | |
Re: It still won't work even after correcting that spelling. You can't call the header function when you have already set the headers. You need to move it to the top of document with nothing above it. <?php header ('Location: http://www.google.com'); // -> Just testing if it redirects ?> <html xmlns="http://www.w3.org/1999/xhtml"> … | |
Re: <?php include "dbConfig.php"; $Y = $_POST["Y"]; $Y = mysql_real_escape_string($Y); $query = mysql_query("INSERT INTO (SubjectID) VALUES ('$Y')")or die(mysql_error()); ?> | |
Re: There is an option to call another function once the animation has completed. .animate( properties [, duration ] [, easing ] [, complete ] ) Check out the docs on here http://api.jquery.com/animate/ | |
Re: To add to this, I would recommend against storing your images in a database. Rather store them in a folder and then just reference the location/filename in the database. It's much more efficient. | |
Re: The first and best method that I can think of would be to setup a REST api on your server that the script on someone elses server would send a POST request to with credentials. You can serve the REST api over SSL and require credentials to post to it. … | |
Re: > I want it to stay within 80% of the page. What does this mean? Are you saying you want the width of the table to be 80% of the width of the screen? > I want each column to be a fixed width. I want it to show all … | |
Re: The only method I know of would be to use PHP FFMPEG to capture a frame from the video and generate an image out of it. You would need to see if it is already enabled on your host, or see if they even allow it. A lot of shared … | |
Re: When you open up Workbench go to the top menu and select "Database > Reverse Engineer". Put in the DB connection info and it will walk you through the steps. | |
Re: I've never tried that before. But, check this out to see if it helps http://stackoverflow.com/questions/1107551/css-strikethrough-different-color-from-text | |
Re: I don't see a table.. I only see a div with an id=table It isn't centered because you haven't told it to center. There isn't even a css for that id, but you do have a class for .table If it is really supposed to have the id=table on it … | |
Re: Try: SELECT DISTINCT(tbl_subjectsenrolled.SubjectID), tbl_subject.SubjectDesc, studentsubjectgrade.Finals FROM tbl_subject INNER JOIN tbl_subjectsenrolled ON tbl_subject.SubjectID=tbl_subjectsenrolled.SubjectID INNER JOIN studentsubjectgrade ON tbl_subjectsenrolled.SubjectID=studentsubjectgrade.subjectID WHERE studentsubjectgrade.StudentID='04-0044' | |
Re: http://jsfiddle.net/pixelsoul/p4vs6/ I am not sure what effect you were going for with all of the absolute positioning, floats, etc. I assume you were just trying to get the footer at the bottom of the page and that was all. I had to do a lot more than that to make … | |
Re: I don't know much about wamp. I can recommend http://www.apachefriends.org/en/xampp.html which comes with all of those in the same installer though. | |
Re: Yup, change this <label>About Me: </label> <textarea name="aboutme" id="aboutme"> </textarea> To this: <label>About Me: </label> <textarea name="aboutme" id="aboutme"></textarea> The white space in the textarea is allowing it validate. | |
Re: Change: $asset= "array(".$item.")"; To: $asset = array($item); | |
Re: You must of made some changes after you posted this. I checked out the site on a smaller resolution and it appears to look okay to me except for sometimes a little tiny bit of a picture will be out of the view. I see the images are resizing as … | |
Re: Give this a try and see if it works <?php // Connects to mysql $link = mysql_connect("host.com", "userr", "pass"); if (!$link) { die('Could not connect: ' . mysql_error()); } // Connect to database $db = mysql_select_db("products") or die(mysql_error()); if (!$db) { die('Could not connect: ' . mysql_error()); } $_GET['query'] = … | |
Re: Are you sure that works arti18? I am sure that it would be actually something like: if(isset($_SESSION['username'])) { } | |
Re: Have you thought about just storing the values in a cookie? As long as they don't have cookies disabled on the browser it would work fine. Have a look at this http://www.w3schools.com/js/js_cookies.asp | |
Re: It doesn't work because you are using DNS to resolve the domain name which will not recognize your hosting instance. With out control over DNS and the server it just won't happen. ![]() | |
Re: Which column are you wanting to compare against in the tables? ASCN_NAME? | |
Re: It is always a best practice to split data into many different tables rather than having fewer real large tables. | |
Re: Just store the array in a session variable like $_SESSION['whatever'] = $ser; And then at the top of all the pages that you need to call this one put start_session(); | |
Re: Not sure I am following your description very well. Do you have any example markup and more information about the intended functionality you are trying to achieve? | |
Re: If the query works in one variable, it should/will work separated out into three. He is just breaking it apart for his if statements. I am not seeing a problem with the query in a whole. Do you see results at all, or does it come up false without the … | |
Re: > font-family: 'Great Vibes', cursive !important; That is not a standard web font. Only someone that has it installed on their computer will be able to render the font, unless you use @font-face, which won't always work either because some older browser don't support it. You can use something like … | |
Re: My first piece of advice would be to post your code so we have an idea on how it works. There are many different ways of doing something. | |
Re: It appears you are missing a closing "}" for your foreach statement. | |
Re: You can learn PHP without knowing those other things. Using PHP in a project though will most of time require knowledge on your standard html, js, db. OP was correct though, the php manuel is the holy grail for information on PHP. | |
Re: I smell an INNER JOIN coming on... I have to leave the office right now, or else I would take an in depth look at it. I'll take a look at home later if no one else has come up with anything by then. | |
Re: This was a forum post originally from 9 years ago! lol. "geoocities.com", wow. It's like traveling back in time. | |
Re: You might try this RewriteCond %{REQUEST_URI} !(/$|\.) RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] | |
Re: inline-block <3 .gallery-post-grid li { list-style: none; float: none; margin-bottom: 25px; display:inline-block; /* For IE 7 */ zoom: 1; *display: inline; } | |
Re: I don't entirely understand the description. So you have a drop down with 50 states and another drop down with another list of options that you want to alter depending on which state was chosen from the first drop down? | |
Re: A couple of other sites I go to daily http://smashingmagazine.com http://net.tutsplus.com http://css-tricks.com You will find information on all of these sites regarding responsive design. | |
Re: You're asking for help for a problem that has to do with the CSS most likely, yet there is no CSS posted here. Post the entire code here on the forum, or if you have a complete example already online then that would be great too. | |
Re: It sounds like you could have register globals enabled. If it is then $_SESSION, $_GET, $_POST variables can all be referrered as just standard variable names. In other words, you will have naming conflicts if any standard variable named are declared with the same as the $_SESSION variable. e.g. $_SESSION['item'] … | |
Re: Yeah, you have to actually tell it what tables to join and where. It would be hard for me to tell how to write this since I don't know what needs to be joined but I would check out the following link and see the section about INNER JOIN. http://www.sitepoint.com/understanding-sql-joins-mysql-database/ | |
Re: A definitive answer would be quicker if this was up somewhere that we could see the page and get an idea on what the source looked like. | |
Re: I have not used a lot of different hosts so my opinion may lack some experience but I have used site5 for the last 3 years and have been happy so far. I had a couple of issues with them where the site went down but they are very responsive … | |
Re: Chrishea was saying that your question was so broad we wouldn't know where to begin to give you your answer. It would be like asking someone how I can make my car go faster and be more comfortable. I am basically asking someone to invest a lot of time and … | |
Re: Rendering HTML5 and CSS3 has nothing to do with where you are hosting the pages from and all of the rendering happens in the browser. If you are able to see the page as it should be in FF and IE on other computers but not on the computer that … | |
Re: If the file is not named with a .php extension then the server will not know to process the PHP code in it, so unfortunately you can't do it that way. | |
Re: Just a quick rough example of the way I might approach it: [CODE] <style> .hs_1{border:solid 1px;padding:5px;margin:0px;width:800px} .hs_1 ul{display:block;list-style:none;} .hs_1 ul li{float:left;border:solid 1px #CCC;max-width:150px;text-align:center;padding:10px;margin:5px;} .hs_1 ul li img{border:solid 3px #000;} .hs_1 ul li p{line-height:17px;} .hs_1 ul li a{text-decoration:none;} .clear{clear:both;} </style> <div class="hs_1"> <ul class="product"> <li> <img src="img/boots_womens_small.jpg" width="80" height="60" alt="womens boots" … |
The End.