8,966 Posted Topics

Member Avatar for M.Waqas Aslam

Everything you need is on their website, [URL="http://docs.sencha.com/ext-js/4-0/"]documentation[/URL], [URL="http://docs.sencha.com/ext-js/4-0/#!/example"]examples[/URL], [URL="http://www.sencha.com/forum/forumdisplay.php?79-Ext-JS-Community-Forums-4.x"]forum[/URL], etc.

Member Avatar for stbuchok
0
122
Member Avatar for davy_yg
Member Avatar for tahirkhanafridi

You have more columns than you specified values for. Either specify the columns too, or add the missing values.

Member Avatar for tahirkhanafridi
0
135
Member Avatar for issaru07
Member Avatar for issaru07

You can use [URL="http://php.net/manual/en/function.mysql-insert-id.php"]mysql_insert_id()[/URL] function after your insert query.

Member Avatar for issaru07
0
148
Member Avatar for riseguim

Use [URL="http://php.net/manual/en/function.pathinfo.php"]this function[/URL] in your readdir loop to get the extension.

Member Avatar for riseguim
0
4K
Member Avatar for Z33shan
Member Avatar for riseguim

Add: [CODE] $file = urlencode($dirArray[$index]); print("<td><a href=\"delete.php?file=$file\">Delete $dirArray[$index]</a></td>"); [/CODE] In delete.php something like this: [CODE] $file = $_GET['file']; unlink($file); [/CODE]

Member Avatar for riseguim
0
694
Member Avatar for davy_yg

You mean like this: [url]http://www.pritaeas.net/view/articles/faq-with-jquery[/url]

Member Avatar for pritaeas
0
479
Member Avatar for PhoenixInsilico

According to my text editor they are line feeds (0x0A). Perhaps [URL="http://stackoverflow.com/questions/881779/neatest-way-to-remove-linebreaks-in-perl"]this link[/URL] can help.

Member Avatar for histrungalot
0
120
Member Avatar for Que336
Member Avatar for pritaeas
0
71
Member Avatar for vijaykavin10
Member Avatar for pritaeas
0
163
Member Avatar for cubicbox

Start a new thread for this, instead of hijacking an old one, and please use code tags. Do not forget to post your error too.

Member Avatar for pritaeas
0
3K
Member Avatar for azegurb
Member Avatar for azegurb
0
238
Member Avatar for Arjun_Sarankulu

Is the data different after 30 secs? If not, cache the sql result. If it is, then there is no alternative. How will you retrieve data without connecting?

Member Avatar for pritaeas
0
85
Member Avatar for Baburhytha
Member Avatar for pritaeas

I am looking to encrypt data (preferably XTEA) on my .Net Micro Framework, send it to a webservice in .Net (Azure) and decrypt it there. I found this [URL="http://www.dmcinfo.com/Blog/articleType/ArticleView/articleId/83/Encryption-Compatibility-Between-NET-Micro-Framework-and-the-Full-NET-Framework.aspx"]blog post[/URL] but I am unable to get it to work. The encryption result on .Net differs from the .NetMF. I hope …

Member Avatar for pritaeas
0
206
Member Avatar for wxflint

You'd have to store the file open count somewhere (file/database), but you would need a decrement too when sombody stops using it.

Member Avatar for wxflint
0
123
Member Avatar for Sorcher
Member Avatar for Sorcher
0
99
Member Avatar for accra
Member Avatar for accra
Member Avatar for pritaeas
0
74
Member Avatar for DelphiGuy

Rotating means recalculating your points, based on the angle and rotation point. Do you want to rotate from the center of the canvas, or from the bottom-left ?

Member Avatar for DelphiGuy
0
2K
Member Avatar for evilguyme

You should look at frames as separate browser windows. Content of one cannot overlap another. The best way would be to read up on div's and css, and redesign your page. There are a lot of examples out there to get you started.

Member Avatar for stultuske
0
112
Member Avatar for angel4

Show what you have so far, and try to be more specific about what you want to achieve.

Member Avatar for pritaeas
-1
32
Member Avatar for BorisSobad

You cannot simply change the font per line in a TListBox, without adding some additional coding.

Member Avatar for pritaeas
0
659
Member Avatar for klemme

According to the [URL="http://nl2.php.net/preg_replace"]third comment here[/URL], you should use the 'u' modifier.

Member Avatar for klemme
0
186
Member Avatar for addurlguru

