8,966 Posted Topics

Member Avatar for keval007
Member Avatar for abhi10kumar

Are you saying this doesn't work? <script type="text/javascript"> $(document).ready(function() { $("#pgfor").twoitems({header: false}); $("#city").single({header: false}); $("#locality").multiselect({header: true}); $("#roomtype").twoitems({header: false}); $("#pricetype").twoitems({header: false}); $("#price_value").multiselect({header: false}); $('#mega-menu-tut').dcMegaMenu({rowItems: '3', speed: 'fast'}); $('a[id^="edit"]').fancybox({ 'width' : '48%', 'height' : '82%', 'autoScale' : false, 'transitionIn' : 'none', 'transitionOut' : 'none', 'type' : 'iframe', onClosed : function() { parent.location.reload(true); …

Member Avatar for pritaeas
0
322
Member Avatar for VenusCrystal
Member Avatar for vasvigupt
Member Avatar for diafol
0
1K
Member Avatar for Majestics

Search this forum for 'pagination' or 'paging'. You'll get a lot of examples.

Member Avatar for pritaeas
0
91
Member Avatar for cgull

IE is sensitive to missing doctypes, unclosed tags and other minor Javascript typos. Make sure everything is in order. If you debug, do you see your data coming in?

Member Avatar for cgull
0
909
Member Avatar for napninjanx
Member Avatar for dagtad
Member Avatar for pritaeas
0
122
Member Avatar for showman13

The tool of choice appears to be [TCPDF](http://www.tcpdf.org/) within this forum. They also offer paid support.

Member Avatar for coolest_987
0
1K
Member Avatar for mogaka

> $httpRequest_OBJ = new httpRequest($url, HTTP_METH_POST); Should be: $httpRequest_OBJ = new HttpRequest($url, HTTP_METH_POST); // Capital 'H'

Member Avatar for pritaeas
0
97
Member Avatar for matanc244

> when i want to delete a page i go to the delete.php?id=XX (XX = ID of the page) > $id = (int) $_POST['id']; This should be $id = (int) $_GET['id'];

Member Avatar for pritaeas
0
129
Member Avatar for vijayram
Member Avatar for bulqr4eto

Filtering the files on the date is not so hard, think a function can be made quickly that does that. However, it is unclear which calendar you use and how you would integrate something like that.

Member Avatar for diafol
0
172
Member Avatar for hwoarang69

http://stackoverflow.com/questions/43180/what-are-some-resources-for-getting-started-in-operating-system-development

Member Avatar for Schol-R-LEA
0
247
Member Avatar for JukesK

The problem is that you will most likely not get the results you want. I suggest you create a query (or view) like this: SELECT `tm_name`, `date`, 't1' AS TableName FROM t1 UNION SELECT `tm_name`, `date`, 't2' AS TableName FROM t2 -- and so on

Member Avatar for ndeniche
0
248
Member Avatar for blaaam

Just loop through the values, and for the right `<option>` set the `selected="selected"` attribute.

Member Avatar for pritaeas
0
74
Member Avatar for naru vaishnaw

> <a href='edit.php'>Edit</a> First you will have to tell `edit.php` which user you want to edit, so change this to: <a href='edit.php?id={$row['id']}'>Edit</a> Now you can use `$_GET['id']` in your edit script to retrieve the details.

Member Avatar for pritaeas
0
144
Member Avatar for magicmarkuk
Member Avatar for magicmarkuk
0
151
Member Avatar for vishal.du123

In the manual it is stated than you can specify keepalive for your session. Look into that to prevent automatic logoff.

Member Avatar for pritaeas
0
253
Member Avatar for rampawar

Sounds like a homework assignment. If you show your code, and state the problems you have, we'll help you fix them. Do not expect to get full code here.

Member Avatar for pritaeas
0
144
Member Avatar for Buppy
Member Avatar for diafol
0
177
Member Avatar for Tony13

If your website is made up of just HTML files, then you need to learn how to change that. You can change the HTML to reorder things, and you can use CSS to change it's layout.

Member Avatar for Tony13
0
97
Member Avatar for saadi06
Member Avatar for matanc244

Did you write this CMS ? Then you should have a category column in your pages table, and on the add screen create a dropdown with the available categories.

Member Avatar for pritaeas
0
129
Member Avatar for devilhacker
Member Avatar for hwoarang69
Member Avatar for pritaeas
0
207
Member Avatar for MDanz

One obvious issue, is that you are storing the username and userid in the cookie. Are you sure that is necessary? Personally, I'd use a generated code, also stored in the user table, so you can use that to determine who it is.

Member Avatar for pritaeas
0
302
Member Avatar for hwoarang69

> Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given This warning usually indicates that the execution of your query failed. So use a tool (phpMyAdmin) to check if your query runs correctly.

Member Avatar for hwoarang69
0
430
Member Avatar for Misbah khan

You get that notice because the GET array does not always contain that value. You can solve it by doing something like this: $u1 = isset($_GET['username']) ? $_GET['username'] : ''; $e1 = isset($_GET['enrollno']) ? $_GET['enrollno'] : 0; This way they always get a default value.

Member Avatar for Misbah khan
0
187
Member Avatar for spyece
Member Avatar for Dani

Looks pretty good. Would be nice to have a little list, instead of just one ;)

