8,966 Posted Topics

Member Avatar for mynameisfish.22

There are websites where you can run a logo challenge, and only pay the winner. You'd have to google for it, I forgot the link.

Member Avatar for weekendrockstar
0
174
Member Avatar for chandub

[url]http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/114822[/url]

Member Avatar for Troy III
0
97
Member Avatar for ravi52542

[url]http://www.csszengarden.com/[/url] [url]http://jquery.com/[/url] And what has this to do with PHP ?

Member Avatar for anand01
0
93
Member Avatar for webwiz

If you can read the half copied file, get it's size and append to it, then yes, it should be possible, but not with copy. You'd need to use fseek/fread/fwrite.

Member Avatar for webwiz
0
333
Member Avatar for ashlock

You can't with URL masking enabled. Your DNS entries should change to point to your hosts nameservers. Check with your blog host and domain provider if this is possible.

Member Avatar for pritaeas
0
97
Member Avatar for bavenbabu
Member Avatar for pritaeas
0
178
Member Avatar for Danny159
Member Avatar for pritaeas
0
104
Member Avatar for jacob21

In your while loop, for the item that matches [iCODE]$q[/iCODE], add the following attribute: [iCODE]selected="selected"[/iCODE]

Member Avatar for jacob21
0
249
Member Avatar for Tristan2036

Remove the comma after category in your insert query. If you add error checking, you can find these mistakes very easily.

Member Avatar for Tristan2036
0
171
Member Avatar for timwhelan

If you use a while loop for all results, you can store the previous year, and check whether it has changed in the next loop. If it has changed, output the year, otherwise don't. [CODE] $year = 0; while ($result = ...) { if ($year <> $result['year']) { $year = …

Member Avatar for timwhelan
0
251
Member Avatar for danielbala

There's a lot of info on the subject online, but not much specific to PHP implementations. So start with Google and define the logic you want to build.

Member Avatar for danielbala
0
100
Member Avatar for jonow
Member Avatar for jonow
0
317
Member Avatar for veledrom

If this is executed locally, without a webserver, then the remote Javascript file will not be executed for security reasons. If you are running WampServer or XAMPP (assuming Windows) locally, then it should work.

Member Avatar for veledrom
0
121
Member Avatar for kingsonprisonic
Member Avatar for davy_yg

It's probably an error in Chrome/front-page.php, check your quotes in that file.

Member Avatar for emclondon
0
384
Member Avatar for qwest21
Member Avatar for h2so4_2003

getElementById returns an object. You cannot set a value to it. Try this: [CODE] var element = document.getElementById('action'); element.setAttribute('value', val); [/CODE]

Member Avatar for pritaeas
0
96
Member Avatar for ravi52542
Member Avatar for pritaeas
0
76
Member Avatar for chrislucas11
Member Avatar for diafol

Make a base class for your classes. Put your general functions there. Every descendant will have them.

Member Avatar for diafol
0
116
Member Avatar for dyingatmidnight

301 redirects don't get indexed, so they are useless in terms of SEO, and no, it will not blacklist your website, only slow it down.

Member Avatar for pritaeas
0
142
Member Avatar for bigstar
Member Avatar for pritaeas
0
65
Member Avatar for cartergarth

The latter makes a lot more sense to me. If you look at the [URL="http://docs.jquery.com/Plugins/Authoring"]jQuery manual[/URL] you see that the plugin name should be: "jQuery.fn.myPlugin", so why not use it as your filename in the same order too.

Member Avatar for pritaeas
0
92
Member Avatar for DelphiGuy

It's hard to make a design choice for you, but if I were to do this, I'd probably store it in the class. If the class is designed correctly, you can just stream the entire object to file/stream, and read it back in again (WriteComponent/ReadComponent).

Member Avatar for pritaeas
0
151
Member Avatar for nyancat

See [URL="http://php.net/manual/en/function.mail.php"]the manual[/URL], example #4.

Member Avatar for pritaeas
0
150
Member Avatar for Persi

If the value attribute is used without quotes, then the space (after Five in your case) will be assumed as the separator for the next attribute. [CODE=html] <!-- this was your output --> <input type='text' name='reg' value=Five Stars /> <!-- this is what it should be (as amitengg showed) --> …

Member Avatar for Persi
0
4K
Member Avatar for eduard77

[url]http://pear.php.net/manual/en/pyrus.commands.install.php[/url]

Member Avatar for pritaeas
0
91
Member Avatar for kutchbhi
Member Avatar for pritaeas
0
265
Member Avatar for DelphiGuy

