8,966 Posted Topics
Re: What exactly do you need help with? | |
Re: You can't use a header redirect if you have already outputted HTML. | |
Re: You can use clearTimeout if you store the result of setTimeout in a variable, and pass that as parameter. Your code is missing several semi-colons... | |
Re: The bullet is a specific character in the font. You can find it if you look in Windows charmap. | |
Re: The purpose of committing is to update the older file to the newer version. I do not understand what you mean by "it removes older files". Can you give a more detailed situation sketch? | |
Re: That should work, although you need to escape the backslash and single quote. What's the problem? | |
Re: Are you using a database, or just static pages? | |
![]() | Re: For me, RainRpl is a valid option for a new site. The trouble of switching existing sites is not one I wish to take. Not because it is hard, but I'm just too lazy. I'm so used to my own set of tools, it's the first thing I copy. Next … |
Re: > You want to remove a semicolon The first ereg_replace removes everything that's not a letter or a single quote. | |
Re: If session cookies are disabled in your browser it doesn't work. Technically your PHP code is correct. | |
Re: Make sure `$full_list[ssctime]` is a timestamp. If there are characters in there, or perhaps when it is empty, it triggers this error. Where does that value come from? | |
Re: Remove lines 2 and 3. | |
Re: The file is not in the `banner-ads` folder. | |
Re: Looks in working order to me. | |
Re: Shouldn't you be using the click on the `li` instead? Do note that the hover will likely slide it up again. Can you show this online? | |
Re: Just pointing out what's in my sig: http://www.phptherightway.com/ If you do start, start right! Don't use the MySQL extension, use the latest possible version of PHP. Learn OO, because most of the newer PHP features use it too. | |
| |
Re: https://duckduckgo.com/api.html | |
Re: I suggest you read some of the documentation. The right way would be to have one master branch where the full working code is. If necessary, you can create branches from it if you need to work on something, and merge it back when done. The simplest setup would be … | |
Re: It would be the same as when you use it in a query. You should just be able to call `fn_findraise(variable1, variable2)` | |
Re: Since you are using gmail, it should work the same as on your localhost. | |
![]() | Re: `whilst` should be `while`. If the column types are chars, you must use single quotes. You may want to add error checking to see if the query failed. ![]() |
Re: You'll need a script. What language? https://developers.google.com/analytics/devguides/reporting/core/v3/gdataLibraries | |
![]() | Re: > When you define a constructor you must construct the parent to make the functions available to it Not entirely true. Calling the parent constructor only causes the parent's code to be executed, which assigns the passed name to the property. The functions are available anyway. The right way to … ![]() |
Re: Is this all the code you have? | |
Re: > Ddl_Teams.SelectedValue = "ID"; IIRC the SelectedValue should be one of the team names. I don't think you have a team named "ID". | |
Re: Can you post your query and the exception? | |
Went to a Microsoft Windows 8 Camp yesterday and I must say, it changed my view on Win8 entirely. The camp was focused on the store apps, so I'm not talking about the desktop apps that will still work as in Win7. The idea behind it is something I can … | |
| |
Re: > I want to know there is any authentication required or api key to access this service I suggest contacting that site. They should provide you with enough information to get going. | |
Re: `mysqldump` creates an sql file. If you wish to import it again you'll need to use `mysql` | |
Re: SELECT City, COUNT(Name) AS Population_number FROM Person GROUP BY City ORDER BY Population_number DESC LIMIT 1 | |
Re: If you use MySQLi correctly with bound parameters, injection gets very difficult. I prefer PDO because I can switch to a different server easily. Base your decision on what you need to make. For example, with PDO you can use the fetch object method that uses YOUR objects and injects … | |
Re: A hotel reservation website I once built also had some interesting challenges. | |
Re: In your test they are the same, because you handle the click on the A tag. If you would have a general click handler on a higher level (say the body), then the target would be the A (initiated the event), but this would be the body (as it owns … | |
Re: Technically yes, but you need to use your ip address probably and use port forwarding on your router. | |
Re: No, the Vendor property was specific to Netmasters, but I think you can safely do without it. Indy does have status events. I suggest you look at the events in the object inspector. It might be wise to look through Indy's documentation, so the porting process will be easier. If … | |
Re: I'd suggest using one or more of the major frameworks. You could start with the smaller ones, and work your way up into Zend or Symfony. | |
Re: SELECT COUNT(*) AS count FROM users This query will get only one row, you can use mysql_fetch_assoc to get it. Performance will be better. You can even join the three queries into one for better performance (or use a VIEW). | |
Re: Add: ini_set('display_errors', 1); error_reporting(E_ALL|E_STRICT); before the include and tell us if you get any errors if you just open your php file in the browser. | |
Re: Have a great idea, choose/learn the right tools, get at it. | |
Re: There are plenty more frameworks. Choose one which you will be comfortable with (depending on your skill level). | |
Re: You may want to take a look at Kirix Strata. | |
Re: It can be done by just overlaying two pictures. The (fe)male is the background picture, and the glasses on top of that. Just make sure that the glasses image is transparent. | |
Re: Have you tried using the debugger to step through the code line by line? Makes it much easier to spot the problem. | |
Re: > Wouldn't I just be better off with a strict policy with alphanumeric letters only for input, and check against preg_match("/[A-Za-z0-9]{8,20}/",$input,$match); if(implode($match)!=$input) { exit_error();} ? Spot on. Do strict checks. @diafol, so now I'm an elder statesman? ![]() |
The End.