8,966 Posted Topics

Member Avatar for martin11ph

Because your tag attributes aren't enclosed within quotes, as per html specifications. [CODE] echo '<input type="hidden" name="value" value="' . $value[0] . '" />'; [/CODE] Or this: [CODE] echo "<input type='hidden' name='value' value='{$value[0]}' />"; [/CODE]

Member Avatar for martin11ph
0
141
Member Avatar for bsiness

An iframe doesn't work if you want only part of a webpage. [URL="http://www.roseindia.net/ajax/jquery/jqueryloadcontent.shtml"]Here[/URL]'s an introduction on how to use the jQuery method. First try this (learn to get it to work). Then come back and ask how to get only the part you want from that website.

Member Avatar for pritaeas
0
155
Member Avatar for btvbill
Member Avatar for pritaeas
0
124
Member Avatar for shamsidah

What are you looking for, how to do this with a query ? Can you show the code you have so far ?

Member Avatar for rotten69
0
105
Member Avatar for Labdabeta

Were you looking for a [URL="http://alexgorbatchev.com/SyntaxHighlighter/"]syntax highlighter[/URL] ? There are many more than the one I linked. (I know this was solved, but it may help others.)

Member Avatar for pritaeas
0
159
Member Avatar for nfaezah
Member Avatar for skunkmedia

You may want to read [URL="http://www.daniweb.com/web-development/php/threads/191031"]the sticky thread[/URL] first.

Member Avatar for simplypixie
0
304
Member Avatar for twitah
Member Avatar for diafol
0
155
Member Avatar for showman13

As long as you are using relative addressing, you would have no issues. If you are referring to http:// based content, then the user would get a warning. This would most likely apply to third party plugins.

Member Avatar for showman13
0
112
Member Avatar for begueradj

It means that it will execute that action, when you are trying to insert a new record with a primary key that already exists.

Member Avatar for rotten69
0
67
Member Avatar for phoenix_2000

If the string you're inserting has the zeroes, but the column doesn't, then perhaps there is a trigger removing them on insert (assuming your column is of type string/char).

Member Avatar for phoenix_2000
0
136
Member Avatar for gikonyo

Hard to tell if you do not show your code. Most likely [iCODE]$price[/iCODE] does not get a value.

Member Avatar for gikonyo
0
323
Member Avatar for parimalnarayan

