8,966 Posted Topics

Member Avatar for kumar89hitesh

You can use CSS: body { margin: 10px 10px 10px 10px; /* top left bottom right */ }

Member Avatar for pritaeas
0
321
Member Avatar for vizz

You probably need something like this: AscensorMap:'2|1 & 1|2 & 2|2 & 3|2 & 2|3' And three `<section>`'s, one for each floor. In the middle section, you'll need three `<article>`'s. This is what I make of the documentation.

Member Avatar for vizz
0
107
Member Avatar for jakeezakiel

> No value given for one or more required parameters One of your function calls misses a parameter. Which line does the error occur on?

Member Avatar for pritaeas
0
309
Member Avatar for joejodre

Next time, post a new discussion thread, instead of replying to an unrelated one. TP will still run in a DOS box, both on XP and Win7. If you want something newer, I suggest you check out Lazarus (FreePascal).

Member Avatar for pritaeas
0
157
Member Avatar for asifalizaman
Member Avatar for mjsmitten

You can just pass it as a parameter, it would look something like this: function query_item($category) { // ... } while ( ) { $category = category_name(); $buildings = query_item($category); } `call_user_func()` is designed for callbacks, which I doubt are the solution to your problem.

Member Avatar for pritaeas
0
128
Member Avatar for jLamp
Member Avatar for pritaeas
0
103
Member Avatar for LastMitch

<select name="PostCats"> <?php function getCats() { global $conn; $stmt = $conn->query('SELECT * FROM category'); while($row = $stmt->fetch(PDO::FETCH_ASSOC)) { echo "<option value=".$row['id'].">".$row['title']."</option>"; } } ?> </select> As you can see above, you define your code in a function, but it is never called, so no execution, no output.

Member Avatar for LastMitch
0
900
Member Avatar for mogaka
Member Avatar for zicomerc

You need to use `mysql_free_result($result)` before you can use it again, or use a different variable name the second time.

Member Avatar for pritaeas
0
177
Member Avatar for Webville312

gmail does not use the standard smtp ports and from needs to be your existing email address. Then you need to use authentication and provide your password. There are several examples already in this forum.

Member Avatar for Webville312
0
5K
Member Avatar for showman13
Member Avatar for <M/>
Member Avatar for abzy1991

> Can you post the query for your database He has to make an ERD, so there is no database/query yet, just a diagram. But he must be able to show that...

Member Avatar for aaa001
0
195
Member Avatar for mmcdonald

Not sure that a `button` submits without Javascript. You can try <input type="submit">

Member Avatar for mmcdonald
0
259
Member Avatar for Tinnin

http://php.net/manual/en/function.mail.php See the comment by Anda (1 year ago).

Member Avatar for Tinnin
0
138
Member Avatar for cucolino
Member Avatar for cucolino
0
293
Member Avatar for NardCake

Most servers have decryption software installed (e.g. Zend IonCube). You can encrypt your PHP scripts, upload them and they will run. They will not be readable to humans however, so if anybody accesses your webhost, downloading the scripts will be useless (although they can be brute force cracked).

Member Avatar for NardCake
0
128
Member Avatar for dottomm

Next time please start a new discussion. The values you are using on those lines do not have a value the first time the page is opened. You'll need to use this construct: if (isset($_FILES['photo'])) { // upload file code }

Member Avatar for earlxph8
-1
20K
Member Avatar for Ritesh_4

Use a robots.txt file and disallow all. You can also add the robots meta tag to your html head to prevent archiving.

Member Avatar for Ritesh_4
0
208
Member Avatar for fousieke

Double quotes within a double quoted string need to be escaped with a backslash.

Member Avatar for diafol
0
143
Member Avatar for canadaaaaa

The `end` on line 50 is the first problem, then again on 57 and 58. I suggest you read up on basic syntax and control structures.

Member Avatar for blesiw
0
430
Member Avatar for anisha.silva

[Here](https://atsung.wordpress.com/2008/08/07/javascriptserializer-example/) is an example. Can you show what is in `response` and how the class definition of `bookshare` looks?

Member Avatar for anisha.silva
0
230
Member Avatar for prem2
Member Avatar for sobias

`=` is used when you compare a column against a single value. `IN` is used when you want to compare against a range of values.

Member Avatar for pritaeas
0
203
Member Avatar for waseemrulez
Member Avatar for prakash.ravi.1004
0
140
Member Avatar for davy_yg

Yahoo has a lot of RSS feeds you can use. There are a lot of threads already in this forum about getting and displaying one, do a search first.

Member Avatar for pritaeas
0
53
Member Avatar for Yarra

If you have created the subdomain `about.website.com` you can use a redirect to accomplish what you want.

Member Avatar for JorgeM
0
119
Member Avatar for savedlema

The `cmd.Parameters` can only be used if the `cmd` has a query (`CommandText`) set which defines that parameter. In your OP you used a string for your query, instead of the `CommandText`.

Member Avatar for savedlema
0
1K
Member Avatar for riahc3

- http://www.microsoft.com/windowsembedded/en-us/develop/windows-ce-net-4-2-development.aspx (Note that this product is at the end of it's lifecycle) - Read up on [RFC 959](http://www.w3.org/Protocols/rfc959/)

Member Avatar for riahc3
0
297
Member Avatar for iwishimgoodasu

> but i need to execute it without supplying any values... Then you have to remove the parameters from the stored procedure, or provide dummy parameters (empty strings). You can run it using: CALL InsertTBL_Supplier

Member Avatar for pritaeas
0
121
Member Avatar for noesis
Member Avatar for Dani

A little lower in the manual (dataType) it says this: > "jsonp": Loads in a JSON block using JSONP. Adds an extra "?callback=?" to the end of your URL to specify the callback. Disables caching by appending a query string parameter, "_=[TIMESTAMP]", to the URL **unless the cache option is …

Member Avatar for Dani
0
436
Member Avatar for sundog1
Member Avatar for thilini_l
Member Avatar for asaidi

You are mixing AND and OR. When you do, add parenthesis in the correct place.

Member Avatar for asaidi
0
159
Member Avatar for izzywizzy
Member Avatar for jLamp

What are you trying to accomplish? This could work (depending on your table structure): $query = "SELECT * FROM `$table` WHERE `Fund Name` LIKE '%$searchTerm%'";

Member Avatar for pritaeas
0
17K
Member Avatar for alispicy

Something like [this](http://maxoffsky.com/code-blog/laravel-ajax-example-source-code/) maybe?

Member Avatar for pritaeas
0
111
Member Avatar for Dani
Member Avatar for Dani
0
5K
Member Avatar for Mite63
Member Avatar for pritaeas

The following snippet will show, how you can pass a data array to a function, and generate a table with N columns. `$data` contains some dummy data, which can come from any data source. Then you call `createHtmlTable` passing the data, the number of columns you want, and a function, …

Member Avatar for LastMitch
3
531
Member Avatar for csss
Member Avatar for aVar++
Member Avatar for <M/>
1
404
Member Avatar for Violet_82
Member Avatar for cossay

Am not familiar with CI but my guess is that the case should match. admin_user <> Admin_user

Member Avatar for cossay
0
181
Member Avatar for pssingh1001

Hard to suggest without more information about your table structure and data.

Member Avatar for pssingh1001
0
176
Member Avatar for showman13

I agree with logging everything. That's also a fine way to notice abuse. If you don't log it, you won't know.

Member Avatar for showman13
0
341
Member Avatar for Ritesh_4

I don't use this much, but perhaps [CSS3](http://www.css3.info/preview/box-shadow/) can help.

Member Avatar for Ritesh_4
0
151
Member Avatar for riahc3
Member Avatar for riahc3
0
116

The End.