8,966 Posted Topics

Member Avatar for Jfunch
Member Avatar for cjohnweb

Possibly has something to do with the `loadHtmlFile`. If I use `load` (since your HTML is well-formed, using `$titles = $xpath->query("//html/div/p");` works as expected.

Member Avatar for pritaeas
0
679
Member Avatar for -==Zero==-

Just create an array containing all images, and set a javascript timeout function to change it.

Member Avatar for -==Zero==-
0
208
Member Avatar for grant.baker
Member Avatar for grant.baker
0
923
Member Avatar for ~ Jenan
Member Avatar for pritaeas
0
53
Member Avatar for Aardwolf

Perhaps if you explain what you are trying to achieve... Or show what's inside engine.php

Member Avatar for almostbob
0
84
Member Avatar for rathishcr89

You can use LIMIT in your query, but you won't be able to download more than a single file at once.

Member Avatar for pritaeas
0
68
Member Avatar for klemme

$(document).ready(function() { $('.fakta_li').click(function() { $(this).next().toggle(400); // <-- this represents the clicked element, next the following element return false; }); });

Member Avatar for Airshow
0
935
Member Avatar for BenzZz

It will be included just once for the duration of your script. Reloading the page restarts the script, thus including the file.

Member Avatar for broj1
0
144
Member Avatar for imti321
Member Avatar for pritaeas
0
159
Member Avatar for tibormarias
Member Avatar for gotboots

[URL="http://php.net/manual/en/book.mcrypt.php"]Mcrypt[/URL] is probably a good start.

Member Avatar for gotboots
0
209
Member Avatar for cr7489

Your preg works just fine if the variable holds a single word. I think we discussed this in another thread. Are you sure it's not caused by something else?

Member Avatar for cr7489
0
182
Member Avatar for KE50

Search for ReadComponent/WriteComponent. These are the functions also used to store them in the .dfm. You can use them to store them in a stream or string, and write that to the database.

Member Avatar for KE50
0
301
Member Avatar for antonioazevedo

You could do an extra check. If you strip_tags the input and count it. If it's shorter then you specified you can just return the input as result. Can you post a test script, with input and expected output?

Member Avatar for diafol
0
2K
Member Avatar for mtho
Member Avatar for TabishMerry

SELECT c.CompanyName, p.ProductName, p.TradePrice, s.TotalPrice FROM Companies c, Product p, SaleBody s WHERE c.CompanyId = p.CompanyId AND p.ProductId = s.ProductId

Member Avatar for JorgeM
0
165
Member Avatar for ab73745
Member Avatar for saadi06

`CURLOPT_NOBODY, TRUE` executes a HEAD request, not a POST request.

Member Avatar for pritaeas
0
224
Member Avatar for don't give up
Member Avatar for eburlea

Within the loop: $var = 'id' . $x; $$var = isset($_POST[$var]) ? $_POST[$var] : '';

Member Avatar for pritaeas
0
100
Member Avatar for loserspearl

The error sounds like you are trying to validate your CSS with an XML validator. Are you sure your tool supports the checking of CSS?

Member Avatar for pritaeas
0
124
Member Avatar for collinskawere
Member Avatar for JamesCherrill
Member Avatar for Dani
2
191
Member Avatar for ebanbury

You have a mismatch between `$_GET['recordID']` and `index.php?RecordID=`. Make sure they are identical.

Member Avatar for Biiim
0
4K
Member Avatar for Madriganoh
Member Avatar for stereoworld

There appears to be nothing after the LIKE. Are you sure your parameters are of the right type and in the right order ? Other thing, "PROPERTY_TYPE" is the only table without dbo prepended. Not sure if it matters though. What happens if you try to execute the query? Does …

Member Avatar for stereoworld
0
5K
Member Avatar for HasNor

Because clicking the back button will take the page from the browser's cache, without actually reloading the page.

Member Avatar for HasNor
0
171
Member Avatar for lukeamac

[QUOTE=raphnexx;1774389]I think you should, to keep track of your traffic. You can also see what page(s) are mostly visited. Also, Alexa provides Top Search Queries of your site.[/QUOTE] Very inaccurate. They get their data only from people that have their toolbar installed.

Member Avatar for JorgeM
0
150
Member Avatar for baig772

It's mentioned in [an other thread](http://www.daniweb.com/community-center/daniweb-community-feedback/threads/418604/member-badges).

Member Avatar for Dani
0
117
Member Avatar for heshanm

Do this, if there is an error you'll know: $query = "INSERT INTO student_info VALUES('$admission_no', '$admission_date', '$full_name', '$name_with_initials', '$dob', '$religion', '$address', '$telephone', '$grade_on_admission', '$password', '$student_house', '$description_about_st')"; $result = mysql_query($query) or die(mysql_error()); One likely error is that you have more columns then you are inserting. If that's the case, you'll need …

Member Avatar for IIM
0
254
Member Avatar for programmer12
Member Avatar for BenzZz

From SO: [how-do-i-write-unit-tests-in-php-with-a-procedural-codebase](http://stackoverflow.com/questions/899390/how-do-i-write-unit-tests-in-php-with-a-procedural-codebase) [php-testing-for-procedural-code](http://stackoverflow.com/questions/5021254/php-testing-for-procedural-code)

Member Avatar for BenzZz
0
511
Member Avatar for samidha
Member Avatar for pritaeas
0
220
Member Avatar for DaveyMoyes

Sounds like you want `json_encode()` $countries = array (); while($row = mysql_fetch_array($result)){ $countries[] = $row['Country']; } echo json_encode($countries);

Member Avatar for DaveyMoyes
0
453
Member Avatar for simplypixie

Correct me if I'm wrong, but I can't find your js code on that page. Looks like your scripts are not included.

Member Avatar for simplypixie
0
201
Member Avatar for riahc3
Member Avatar for sandrajustin
0
183
Member Avatar for ebanbury

You'd need Javascript to do an AJAX call to a PHP script, which executes that function and returns the result.

Member Avatar for Biiim
0
67
Member Avatar for M.Waqas Aslam

You can install/access it on both machines, but it would be wiser to install it in the server.

Member Avatar for pritaeas
0
177
Member Avatar for HemZone

The error means that the query has failed. Check your SQL, and add error checking.

Member Avatar for pritaeas
0
486
Member Avatar for Dani

Seeing nobody has replied yet, you may want to try this question on SO (if haven't done already). If you do and paste the link here, I can upvote (and I guess some others will too).

Member Avatar for Dani
0
127
Member Avatar for gopi17

`phpinfo()` gives information about your server, not about the handheld. It is quite possible that your handheld does not support this.

Member Avatar for gopi17
0
153
Member Avatar for bagabont

Sounds dubious, normally a setup takes care of this (so your app won't need to). Perhaps [this link on SO](http://stackoverflow.com/questions/923350/delphi-prompt-for-uac-elevation-when-needed) may help.

Member Avatar for pritaeas
0
102
Member Avatar for dalip_007

For browsing files, you can use `glob()`, `readdir()` or `DirectoryIterator`. You get the content with `file_get_contents()` and parse them with `preg_match_all()`. If you're on *nix, it's a lot easier to just call `grep`.

Member Avatar for pritaeas
0
201
Member Avatar for trektrak

Here's a nice [introduction](http://www.phpclasses.org/blog/post/65-8-defensive-programming-best-practices-to-prevent-breaking-your-sites.html).

Member Avatar for dany12
0
175
Member Avatar for ruen

Do you want to start from scratch, or do you want to change an existing script (assuming one is available) ? Does your accounting system allow easy access to the data? What platform are you thinking of using?

Member Avatar for pritaeas
0
155
Member Avatar for Dani

I have just tried with IE8 on XP SP3. I get the message too, but if I select "compatibility view" then it works. When I track the submit, the json returned is `data.editor` with the message. I think the problem may be in the passed `data`, perhaps the serializing of …

Member Avatar for Dani
0
231
Member Avatar for abhi10kumar

Read in this order: http://php.net/manual/en/function.mysql-connect.php http://php.net/manual/en/function.mysql-select-db.php http://php.net/manual/en/function.mysql-query.php http://php.net/manual/en/function.mysql-fetch-assoc.php

Member Avatar for abhi10kumar
0
180
Member Avatar for HasNor

I usually do my backups through a cron job calling mysqldump. Another automated FTP download on my desktop will retrieve it.

Member Avatar for HasNor
0
112
Member Avatar for mjones11

Looks like you did not `include` the FPDI in your code. Perhaps some autoloading settings are different now.

Member Avatar for mjones11
0
1K

The End.