The easiest way will be to install a package like WampServer or XAMPP on your computer. It installs Apache, PHP and MySql for you, ready to use. A site in HTML only will not be able to insert into MySql, you will need PHP to do that (or any other …

Member Avatar for nHulk
0
229
Member Avatar for elbeato

Check if you are allowed to write into your folder. Most likely you can change this in your cPanel or via your FTP client.

Member Avatar for elbeato
0
386
Member Avatar for rse

[URL="http://thinkdiff.net/mysql/encrypt-mysql-data-using-aes-techniques/"]Here[/URL] you'll find a nice introduction to AES.

Member Avatar for rse
0
2K
Member Avatar for davy_yg

My guess is that it cannot find the referenced CSS files. Also, the [iCODE]<link>[/iCODE] tags only function correctly when they are in the [iCODE]<head>[/iCODE] section of your page.

Member Avatar for davy_yg
0
172
Member Avatar for gunnerone

The javascript is probably executed before the HTML body is ready. Try putting the javascript code just before the closing body tag.

Member Avatar for pritaeas
0
110
Member Avatar for gunnerone

Can't you just join the two queries and use a single loop ? [CODE] mysql_query("SELECT name,quantity FROM ingredient JOIN recipeingredient ON ingredient.ingredientid = recipeingredient.ingredientid WHERE recipeingredient.recipeid = '" . $recipeid . "'"); [/CODE]

Member Avatar for cereal
0
296
Member Avatar for theophalus

It is caused by incorrect usage of quotes. Probably a rogue single quote messing up your string, you need to escape them.

Member Avatar for cereal
0
290
Member Avatar for gunnerone

A [iCODE]mysql_query[/iCODE] returns a resource, not a string. So after your query you can use [iCODE]mysql_fetch_array[/iCODE] to get to your description. See [URL="http://php.net/manual/en/function.mysql-fetch-array.php"]the manual[/URL] for examples.

Member Avatar for gunnerone
0
333
Member Avatar for Coyx
Member Avatar for fnyahoo

I think you can only do this, if you're gonna post your form data using javascript (AJAX).

Member Avatar for pritaeas
0
146
Member Avatar for Awah Mohamed
Member Avatar for kadriirdak
Member Avatar for veedeoo
0
173
Member Avatar for rajeesh_rsn
Member Avatar for patk570

Most likely your code crashes somewhere. Either echo some messages to see where you get, or enable error reporting while testing.

Member Avatar for pritaeas
0
984
Member Avatar for MDanz
Member Avatar for hijabihtohai
0
142
Member Avatar for davy_yg

Jquery has not much to do with it. It is just a form, and the input box has some elaborate CSS styling. Inspect the source for details.

Member Avatar for davy_yg
0
135
Member Avatar for narekm
Member Avatar for ppetree

[CODE] SELECT * FROM table WHERE (county='Jefferson' OR county='Bingham' OR county='Butte' OR county='Bonneville' OR county='Madison') AND state='ID' [/CODE]

Member Avatar for ppetree
0
108
Member Avatar for jacob21
Member Avatar for davy_yg

A quick search showed that you should use tls and port 587, however I've never tried these settings myself. The latest version of PHPMailer is 5.2.0

Member Avatar for davy_yg
0
1K
Member Avatar for Will Gresham

No, it does not. MySql triggers work on the MySql server only, and do not provide feedback to other applications. Basically, I think it could be possible to write your own user defined function for MySql, but that would be written in C, not in PHP. In PHP you would …

Member Avatar for mschroeder
0
221
Member Avatar for Morten Brendefu

SetLength does the appropriate memory management for you, if you are not using objects in it. Why not use a TList instead of constantly resizing an array.

Member Avatar for Morten Brendefu
0
141
Member Avatar for OnIIcE

I'd make them properties. Then you can set them as you like, you can remove them from the function call, and they are still accessible after your first call.

Member Avatar for pritaeas
0
132
Member Avatar for jsquadrilla

A scheduled task is exactly what you are looking for. If your application has to be in PHP, then there are no real other options.

Member Avatar for pritaeas
0
267
Member Avatar for narekm

Of course, the Zend website is the place to be, but I found [URL="http://robertbasic.com/blog/starting-with-zend-framework/"]this description[/URL] pretty okay.

Member Avatar for pritaeas
0
63
Member Avatar for kay19

[iCODE]$customers[/iCODE] is never assigned a value, unless some code is missing.

Member Avatar for kay19
0
183
Member Avatar for aneeka

This should do it: [CODE] SELECT * FROM table GROUP BY item_code ORDER BY item_code, date DESC [/CODE]

Member Avatar for BitBlt
0
120
Member Avatar for jetlife76

I think he wanted to link to this: [url]http://jqueryui.com/demos/autocomplete/[/url]

Member Avatar for jetlife76
0
120
Member Avatar for hindu times

[CODE] <td colspan="2" align = "center" style="color:#FF0000; font-weight:bold;">' . ((isset($_GET['error']) and ($_GET['error']=='recaptcha')) ? $sb->dt('Error: The captcha was entered incorrectly. Please try again.') : '') . ' </td> [/CODE]

Member Avatar for jpdeleon
0
340
Member Avatar for poopoo_pp

You could try to run an older version. You can find a history of xampp versions [URL="http://www.oldapps.com/xampp.php"]here[/URL]. I don't think you can find anything really useful to help you port to a newer version. It will probably require a lot of work. You can always fork the project and try …

Member Avatar for pritaeas
0
403
Member Avatar for opjjuly

Just put the file in your website root. However, if it is empty, you cannot check anything.

Member Avatar for pritaeas
0
188
Member Avatar for Drugsxxx

Won't line 5 echo '4', instead of '3' ? (Don't think I'm nagging, just keeping you on your toes :) )

Member Avatar for Drugsxxx
0
2K
Member Avatar for klemme

[CODE] if(!preg_match("~[0-9A-Za-z-/]+~", $url_key)) {} [/CODE] The ~ marks the begin and end of the regex (any 2 matching chars). You do not need a comma to separate the items. The + says it has to be one or more of the preceding characters.

Member Avatar for pritaeas
0
2K
Member Avatar for techyworld

It says $members is an empty string. Check with debug tools whether your hidden input has a value set, before submitting the form. If it is empty, then there is something wrong with your javascript.

Member Avatar for pritaeas
0
437
Member Avatar for reco21

IIRC, this only works if the column names are the same in both tables. Another option would be to create a foreign key between the two columns with ON DELETE CASCADE.

Member Avatar for pritaeas
0
92
Member Avatar for mrhankey
Member Avatar for extjac
Member Avatar for pritaeas
0
83
Member Avatar for Majestics

Date format is incorrect, use Y-m-d format or the mysql NOW() function.

Member Avatar for Majestics
0
59

The End.