8,966 Posted Topics

Member Avatar for Matthew N.

[url]http://api.jquery.com/category/manipulation/dom-insertion-inside/[/url] [iCODE]AppendTo()[/iCODE] appears to be what you want.

Member Avatar for Matthew N.
0
179
Member Avatar for ajbest

No, changing to mysqli will not solve this, it is just not implemented in the mysql server. What you can do is this: [CODE=sql] SELECT * FROM ( SELECT a, b, (a+b) AS c FROM table ) AS tmp WHERE c = 1 [/CODE]

Member Avatar for pzuurveen
0
189
Member Avatar for luweegee

[CODE] echo '<div>' . $_SESSION['username'] . ' | <a href="logout.php">Logout</a></div>'; [/CODE]

Member Avatar for luweegee
0
73
Member Avatar for meisjen
Member Avatar for Simon180

This should do exactly the same: [CODE] procedure TMainServer.SearchUserAccounts(const MyUserID, UserID, Token: String; rSocket: TWSocketClient); var search, msg: string; begin search := Trim(UserID); MyQuery.SQL.Text := 'SELECT * FROM users '; case StrToInt(Token) of 0: MyQuery.SQL.Text := 'WHERE username LIKE ''%' + search + '%'''; 1: MyQuery.SQL.Text := 'WHERE ip LIKE …

Member Avatar for pritaeas
0
204
Member Avatar for kitschkath
Member Avatar for sudhir lodh
Member Avatar for pritaeas
0
59
Member Avatar for utroda

Are you using PHP 5.3.0 ? If you are not you need to use create_function instead of the anonymous one.

Member Avatar for pritaeas
0
211
Member Avatar for wimmer
Member Avatar for somedude3488
0
224
Member Avatar for emiola

It would be helpful if you stated which error you have, or what part is not working. Just pasting a piece of code won't get you much assistence.

Member Avatar for somedude3488
0
271
Member Avatar for shg234

Your $cart is not kept when switching to other pages. You need to store it in a session variable if you need it.

Member Avatar for broj1
0
165
Member Avatar for davy_yg

Apparently you do not have a column named 'page' in your table 'static_page'.

Member Avatar for OmniX
0
117
Member Avatar for nexter
Member Avatar for ctaylo21
0
296
Member Avatar for emailcrombiez

Do not specify R=301 because it indicates a permanent redirect. You can remove line 10 I guess if you change line 8 to: [code=text] RewriteRule ^(.*)$ http://codershane.com/?p=$1 [NC] [/code]

Member Avatar for emailcrombiez
0
119
Member Avatar for davy_yg
Member Avatar for davy_yg
0
304
Member Avatar for atalkingfish

You cannot put it before the order. Not quite sure what result you are after, but it sounds like you need a sub-query.

Member Avatar for atalkingfish
0
1K
Member Avatar for kaizokupuffball

[CODE=text] RewriteEngine on RewriteRule \.txt$ /notallowed.html [F,L,NC] [/CODE]

Member Avatar for diafol
0
124
Member Avatar for 54uydf

Just look on the net for samples, you can call your php file from sh.

Member Avatar for pritaeas
0
84
Member Avatar for davy_yg

Not sure what you want on line 64, but this [iCODE]$_SERVER['http://localhost/php_template2/PHP_SELF'][/iCODE] is not valid code.

Member Avatar for davy_yg
0
184
Member Avatar for sibymary
Member Avatar for SmallCucumber

If you mean from mysql to php, then no, this is not possible. You'd have to create a polling mechanism.

Member Avatar for SmallCucumber
0
237
Member Avatar for Simon180
Member Avatar for jakizak
Member Avatar for jakizak
0
188
Member Avatar for ebanbury

Apparently your add_date column is not a datetime column in the database. Read more in [URL="http://php.net/manual/en/datetime.format.php"]the manual[/URL].

Member Avatar for mschroeder
0
217
Member Avatar for aldm
Member Avatar for martin11ph

Not while you are using a CSV file. If you use a tool such as PHPExcel, which can generate a real Excel file, then it is possible.

Member Avatar for martin11ph
0
1K
Member Avatar for a asif

Indexing is in postgres, but I would not set an index on the image column itself, rather on it's name. Why would you want an index on the image itself ?

