8,966 Posted Topics

Member Avatar for pritaeas

I want to have the following on SQL Azure: IF EXISTS(SELECT * FROM [sys].[databases] WHERE [name] = db_name() AND [compatibility_level] = 110) BEGIN ALTER PROCEDURE [dbo].[Test] AS BEGIN -- Omitted body containing lots of strings END END or a work-around that does something similar. What follows is what I'm trying …

Member Avatar for pritaeas
0
155
Member Avatar for fheppell

You'll need some scsripting to do this. I don't think it's possible with plain HTML.

Member Avatar for fheppell
0
178
Member Avatar for Mariann
Member Avatar for ddanbe
0
236
Member Avatar for Lomholdt

> WHERE users id = '$id' Do you really have a space between users and id in your column name?

Member Avatar for Lomholdt
0
142
Member Avatar for safawie09

You should echo your variable in between the textarea tags, like this: <textarea name="Catatan" type="text" id="Catatan" cols="45" rows="17"><?php echo $Catatan;?></textarea>

Member Avatar for pritaeas
-1
45
Member Avatar for Navlag

I think the problem is with `returning into`. Isn't this an Oracle specific construct? Anyway, I am not convinced that you can bind a return value.

Member Avatar for diafol
0
238
Member Avatar for mrnutty

Gravatar is pretty old (pre-dating Fb). If you open their url with your email md5'ed then you get the image belonging to that address.

Member Avatar for mrnutty
0
231
Member Avatar for davecoventry

This works just fine. You can probably also use something like this: Result := num and (127 shr (bit_location - 1));

Member Avatar for davecoventry
0
113
Member Avatar for DamzWildfire

No, you are mixing Javascript and PHP, not possible. I think you misunderstand what URL encoding is. You can encrypt parts of an URL, but not the complete one. It's better if you explain WHY you want to do this.

Member Avatar for pritaeas
0
129
Member Avatar for bradly.spicer

Perhaps you can compare with [this solved thread](http://www.daniweb.com/web-development/php/threads/362877/php-mail-attachment-blank), see what's different.

Member Avatar for bradly.spicer
0
158
Member Avatar for suseelan27

If you want a cyclic order, then you will have to store the last used employee id in a configuration table somewhere, so you can use it to determine the next one to use.

Member Avatar for pritaeas
0
182
Member Avatar for Rizi004
Member Avatar for mehnihma
Member Avatar for mehnihma
0
2K
Member Avatar for atikah8890
Member Avatar for Blousey17

I don't think it can be done in it's current form. The input text will never change inside any loop, so it will be endless. Please explain what you are trying to achieve. (or perhaps some more code)

Member Avatar for pritaeas
0
240
Member Avatar for Niatia

`index` is never given a value. I think you should be using a `for` loop to loop through each character entered.

Member Avatar for pritaeas
0
332
Member Avatar for yaragalla_mural
Member Avatar for yaragalla_mural
0
330
Member Avatar for Noth
Member Avatar for icohibari
Member Avatar for korathualex

If you are using .NET4 have a look at the [parallel for loop](http://weblogs.asp.net/jalpeshpvadgama/archive/2011/07/12/parallel-for-loop-in-c-4-0.aspx). You can give that a try. It's a simple way of using threads.

Member Avatar for pritaeas
0
260
Member Avatar for jaron1611
Member Avatar for Lardmeister

> I just can't see the attraction in those lightweights Agree. All those taste like water.

Member Avatar for vegaseat
0
192
Member Avatar for josverhoeff
Member Avatar for adishardis

Can you check what `$testcurl` contains? I've read that there may be an issue if the FTP server requires PASV. Check some of the `CURLOPT_FTP_xxx` options.

Member Avatar for adishardis
0
484
Member Avatar for adishardis

FTP is not secure. If you want the data transfer to be encrypted, use SSL. Other option is to encrypt the XML on the server (if you can control this), retrieve it, and decrypt it on your end.

Member Avatar for adishardis
0
220
Member Avatar for jaimin4829
Member Avatar for GanesanManju
1
170
Member Avatar for alenalang.phillips
Member Avatar for vizz
Member Avatar for falkopartey
Member Avatar for derrick.brandonn
Member Avatar for eburlea
Member Avatar for cris651

I haven't automated this before, but I know you can use the `BULK INSERT` query on a CSV file. From SQL Server Management Studio you can import Excel directly: http://www.wiseowl.co.uk/blog/s231/schedule_data_import_in_sql_server_pt1.htm

Member Avatar for adam_k
0
271
Member Avatar for joshl_1995
Member Avatar for AARTI SHRIVAS
Member Avatar for riahc3

Instead of building the JSON response with echo and string concatenation, I suggest building an array and using `json_encode()` on it.

Member Avatar for riahc3
0
12K
Member Avatar for davecoventry

Check the user table, you'll see. If they are flagged they should be there, if not, tough luck.

Member Avatar for pritaeas
0
116
Member Avatar for bradly.spicer

You can use something like: SELECT * FROM Customers WHERE DATEDIFF(NOW(), nservice) > 0 More functions in the [manual](https://dev.mysql.com/doc/refman/5.6/en/date-and-time-functions.html).

Member Avatar for Squidge
0
130
Member Avatar for nunuaziz_
Member Avatar for veedeoo
0
207
Member Avatar for amweasel

From first glance it's for Python only. See [some comparisons](http://vschart.com/compare/zope-object-database/vs/mysql).

Member Avatar for amweasel
0
196
Member Avatar for visweswaran28
Member Avatar for davy_yg

The syntax is this (if the tables are identical): INSERT INTO Produk SELECT * FROM stock

Member Avatar for TonyG_cyprus
0
171
Member Avatar for mrhankey
Member Avatar for mrhankey
0
162
Member Avatar for personalisedpen

> www.w3school.com If you go there, be sure to read this too: http://w3fools.com/

Member Avatar for Draconyster
0
342
Member Avatar for jameosa
Member Avatar for satyavinayak
Member Avatar for bops
0
395
Member Avatar for sainigks

> gethostname() try to echo and it will display your computer name This will give you the name of the server, not the connected client. From the manual: *"gethostname() gets the standard host name for the **local** machine."*

Member Avatar for pritaeas
0
551
Member Avatar for Moe1981

> BitDefender is the highest rated AV (AntiVirus) out there, but I still haven't had opportunity to try it I've used BitDefender for 10+ years and I'm very satisfied with it.

Member Avatar for wisemaster
0
139
Member Avatar for Vincentas

You can use `mysqldump` to create an sql script file, which you can then execute on the server.

Member Avatar for Vincentas
0
81
Member Avatar for Squidge

Depending on what you want to build, my [code snippet](http://www.daniweb.com/web-development/php/code/430455/configurable-table-class) may get you some ideas.

Member Avatar for diafol
0
351
Member Avatar for rayidi

The End.