You referring to the [URL="http://www.microsoft.com/download/en/details.aspx?id=18909"]SDK[/URL] ?

Member Avatar for DelphiGuy
0
209
Member Avatar for dantinkakkar

Happens to everybody... get over it. Give the right example, and don't fuss about it.

Member Avatar for dantinkakkar
4
227
Member Avatar for praveenphp

Two options: 1. Install a mail server. I think some people here mentioned Mercury for Windows. 2. Use PHPMailer (or a similar tool) and a GMail account for example. And yes, it requires recoding.

Member Avatar for pritaeas
0
104
Member Avatar for Danny159

[url]http://php.net/manual/en/function.strtotime.php[/url] Example #1: "+1 week"

Member Avatar for Danny159
0
110
Member Avatar for breakforce

Search this forum for pagination. There are several threads on the subject, with solutions.

Member Avatar for pritaeas
0
111
Member Avatar for danfel

Updating the question number in the database should do it. At the start of the code your retrieve it, so it should work as it is. I recommend to use this query though: [CODE] $query = "UPDATE user SET questionNo = questionNo + 1 WHERE name = '$_SESSION[user]'"; // execute …

Member Avatar for pritaeas
0
102
Member Avatar for andsonlhs
Member Avatar for anthonyjpv

Perhaps a database trigger. You can write an update trigger, that gets activated when a record changes. Then you decide to insert a record if the amount is high enough. If this is what you want, I suggest you have this question moved to the MySQL forum.

Member Avatar for anthonyjpv
0
97
Member Avatar for yanwick

@iamthwee: Nice tutorial. What the OP appears to be missing here, is that his PHP file is running in the background. The echo's will not display anything to the screen, but will be returned as data in the success function of the jQuery post. He really needs to read up …

Member Avatar for diafol
0
867
Member Avatar for extjac

@jkon: well said. I found this note somewhere which I really like: "We use static class when there is no data or behavior in the class that depends on object identity." Personally, I try to avoid static classes. The only exception is usually a factory class. Additionally, read up on …

Member Avatar for pritaeas
0
162
Member Avatar for s0bigg

Replace the links with a link that points to your PHP script, and pass the ID of the URL as it is in the database. Using that ID, you can then redirect to the link in question.

Member Avatar for pritaeas
0
129
Member Avatar for Karlwakim

A database is not necessary, but it will probably much easier to store/retrieve your ratings from a database, then for example a file.

Member Avatar for scarcella
0
149
Member Avatar for mombasageek
Member Avatar for Ancient Dragon
0
177
Member Avatar for trektrak

Not sure what you are after, but if you are just copying data you can use a single query: [CODE=sql] INSERT INTO `history_log` (`name`, `time`) SELECT `members`.`name`, `time_attendance`.`time` FROM members LEFT JOIN `log_time`.`time_attendance` ON `members`.`code` = `time_attendance`.`code` LIMIT 0, 30 [/CODE]

Member Avatar for trektrak
0
1K
Member Avatar for .kaine

Sounds like you need to google for "form builder". What you describe is something like Wufoo, Idega or Orbeon, but then hosted internally. An open source CMS like WebsiteBaker has it too. A narrower search can be performed if you know what platform you prefer to use.

Member Avatar for peter_budo
-5
310
Member Avatar for ShinyEdge

Have you tried this: [CODE] $('#uimage').fadeIn('slow', function(){ resize(); }); [/CODE] Are you sure there is no CSS for that id specifying a fixed width?

Member Avatar for ShinyEdge
0
223
Member Avatar for sidra 100

You will have to use a while for shift, just like you did for the second query.

Member Avatar for sidra 100
0
112
Member Avatar for vizz

[URL="http://api.jquery.com/hide/"]hide()[/URL] can use a callback function when done, so you should nest them.

Member Avatar for vizz
0
124
Member Avatar for vijiraghs

Your connect should use a DSN, not just the table name: [url]http://php.net/manual/en/function.odbc-connect.php[/url]

Member Avatar for pritaeas
0
3K
Member Avatar for boot-baby-boot

You will have to pass a page number back to your PHP file, and retrieve the next set of data. Search this forum for pagination.

Member Avatar for boot-baby-boot
0
144
Member Avatar for ritesh0104

[URL="http://www.php.net/manual/en/refs.webservice.php"]SOAP or XML-RPC[/URL]. Any reason why you don't want to use cUrl?

Member Avatar for pritaeas
0
69
Member Avatar for Longoro

[iCODE]addr[/iCODE] is not a column name. You should probably use [iCODE]addresse[/iCODE]

Member Avatar for Longoro
0
204

The End.