8,966 Posted Topics

Member Avatar for ommannette
Member Avatar for keroppi89
Member Avatar for Morten Brendefu

Structure window does not always recognize everything, even in Delphi XE. I have had similar problems, where the code works fine, but the structure window shows all kinds of errors.

Member Avatar for pritaeas
0
1K
Member Avatar for glut
Member Avatar for diafol
0
116
Member Avatar for deyesborn
Member Avatar for accra
0
470
Member Avatar for s0bigg

Why not make that entry a unique index, then you can use a query that updates that index if it cannot be inserted (due to it being already there). [url]http://dev.mysql.com/doc/refman/5.6/en/insert-on-duplicate.html[/url]

Member Avatar for s0bigg
0
165
Member Avatar for omnia456

If you split your string on the @, you can loop through each item and parse it correctly into your array.

Member Avatar for pritaeas
0
278
Member Avatar for jabeen123

[CODE] mysql_query("SELECT YEAR(Date_Of_Admission) AS Admission_Year FROM student_enroll WHERE Seat_Number='$_POST[seat]'") // ... echo "<td>".$row['Admission_Year']."</td>"; [/CODE]

Member Avatar for HITMANOF44th
0
90
Member Avatar for srdva59
Member Avatar for srdva59

[url]http://www.navicat.com/[/url] I've used this a long time, and am very content with it.

Member Avatar for diafol
0
88
Member Avatar for kaosjon

