8,966 Posted Topics
Re: It appears that it is not accepting the special characters. Perhaps because the document is ISO8859. Try converting it to UTF8. | |
Re: Why do you use a TEXT column to store a DATE value ? | |
Re: You could add padding-left to a paragraph's :first-letter css class and a padding-left to the br tag. | |
Re: I doubt this is possible by only using a regular expression. There are so many levels of nesting possible, I think you would need a parser instead. | |
![]() | Re: If this is your actual code then $quert should be $query |
Re: For building a function reference I like to use this one: [url]http://www.phpdoc.org/[/url] | |
Re: Did you check the SMF forum ? Found at least one thread discussing this. | |
Re: $r may return false if there is an error in your query. In that case your mysql_fetch_assoc will return the error message posted in your title. | |
Re: From the part you posted you may have too many single quotes. Note that an integer column does not need to have single quotes around the value. Can't say if there is anything else, unless you post your entire query. | |
Re: CSS does mark-up of your HTML. E.g. in your HTML you have an <a> tag. With CSS you can tell the browser how it should look (size, color, width, borders, etc.) Get your information here: [url]http://www.w3schools.com/css/[/url] | |
Re: If you change name into id, then check your javascript. If at some points you try to find the form by name, you must search by id instead. | |
Re: Did you get an answer to this ? Currently, the only thing I can think of is using a custom event, and using trigger to activate it. | |
Re: Found this, tried it and worked: [url]http://groups.google.com/group/Google-Maps-API/msg/e42d04b4eb884a3f[/url] [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Directions to Josh Gamble's</title> <script src="http://maps.google.com/maps?file=api&v=2&hl=nl&key=" type="text/javascript"></script> </head> <body> <div id="map" style="width: 400px; height: 400px"></div> <script type="text/javascript"> var gmarkers = []; var htmls = []; var to_htmls = []; var from_htmls … | |
Re: If you use the mysqli interface, you can concat all queries into a single string, separated by semi-colons. Then all will be executed after one another. The error-handling will be more difficult though. See here: [url]http://nl.php.net/manual/en/mysqli.multi-query.php[/url] | |
Re: Everything you need can be found here already: [url]http://www.php.net/manual/en/langref.php[/url] | |
Re: Search your files for "function ValidateEmail". It is defined twice. | |
Re: [code] $("#dd_a").mouseout(function() { $('#dd_about').slideUp(300); }); // or $('#dd_a').hover( function() { $('#dd_about').slideDown(300); }, function() { $('#dd_about').slideUp(300); } ); [/code] | |
Re: You can use any database (MSSQL, MySQL, Postgres, etc.) It probably depends on how you are going to create the front-end, i.e. what language are you going to use ? A web language like PHP or ASP.NET, or a compiled language like C#, C++ or Delphi ? | |
Re: Is this exactly the code that gives you the error ? I'm asking because you would normally get that error if you try to assign the unset to a variable. | |
Re: Show both pages. | |
Re: This doesn't qualify as an easter egg in my opinion. It is just a wrong error message, not unusual behaviour. | |
Re: In my opinion this is the best reference: [url]http://matthewjamestaylor.com/blog/perfect-3-column.htm[/url] | |
Re: It is possible to use a trigger. When you insert a new reservation with a room no, a function is triggered, in which you can set the room to unavailable. Mysql documentation has a lot of info about it. | |
Re: You can only jump to the sections, which are shown in the "Contents" block. Any others do not have a name link defined (in the case of wikipedia, at least). | |
Re: [url]http://code.google.com/apis/maps/documentation/overlays.html[/url] Scroll down to "Polylines". | |
Re: If you go to google maps, you can add a new address to "My maps". It will also present a piece of code, containing an iframe, that you can place on any of your pages. | |
Re: You can setup a cronjob to run a php file that runs an update query. ![]() | |
I can reproduce this bug in IE7 (and a colleague in IE6), my link is here: [url]http://www.pritaeas.net/tools/linkfarm/[/url] If you select a tag the list gets filtered and the tag added to the selected div. Unselecting it will reset the taglist, and remove() the tag from the selected div. Selecting another … | |
Re: [url]http://www.gnu.org/software/wget/[/url] | |
Re: Depending on your host you can set a cronjob to execute this file automatically. Contact your host, or search his website for documentation regarding setup of cronjobs. Often, you can do this in your CPanel (if you have one), but not all hosts allow it. | |
Re: The list-style-type applies only to a <ul> or <ol> tag, as you can read here: [url]http://www.w3schools.com/css/pr_list-style-type.asp[/url] | |
Re: The menu pops up using javascript, the image is in flash (you can see it if you right-click it). menu: [url]http://www.sohtanaka.com/web-design/mega-drop-downs-w-css-jquery/[/url] image: [url]http://www.queness.com/resources/html/slideshow/jquery-slideshow.html[/url] | |
Re: Try the following, it will give you the error message, so you can see what is wrong. Perhaps one of your fields contains invalid data. [code] $query = "INSERT INTO names (name, alignment, origin, archetype, primary, secondary, notes) VALUES ('$name', '$alignment', '$origin', '$archetype', '$primary', '$secondary', '$notes')"; if($result = mysqli_query($con, $query)) … | |
Re: Show your query. You can use UNION to combine the results of two tables. | |
Re: Yes, you could. But you need your router to allow forwarding, and I don't think your administrator will allow this, for security reasons. | |
Re: If you need javascript help, be more specific about your problem and post in the right forum. | |
![]() | Re: What does gethost($clienturl) return ? If it contains forward slashes the unexpected result can be explained, because they need to be escaped. ![]() |
Re: [icode]<?phpsession_start();[/icode] Should be: [icode]<?php session_start();[/icode] There are also some html problems in your code, e.g. <br \> should be <br /> | |
Re: I think it has to do something with inheritance of css properties, because if you change the padding-top of footer to 1px, the whole thing shifts down. I also get a javascript error. | |
Re: [url]http://www.iis.net/expand/URLRewrite[/url] [url]http://learn.iis.net/tags/URL+Rewrite+Module/default.aspx[/url] These are specific for IIS. There are quite some tutorials. Don't know any specifics as I'm not familiar with this. Hope it helps though. | |
Re: Are you sure there is an element with the id "wrong_"+temp ? | |
Re: MySQL ? Wonder why you posted in MSSQL forum ;) I use navicat for my mysql databases. Not too expensive, but a very nice application. The premium version can also connect to postgres and oracle. | |
Re: This will suffice: [code] $query="SELECT $retfield FROM $table WHERE $givefield='$val'"; [/code] | |
Re: You can just add it to the where clause [code] SELECT * FROM Employee WHERE EmployeeStat = 'Active' [/code] | |
Re: It is not the same, NULL means no value, '' means an empty string (although no characters, it is still a string value). | |
Re: I have two jQuery plugins that do something like this. One highlights (highlight) search text, the other one turns words on a page into wiki links (wikify). If you are interested, you can find them here: [url]http://www.pritaeas.net/public/jquery/[/url] | |
Re: [code] $referral2 = mysql_query("SELECT `upline` FROM `users` WHERE username = '$referral'"); [/code] $referral2 is a resource. You use this in your query. You should first use mysql_fetch_assoc to retrieve the column you need. [code] $result = mysql_query("SELECT `upline` FROM `users` WHERE username = '$referral'"); if ($result) { $row = mysql_fetch_assoc($result); … | |
Re: Your regular expression should be '^$letter.*' i think. It starts with a t and contains any number of any characters. Your current one will only match t |
The End.