8,966 Posted Topics

Member Avatar for muhammed.anas.7583
Member Avatar for JoyBh

You can't use a header redirect if you have already outputted HTML.

Member Avatar for JoyBh
0
208
Member Avatar for Tko_1

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...

Member Avatar for Tko_1
0
538
Member Avatar for Lethugs

> i think there's no relationship between the description and transaction IID is in both tables. That is the link. (The table setup looks a little strange to me.)

Member Avatar for Lethugs
0
315
Member Avatar for KE50

The bullet is a specific character in the font. You can find it if you look in Windows charmap.

Member Avatar for pritaeas
0
285
Member Avatar for hwoarang69

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?

Member Avatar for pritaeas
0
123
Member Avatar for riahc3

That should work, although you need to escape the backslash and single quote. What's the problem?

Member Avatar for pritaeas
0
74
Member Avatar for napztor
Member Avatar for diafol

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 …

Member Avatar for rajppd
0
964
Member Avatar for HelloJarvis

> You want to remove a semicolon The first ereg_replace removes everything that's not a letter or a single quote.

Member Avatar for HelloJarvis
0
310
Member Avatar for rikkitikkitavi

If session cookies are disabled in your browser it doesn't work. Technically your PHP code is correct.

Member Avatar for jkon
0
687
Member Avatar for james.woods.50115161

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?

Member Avatar for pritaeas
0
692
Member Avatar for bimaljr
Member Avatar for suavedesign
Member Avatar for suavedesign
Member Avatar for Asan23

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?

Member Avatar for AleMonteiro
0
155
Member Avatar for Novice-in-php

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.

Member Avatar for Novice-in-php
0
138
Member Avatar for ferdinandviper
Member Avatar for complete
Member Avatar for hwoarang69

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 …

Member Avatar for pritaeas
0
147
Member Avatar for crownedzero

It would be the same as when you use it in a query. You should just be able to call `fn_findraise(variable1, variable2)`

Member Avatar for pritaeas
0
164
Member Avatar for hwoarang69

Since you are using gmail, it should work the same as on your localhost.

Member Avatar for radow
0
188
Member Avatar for stephen_UK

`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.

Member Avatar for stephen_UK
0
253
Member Avatar for <M/>

You'll need a script. What language? https://developers.google.com/analytics/devguides/reporting/core/v3/gdataLibraries

Member Avatar for nnehadixit
0
139
Member Avatar for LastMitch

> 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 …

Member Avatar for LastMitch
4
307
Member Avatar for alex910TN
Member Avatar for while(!success)

> Ddl_Teams.SelectedValue = "ID"; IIRC the SelectedValue should be one of the team names. I don't think you have a team named "ID".

Member Avatar for pritaeas
0
4K
Member Avatar for rexyspy
Member Avatar for pritaeas

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 …

Member Avatar for BigPaw
2
199
Member Avatar for hwoarang69

`item` should link to `sub`, and `sub` should link to `main`.

Member Avatar for pritaeas
0
142
Member Avatar for anilak
Member Avatar for sawmya

> 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.

Member Avatar for sais
0
786
Member Avatar for Mike Askew
Member Avatar for techyworld
Member Avatar for dharmendra1986

`mysqldump` creates an sql file. If you wish to import it again you'll need to use `mysql`

Member Avatar for dharmendra1986
0
210
Member Avatar for primzon

SELECT City, COUNT(Name) AS Population_number FROM Person GROUP BY City ORDER BY Population_number DESC LIMIT 1

Member Avatar for primzon
0
156
Member Avatar for xbat

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 …

Member Avatar for veedeoo
0
223
Member Avatar for <M/>

A hotel reservation website I once built also had some interesting challenges.

Member Avatar for <M/>
1
166
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
800
Member Avatar for HunainHafeez

Technically yes, but you need to use your ip address probably and use port forwarding on your router.

Member Avatar for JorgeM
0
194
Member Avatar for DelphiXE2User

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 …

Member Avatar for pritaeas
0
350
Member Avatar for kishoresai438

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.

Member Avatar for anthonydiaz680
0
164
Member Avatar for Avicii

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).

Member Avatar for Avicii
0
148
Member Avatar for romanromeo89

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.

Member Avatar for romanromeo89
0
1K
Member Avatar for gelki
Member Avatar for pritaeas
0
16
Member Avatar for moadah

There are plenty more frameworks. Choose one which you will be comfortable with (depending on your skill level).

Member Avatar for kevinp2012
0
127
Member Avatar for Spidermonkey
Member Avatar for aslamdoctor

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.

Member Avatar for pritaeas
0
171
Member Avatar for TimBob12

Have you tried using the debugger to step through the code line by line? Makes it much easier to spot the problem.

Member Avatar for pritaeas
0
281
Member Avatar for dancks

> 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?

Member Avatar for diafol
0
156

The End.