Member Avatar for a asif
0
185
Member Avatar for davy_yg
Member Avatar for pritaeas
0
222
Member Avatar for drelix01
Member Avatar for davy_yg
Member Avatar for pritaeas
0
260
Member Avatar for davy_yg

Use [iCODE]$kategori[/iCODE] as set on line two, instead of [iCODE]$_REQUEST['kategori'][/iCODE]. If any of your others threads helped you solve your problem, mark them as solved.

Member Avatar for pritaeas
0
310
Member Avatar for Matthew N.

It would be more helpful to others, if you'd include some more information on how and why you do things, instead of just showing code. It would also be helpful if the [iCODE]$img[/iCODE] array is filled with all files from your images folder. You can do this easily with [URL="http://php.net/glob"]glob[/URL].

Member Avatar for Matthew N.
0
422
Member Avatar for DaSpirit

You cannot put PHP in a Javascript function directly, but by using AJAX, you can call a PHP function (like a form post). There are several examples in this websites, so I suggest you search first.

Member Avatar for pritaeas
0
122
Member Avatar for stoopkid

[url]http://stackoverflow.com/questions/2436484/how-can-i-create-numbered-map-markers-in-google-maps-v3[/url]

Member Avatar for pritaeas
0
112
Member Avatar for mshdpotato

I think you need to change [iCODE]$row[/iCODE] on line 20 to [iCODE]$row_anasearch[/iCODE]. Am not sure what you are after, but I'd use a different construct.

Member Avatar for pritaeas
0
143
Member Avatar for sun-tzu

Plenty carts out there, try google. Also a lot of sites with comparisons.

Member Avatar for pritaeas
0
83
Member Avatar for cwarn23
Member Avatar for muralibobby2015

You can add an extra integer column to your table. Select two (using LIMIT) random items where you order the query by MIN(extra column) first, and RAND() second. After using the selected two, increment the extra field.

Member Avatar for pritaeas
0
1K
Member Avatar for cwarn23

One that comes up a lot, is two dropdowns with linked info (although it involves javascript). I was planning on writing one, but still haven't. I do have a working example though. If you want it I can zip it (uses PHP, MySQL and jQuery). One thing popping up in …

Member Avatar for diafol
2
131
Member Avatar for davy_yg

Check the HTML output of your page, are your database values in there ? Then you have a typo somewhere in your file (unclosed tag perhaps).

Member Avatar for pritaeas
0
145
Member Avatar for mary_forum

You'll need javascript to perform an [URL="http://w3schools.com/ajax/default.asp"]ajax[/URL] call, you cannot do it just with php.

Member Avatar for mary_forum
0
65
Member Avatar for cbwhellmouth
Member Avatar for pritaeas
0
336
Member Avatar for aldm

If your user base is large and you have a lot of pageviews, then instead of worrying about your mysql connections, worry about caching.

Member Avatar for mschroeder
0
195
Member Avatar for phorce
Member Avatar for pritaeas
0
58
Member Avatar for sammry

The sending of the email should be INSIDE the while loop, not after it. Unless you want to send one e-mail with everybody in CC. Tell us what you want to happen first.

Member Avatar for sammry
0
242
Member Avatar for megachip04

I like [URL="http://www.plupload.com/"]plupload[/URL] for uploading files. When it is done it calls a php file, where you can store your files and convert them.

Member Avatar for Delfacto
0
169
Member Avatar for jacksantho

You can find it on the [URL="http://phpexcel.codeplex.com/discussions/273432"]PhpExcel discussion[/URL] list.

Member Avatar for pritaeas
0
144
Member Avatar for davy_yg

Already answered in [URL="http://www.daniweb.com/web-development/php/threads/383286"]one of your other threads[/URL]. The variables did not get a value yet.

Member Avatar for pritaeas
0
87
Member Avatar for davy_yg

This has been described in your other post. [iCODE]$_REQUEST['kategori'][/iCODE] may not have a value, use [iCODE]isset()[/iCODE]. Also, [iCODE]$_REQUEST[/iCODE] is deprecated, use [iCODE]$_GET[/iCODE]

Member Avatar for raj2719
0
98
Member Avatar for woopi

Escape it with a backslash, read more in [URL="http://www.php.net/manual/en/regexp.reference.escape.php"]the manual[/URL] or on [URL="http://www.regular-expressions.info/characters.html"]this website[/URL].

Member Avatar for woopi
0
1K

The End.