[QUOTE=aditd;1751450]Was it something limited? I tried the Google link and took me to the a search result page in google not to a coupon?[/QUOTE] That link is two years old...

Member Avatar for pritaeas
-1
217
Member Avatar for ceteris
Member Avatar for 21122012

roomID 57 is twice in the table, for different roomBookingID. Perhaps the error lies in your roomDetail.php, you pass it only the roomID, so it does not know which roomBookingID you mean. If that's not it, try to explain a little better (I can't read your pictures), and please use …

Member Avatar for pritaeas
0
211
Member Avatar for PF2G
Member Avatar for eoop.org

You get that error when your query fails, perhaps because [iCODE]$uid[/iCODE] is not valid or not set.

Member Avatar for pritaeas
0
121
Member Avatar for hallianonline
Member Avatar for arunpawar

[URL="http://php.net/return"]return[/URL] stops execution of your function, and returns the specified value to the caller, thus outputting $a (which is 12). Line 8 is never executed. What are you trying to do?

Member Avatar for veedeoo
0
278
Member Avatar for JACOBKELL

If you only want to know if the word is there, and not need its position, then [URL="http://php.net/preg_match"]preg_match()[/URL] will do the trick. [CODE] if (preg_match('%\b(word|wordtwo|wordthree)\b%i', $text) > 0) { // one of the words was found } [/CODE]

Member Avatar for diafol
0
8K
Member Avatar for stanley87

This shouldnt be a problem. Hard to guess what's wrong. A question for you, since you built your own REST API. Have a look at [URL="http://www.daniweb.com/web-development/php/threads/406067"]this thread[/URL], always looking for more insight.

Member Avatar for stanley87
0
341
Member Avatar for avinash_545
Member Avatar for pritaeas
0
97
Member Avatar for Advokat
Member Avatar for pritaeas
0
153
Member Avatar for hhall56

[CODE] <?php // use the long tag $query=" SELECT * FROM Liberty WHERE PatientID='$id'"; // $ is missing // why get the result twice ? $ret = mysql_query($query) or die(mysql_error()); $result=mysql_query($query); [/CODE] Use code tags next time.

Member Avatar for pritaeas
0
209
Member Avatar for jacob21
Member Avatar for jacob21
0
2K
Member Avatar for rajphp

In this [URL="http://stackoverflow.com/questions/6913165/resume-cv-parsing-in-php"]SO thread[/URL] two scripts are mentioned.

Member Avatar for pritaeas
0
126
Member Avatar for ebanbury

You'll have to add a database with the same name, and a user/password with identical values to MySQL (with granted rights on that database).

Member Avatar for ebanbury
0
263
Member Avatar for cloud02

I disagree, but this may be a regional thing. If you are looking for a job as a web designer here, you are not expected to be able to program (except maybe javascript and the likes). Several of the companies I've worked for had a separate designer, which did nothing …

Member Avatar for Rashakil Fol
0
178
Member Avatar for pizzipie

Strings in javascript need single quotes around them. Add [iCODE]'[/iCODE] before and after your variables.

Member Avatar for pizzipie
0
367
Member Avatar for NoMansLand_MFGC
Member Avatar for bigjoke

Don't you need to specify types when creating the table ([URL="http://www.html5rocks.com/en/tutorials/webdatabase/todo/#toc-step2"]example here[/URL]). Are you sure you want to pursue this, because specification of websql by W3C is no longer maintained.

Member Avatar for pritaeas
0
154
Member Avatar for tiffster

It means session_start() is called in your code AFTER html or whitespace has been outputted. Most often, people have some whitespace before their <?php

Member Avatar for tiffster
0
190
Member Avatar for PF2G

The commas on line 20 should be dots. The curly brackets on lines 36 and 38 serve no purpose.

Member Avatar for pzuurveen
0
120
Member Avatar for Danny159

In part you're right, and I can understand your confusion. OOP is usually used to get some degree of abstraction into your code. If you have users, groups and rights for your webapp, each of these will be represented by a class, of which you can create an object (a …

Member Avatar for diafol
0
218
Member Avatar for aquamarine_kath

10061 means that the host cannot be found. Are you sure mysql is running ?

Member Avatar for sbhavin
0
2K
Member Avatar for HasNor

Check your code for errors, or invalid connection information. Without more information from you, nobody can say anything sensible about it.

Member Avatar for HasNor
0
98

The End.