Member Avatar for ndeniche
1
217
Member Avatar for Dani

Nay for me, but am used to typing markdown. Agree with happygeek on the toggle, for those who like it ;)

Member Avatar for Dani
0
335
Member Avatar for Sravani saka
Re: D2K

It's a database front-end for Oracle. See a sample [here](http://documents.club-oracle.com/downloads.php?do=file&id=2412).

Member Avatar for Sravani saka
0
69
Member Avatar for Sanchixx

Probable duplicate of: http://www.daniweb.com/web-development/php/threads/426804/how-do-you-not-submit-a-form-that-was-empty

Member Avatar for pritaeas
0
125
Member Avatar for SandyT9

Why don't you install a local server and install them? That way you can try them and see which one best matches your wants/needs. Apart from that, SMF is my personal favourite.

Member Avatar for pritaeas
0
107
Member Avatar for Suzie999

That event is only triggered if you use the WebBrowser object from MS. It does not work if you are using a regular browser.

Member Avatar for Suzie999
0
298
Member Avatar for noelthefish
Member Avatar for LastMitch

Are you trying to run this on a shared host? Most likely that you are not allowed to run `chmod`.

Member Avatar for LastMitch
0
188
Member Avatar for gedas
Member Avatar for neelam dadhwal

You need to specify the whole column, including it's type: ALTER TABLE employee MODIFY Emp_name varchar(20) NOT NULL;

Member Avatar for pritaeas
0
183
Member Avatar for sdr001

An INSERT query only returns `true` or `false`, it does not return a result-set, so the `while` loop does nothing (other than generate a warning). For the query itself, you may want to remove the `>`. Also, if your `users` table contains more columns, then the query will fail.

Member Avatar for pritaeas
0
100
Member Avatar for newbie1234

You may want to add an additional column for this, and create an insert trigger to automatically generate that id (based on your specifications).

Member Avatar for pritaeas
0
105
Member Avatar for blaaam

It's called 'pagination' and there are a lot of useful examples in the [PHP forum](http://www.daniweb.com/search/query/pagination/17?q=site%3A%2A%2Fweb-development%2Fphp%2F%2A%2F+pagination).

Member Avatar for pritaeas
0
72
Member Avatar for danielbala
Member Avatar for pritaeas
0
33
Member Avatar for Kniggles

Whether you use your current database or a new one is up to you. If you want to store it, you should change the script where the action attribute of the form points to, or write some javascript code to intercept the submit and do an ajax call first to …

Member Avatar for pritaeas
0
316
Member Avatar for naru vaishnaw

Instead of echo'ing to standard output, you should capture this info in a variable (add it to `$massage`).

Member Avatar for pritaeas
0
148
Member Avatar for hwoarang69

On line 19 you select everything. You should execute `$query` there, the one you just built. One issue though, in your WHERE clause, `%each%` should be `%$each%` Line 8 should be: `SELECT * FROM image WHERE ` with a space at the end.

Member Avatar for hwoarang69
0
340
Member Avatar for Dani

Not a tutorial, but I know PEAR has a [tokenizer](http://pear.php.net/package/PHP_CodeSniffer).

Member Avatar for Airshow
0
114
Member Avatar for veledrom

`new Array` tries to create an object of class "Array". Did you find this somewhere? I do not see it mentioned in the manual, perhaps you have a link. The second is the usual construct.

Member Avatar for veledrom
0
124
Member Avatar for <M/>

Be so kind as to provide some sample input and output, perhaps that will clear up what you want to achieve.

Member Avatar for <M/>
0
204

The End.