8,966 Posted Topics

Member Avatar for noel9

Set a unique index on person_name in your table. If you try to insert a duplicate, the query will throw an exception.

Member Avatar for rch1231
0
127
Member Avatar for pkasar91

You can't. The database is on the server, Javascript is on the client, so you need something in-between.

Member Avatar for pritaeas
0
121
Member Avatar for henpecked1
Member Avatar for SalmiSoft
0
100
Member Avatar for NZOM
Member Avatar for Robert Rusu

Nice example. Just a rant. I hate WP's "OOP" because of this: global $wpdb; This goes against all that OO stands for, and although I understand the ease of use, it's absolutely horrible.

Member Avatar for Robert Rusu
2
428
Member Avatar for LogicWeb
Member Avatar for guyinpv

> how to store it in the database to handle repeating transactions, as well as "one-off" transactions. Can these exist in the same table? I would store repeating transactions in a separate table. Then, using a daily cron job I'd check whether a repeating transaction should be inserted into your …

Member Avatar for pritaeas
0
228
Member Avatar for jacob21
Member Avatar for marifard

Yes, it's possible like you described. Solution depends on how you want to use it. If you want a more detailed answer, share both your files (remove your credentials) and give an example of what you want to achieve.

Member Avatar for pritaeas
0
126
Member Avatar for chloechanes
Member Avatar for np complete

I wouldn't use `\b` here as `=` is considered a word boundary and the `==` is part of the crypt. I'd use: ([^ ]*)$ Meaning the last characters of the string excluding the space. (Many ways to Rome...)

Member Avatar for diafol
0
142
Member Avatar for twiggy145

`INSERT INTO` does not use a `WHERE` clause like that. Remove it (line 39) or use an `UPDATE` statement.

Member Avatar for twiggy145
0
268
Member Avatar for Madiya122

Have you tried `FOR XML AUTO` ? Wondering why you don't specify a path? If you just try: SELECT FirstName FROM TeamInfo ORDER BY TeamID, FirstName FOR XML AUTO Do you get results?

Member Avatar for Madiya122
0
1K
Member Avatar for Mohit_2

What do you have so far? Did you search this forum? There are plenty threads on this subject.

Member Avatar for pritaeas
0
130
Member Avatar for hriti
Member Avatar for daviddoria
Member Avatar for mattyd

I can't find anything in the code to help you flush. I think you better contact your host and find out what's causing the issue. Perhaps you have an error log with some more information. From what I've read it can be caused when you are not closing your connections …

Member Avatar for rubberman
0
209
Member Avatar for marin cristina
Member Avatar for Reverend Jim

Perhaps you need to manually free/dispose your bitmaps after use, I think they are unmanaged resources.

Member Avatar for Reverend Jim
0
294
Member Avatar for mattyd

jQuery will make this animation a lot easier. It has a fade function that will do what you need. Check the jQuery manual for an example on fade.

Member Avatar for mattyd
0
135
Member Avatar for mattyd

> why I should transition The MySQL extension is deprecated, so in the next big release it won't be available anymore.

Member Avatar for mattyd
0
175
Member Avatar for Some-Jackass