You need a command line scanner which you can trigger with [URL="http://php.net/manual/en/function.exec.php"]exec[/URL], [URL="http://php.net/manual/en/function.passthru.php"]passthru[/URL] or [URL="http://php.net/manual/en/function.system.php]system[/URL].

Member Avatar for pritaeas
0
150
Member Avatar for sammrat23

I've never tried this, but it should be possible to redirect the .php with a 301 to the .html but you should be careful not to create an endless loop. Another option would be to rename all your .php files to .html and add a handler in your htaccess to …

Member Avatar for diafol
0
177
Member Avatar for virendra_sharma
Member Avatar for davy_yg

Check your path, your CSS will have to have a relative or absolute path to your image. Make sure it is correct.

Member Avatar for pritaeas
0
148
Member Avatar for glut
Member Avatar for kukula
Member Avatar for fobos
0
224
Member Avatar for tungnk1993

It starts several download threads at once, from different starting points. In some cases it can download from multiple sites too (like a torrent).

Member Avatar for pritaeas
0
191
Member Avatar for baig772
Member Avatar for Buffalo101

JavaScript runs client-side, can modify the HTML page, but can also communicate with a server (e.g. to retrieve fresh data). PHP runs server-side and can do database operations, but also a lot more.

Member Avatar for diafol
0
247
Member Avatar for smartcard

Personally I'd use Silverlight. The main advantage for me being, you can implement [iCODE]INotifyPropertyChanged[/iCODE]. Drawback can be updating to newer versions, since all browser cache Silverlight locally.

Member Avatar for pritaeas
0
35
Member Avatar for AnkurThakur
Member Avatar for YASHASHYA
Member Avatar for YASHASHYA
0
117
Member Avatar for mehdi.yazdani

[CODE] <?php function pass() { $chars = array( 'B','C','D','F','G','H','J','K','L','M', 'N','P','Q','R','S','T','V','W','X','Y', 'Z','b','c','d','f','g','h','j','k','m', 'n','p','q','r','s','t','v','w','x','y', 'z','2','3','4','5','6','7','8','9' ); $pass = ''; for ($i = 0; $i < 8; $i++) { $pass .= $chars[rand(0, 48)]; } return $pass; } echo pass(); ?> [/CODE]

Member Avatar for pritaeas
0
82
Member Avatar for PF2G
Member Avatar for whit89

Shouldn't there be a link from room to building and from pc to room ?

Member Avatar for whit89
0
142
Member Avatar for -==Zero==-
Member Avatar for -==Zero==-
0
180
Member Avatar for jola.chmiel

First make sure what you want. For example, a regex for the last is: [CODE=text] /\d{9}/ [/CODE] So it could be extended to allow space/dashes in place 4 or 8: [CODE=text] /\d{3}[ -]?\d{3}[ -]?\d{3}/ [/CODE] Then, to match also a plus, two digits and a space/dash in front you need …

Member Avatar for jola.chmiel
0
207
Member Avatar for phorce

What is the reason you choose [iCODE]if: else: endif;[/iCODE] over curly brackets ?

Member Avatar for phorce
0
199
Member Avatar for daniel36

You are outputting HTML, so a [iCODE]\n[/iCODE] has no visual effect, try [iCODE]<br/>[/iCODE]

Member Avatar for diafol
0
152
Member Avatar for Riogan

Add a delete function with this: [CODE] $query = "DELETE FROM friends WHERE userid = '$id' AND friendid = '$friendId'"; [/CODE]

Member Avatar for Riogan
0
133
Member Avatar for daniel36
Member Avatar for Stickie
Member Avatar for daniel36

So you just guess anyone can just know what's being done here, without seeing some actual data and table structures ? What exactly do you want documented ? Where did you get it from ? BTW, do NOT cross post. Choose the right forum and post there.

Member Avatar for pritaeas
0
84
Member Avatar for Neub

Delphi should come with Indy, that has an SNMP component. Don't know if it supports what you need.

Member Avatar for pritaeas
0
107
Member Avatar for Pytho

I think your best bet is to add a tagging to your system. When an entry is added, the tags will be automatically added from the title. This way you can remove the most common words like 'and', 'with', etc. I've posted a way to do tagging somewhere in this …

Member Avatar for pritaeas
0
144
Member Avatar for labise
Member Avatar for easa0562

If you have specific questions, post them here, along with the original question. Don't forget to add what you've tried.

Member Avatar for Ezzaral
0
93
Member Avatar for baig772

First check should be whether your filenames are correct. Most issues arise when a development server runs on windows (NOT case sensitive), and the live server runs on *nix (case sensitive).

Member Avatar for baig772
0
109
Member Avatar for newbie14
Member Avatar for newbie14
0
133
Member Avatar for libathos

[url]http://forums.mysql.com/read.php?98,176676,176727#msg-176727[/url]

Member Avatar for libathos
0
380
Member Avatar for accra

[QUOTE=HITMANOF44th;1719033]also if you want to save some space ... i didnt do all of them but you get the idea[/QUOTE] Putting $_POST values directly into a query is a very bad idea.

Member Avatar for it386
0
128
Member Avatar for solomon_13000

Maybe this will help: [url]http://www.xdevsoftware.com/blog/post/Call-WebMethod-from-Javascript-in-ASPNET.aspx[/url]

Member Avatar for solomon_13000
0
230
Member Avatar for jacob21
Member Avatar for phorce

Is there a particular reason you want to call two functions like that ? IMO readability will suffer greatly. Let alone designing how validate and formatted should interact with each other (like handling validation errors). Technically, it should be possible, if the validate function returns an object with a formatted …

Member Avatar for pritaeas
0
85
Member Avatar for naveedqadri

You have this code: [CODE] var frm=document.getElementById('frm'); <form action="print_first.aspx" method="post" target="_blank" name="frm"> [/CODE] [iCODE]getElementById()[/iCODE] searches for an element with ID 'frm'. Your form only has NAME set. Add [iCODE]id="frm"[/iCODE]. Unfortunately, IE accepts this invalid code, whereas FF does not.

Member Avatar for naveedqadri
0
193
Member Avatar for harintfs
Member Avatar for pritaeas
0
98
Member Avatar for rotten69
Member Avatar for rotten69
0
79
Member Avatar for PF2G

If the relation is one-on-one, then why not add a column with the destination page to your existing table ?

Member Avatar for diafol
0
117
Member Avatar for sacarias40

[QUOTE=sacarias40;1718423]I'm using nosql because its ... and performs faster.[/QUOTE] Based on what ? Am curious.

Member Avatar for diafol
0
1K
Member Avatar for Stickie

[CODE] SELECT * FROM Combination C, Zendingen Z, Klanten K, Manden M, Bestemmeling B WHERE C.Zending_ID = Z.ID AND C.Klant_ID = K.ID AND C.Mand_ID = M.ID AND C.Bestemmeling_ID = B.ID [/CODE]

Member Avatar for PsychicTide
0
185

The End.