What code do you have? The [imap_headerinfo](http://www.php.net/manual/en/function.imap-headerinfo.php) should return that information.

Member Avatar for Some-Jackass
0
190
Member Avatar for javedsai

I use this: <Files ~ "^[^\.]+$"> ForceType application/x-httpd-php5 </Files> It simply tells Apache that it should parse files without an extension as PHP. No longer the need to rewrite.

Member Avatar for javedsai
0
358
Member Avatar for ebanbury

Can't you just remove the line-breaks BEFORE inserting into the database? a `str_replace()` should do the trick.

Member Avatar for nauticalmac
0
396
Member Avatar for Emad_3
Member Avatar for pritaeas
0
164
Member Avatar for humphreytarpeh

http://www.daniweb.com/web-development/web-design-html-and-css/threads/464781/what-is-the-best-way-to-create-a-website-from-scratch

Member Avatar for pritaeas
0
33
Member Avatar for pawan768
Member Avatar for pritaeas
0
131
Member Avatar for shella

That means some object you are using is not initialized properly. Can you show the line of code that triggers the error?

Member Avatar for pritaeas
0
108
Member Avatar for danimischiu

Some of that code is probably loaded dynamically with AJAX. It's not possible to get that with curl.

Member Avatar for pritaeas
0
162
Member Avatar for abhilashrajrs

> its showing blank There's probably an error somewhere. Check your error_log, or add error checking to your query.

Member Avatar for pritaeas
0
240
Member Avatar for muralisugu
Member Avatar for orbar
Member Avatar for Bo_1
Member Avatar for Bo_1
0
249
Member Avatar for carlton_1

Check out [this article](http://technet.microsoft.com/en-us/library/dd392015(v=sql.100).aspx)

Member Avatar for BlindArcher
0
171
Member Avatar for shaswata.shaha

Why not learn the basics of Java/JSP first, and then decide whether you want to learn something like ASP.NET or PHP.

Member Avatar for nauticalmac
0
213
Member Avatar for Luisito_1

Am not sure what your problem is, but if you include those `using` lines, then you can copy the function you need too and use it.

Member Avatar for pritaeas
0
60
Member Avatar for ASHIQUE

> What I need, is to pull up value from database-table1-column6 depending on value at database-table1-column2,3,4,5 This is a little vague. Can you explain what you mean with an example?

Member Avatar for pritaeas
0
378
Member Avatar for muhammad.ibraheem_1

> unable to give space automatically after entering text to file Can you explain what you mean by this?

Member Avatar for pritaeas
0
92
Member Avatar for MartinSoukup

Closed. http://www.daniweb.com/software-development/csharp/threads/470743/listview-textbox

Member Avatar for pritaeas
0
209
Member Avatar for Zahid_4

> Is there any way to protect the code without encoding software? No. You need an encoding tool. PHP is text only, and ASP.NET can be reverse engineered.

Member Avatar for Zahid_4
0
316
Member Avatar for Linddha

It's easier to start with jQuery, but if you want to understand what's happening, start with Javascript.

Member Avatar for Troy III
0
334
Member Avatar for Mohamed_26
Member Avatar for Mohamed_26
0
179
Member Avatar for muhammad.ibraheem_1

[File](http://msdn.microsoft.com/en-us/library/d62kzs03(v=vs.110).aspx) doesn't accept URL's. It needs to be an absolute or relative filepath.

Member Avatar for pritaeas
0
3K
Member Avatar for jacob21

Remove `and s.status_value=` and use a `case` with your `count`.

Member Avatar for jacob21
0
204
Member Avatar for dinhunzvi

Although it often sounds like a regex is your solution, it's not always the case. Simply counting the required characters/digits is much simpler.

Member Avatar for pritaeas
0
157
Member Avatar for pritaeas

I've posted a bug report here: http://tracker.firebirdsql.org/browse/DNET-540 If someone using Firebird and C# could verify this for me, or shed some light on (other) possible issues, that would be much appreciated. The code works as expected with 2.5.1, but does not with 2.5.2. Note: the sample is built on .NET …

0
240
Member Avatar for Dani

http://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.daniweb.com%2Fstats%2Factivity_stream

Member Avatar for pritaeas
0
82
Member Avatar for Mohamed_26

Be careful. IIRC a temporary table is dropped once the connection is terminated. Since PHP scripts are stateless, the connection is terminated at the end of every script, thus removing the temporary table(s) associated with that connection.

Member Avatar for Mohamed_26
0
309
Member Avatar for judah.raine
Member Avatar for Dani
0
270
Member Avatar for pritaeas

Dani. The members shown in the endorsement suggestion page should exclude deleted members. In mine it still shows LastMitch, whom has deleted his profile.

Member Avatar for pritaeas
0
265

The End.