8,966 Posted Topics

Member Avatar for sumit3gupta

Download the zip package, extract it and then upload it to your server. Next, see this page ([url]http://tinymce.moxiecode.com/examples/simple.php[/url]) on how to use it in your page.

Member Avatar for pritaeas
0
138
Member Avatar for rahulephp
Member Avatar for rahulephp
0
96
Member Avatar for feodal
Member Avatar for bwallace

You could put a div around the paragraph and the image, but then the paragraphs would be separated with some whitespace.

Member Avatar for bwallace
0
83
Member Avatar for lf.gene

[code] $query = "UPDATE class SET Time_Slot_idTime_Slot = '$time',Course_idCourse = '$name',exam_date = '$exam',closing_date = '$closing',"; $query = $query . "day$1 = '$daya[$1]' "; // <-- you were missing a space here $query = $query . "where idClass = '". $_GET['id'] . "'"; // <-- too many spaces here [/code]

Member Avatar for lf.gene
0
149
Member Avatar for sammeras

You need to escape the . and - [code] return this.optional(element) || /^[a-zA-Z0-9\._\-]{3,16}$/i.test(value); [/code]

Member Avatar for fxm
0
535
Member Avatar for saucy6969

If you are using Google Search, then you should have a search id, which should be present in the form as a hidden field. I don't see it in your example.

Member Avatar for almostbob
0
130
Member Avatar for faizabest
Member Avatar for pritaeas
0
62
Member Avatar for jtaylor-bye

Read the information and look at the examples here, then you'll know what Will is implying. [url]http://php.net/mysql_query[/url]

Member Avatar for pritaeas
0
108
Member Avatar for justM

You could build a page that checks for login credentials. Instead of user/pass, you would first enter your phone number or email address, depending on where you want to receive your confirmation code. After retrieving it, you can use it to login. Your database would contain a table with that …

Member Avatar for rajarajan2017
0
139
Member Avatar for mgn2683
Member Avatar for srdva59

You could check to see if the referer is set ($_SERVER['HTTP_REFERER']). However, this can be spoofed, or the variable may not be set at all. What you could do is set a session variable to a random key, or insert this as a hidden field in your form. When posting, …

Member Avatar for pritaeas
0
84
Member Avatar for aMOEBa

This should work: [code] $query = "Select venue from programOutline where `date` = '$curDate'"; [/code] If you're only interested in today, this works too: [code] $query = "Select venue from programOutline where `date` = CURDATE()"; [/code]

Member Avatar for aMOEBa
0
4K
Member Avatar for xxxservicexxx

You can only do this if you have a reseller account, and your webhost provides you with a script to do it.

Member Avatar for pritaeas
0
122
Member Avatar for balaji153
Member Avatar for lbrown1179

At first glance it looks like all your single and double quotes are messed up. Did you use Word to edit the php file ? Use a plain text editor to change them back into ' and "

Member Avatar for lbrown1179
0
96
Member Avatar for gskoli

I don't think you need to use new. Watch the demo's or the manual like Graphix suggested.

Member Avatar for gskoli
0
150
Member Avatar for haylau

The first image shows a redeclared function, which is an error in your php code. The others show a similar problem, although that would indicate an error in phpMyAdmin, which is very doubtful.

Member Avatar for haylau
0
87
Member Avatar for vibhaJ
Member Avatar for Lolalola

How about PEAR:MDB2 ([url]http://pear.php.net/package/MDB2[/url]).

Member Avatar for rajarajan2017
0
102
Member Avatar for bigtalk
Member Avatar for whiteyoh

I don't think you should use single quotes around $column. It may be treated as a string. Use backticks instead.

Member Avatar for tomford
0
105
Member Avatar for ben.matthews18

If you look at [url]http://php.net/manual/en/function.readdir.php[/url] and scroll down to the example of DaveRandom 17-May-2009 02:39, you'll see how you can read the file time.

Member Avatar for pritaeas
0
150
Member Avatar for anony

Looks like an error in your query. Change [code] $result = mysql_query($gethot, $this->connection); [/code] into [code] $result = mysql_query($gethot, $this->connection) or die(mysql_error()); [/code] to check if I'm right.

Member Avatar for rajarajan2017
0
183
Member Avatar for canterorist

Is there a reason you want to refresh the page, or do you just want to clear the inputs ? You can use jquery do do it. [code] $('input').each(function() { $(this).val(''); }); [/code]

Member Avatar for canterorist
0
97
Member Avatar for iqra123

[url]http://php.net/manual/en/function.mail.php[/url] This function uses the server's smtp as defined in the php.ini

Member Avatar for iqra123
0
136
Member Avatar for Z_KiNGPiN

[url]http://www.daniweb.com/forums/thread208243.html[/url] This thread has a link to a rar file. I've tried to make it self explanatory by adding lots of comments. It's just html/js, so creating a custom control for asp.net is not covered.

Member Avatar for Z_KiNGPiN
0
237
Member Avatar for Geertc

There is no reason why it should be executed twice, unless you refreshed the page.

Member Avatar for Geertc
0
171
Member Avatar for aMOEBa

The option I would choose is a property last_count. Before the return in your query function you could do [code] $this->last_count = count($this->result); [/code] Side note: At this point the query function does not reset your result property. Should you execute two queries after one another, result would contain both.

Member Avatar for aMOEBa
0
97
Member Avatar for andydeans
Member Avatar for Pic

Mysql is data storage. It has no knowledge of your html markup. So it would be best to just store the html as is.

Member Avatar for pritaeas
0
150
Member Avatar for lf.gene

If this javascript code is outputted by php then it is possible. If you're trying to access php from within a js file, then no, it is not possible.

Member Avatar for rajarajan2017
0
227
Member Avatar for ajwei810192

[url]http://stackoverflow.com/questions/226405/find-position-of-a-node-using-xpath[/url]

Member Avatar for ajwei810192
0
6K
Member Avatar for whiteyoh

There is a way to serialize your object and put it in a session variable. See the link for some more information: [url]http://stackoverflow.com/questions/132194/php-storing-objects-inside-the-session[/url]

Member Avatar for pritaeas
0
96
Member Avatar for niths

In the loop where you build $options, you should check whether the projectname matches $_GET['projassign']. If so, then add selected="selected" attribute to the option.

Member Avatar for niths
0
562
Member Avatar for ipradip

Let mysql do it for you. Just use a PK BIGINT(20) AUTOINC (id) field, and add a calculated field to transform it into your id. CONCAT('A', LPAD(CAST(id AS VARCHAR)), 4, '0')

Member Avatar for ipradip
0
1K
Member Avatar for mbkr.msk

Try: [code] insert into messages (`from`,`to`,`subject`,`body`) values ('$from','$to','$sub','$body') [/code] If you still have errors, than there could be unescaped quotes in the subject or body.

Member Avatar for ThinkFree
0
98
Member Avatar for niths

Did you try my latest suggestion ? ([url]http://www.daniweb.com/forums/thread289270.html[/url]) I'm sure this should work.

Member Avatar for pritaeas
0
95
Member Avatar for muralibobby2015

[QUOTE=muralikalpana;1069498]first i got these all solutions. but i dont want these solutions.thats why i mentioned above is it possible validation in mail using javascript .[/QUOTE] Yes, it is possible. BUT, as mentioned by urtrivedi, most email apps will block javascript by default, so in most cases it won't work.

Member Avatar for pritaeas
0
219
Member Avatar for tejasluvs

[url]http://www.qualitycodes.com/tutorial.php?articleid=19&title=MAC-Address-Using-WMI-on-Internet-Explorer[/url]

Member Avatar for fxm
0
203
Member Avatar for jammiedude

[code] select IFNULL( (select cls_id from classes where cls_id = 6), (select cls_id from classes where cls_id = 1) ) [/code]

Member Avatar for pritaeas
0
130
Member Avatar for Exoskeletor
Member Avatar for Exoskeletor
0
72
Member Avatar for niths

Was the solution in this thread unclear ? [url]http://www.daniweb.com/forums/thread289270.html[/url]

Member Avatar for pritaeas
0
74
Member Avatar for cacoyle

You forgot a part, in short: [code] $result = mysql_query($sql1); if ($result) $array = mysql_fetch_array($result); [/code]

Member Avatar for cacoyle
0
101
Member Avatar for hassal
Member Avatar for andydeans

[code] <input type="button" name="Cancel" id="Cancel" value="Cancel" onclick="window.location ='product_Detail.php?ProductID=<?php echo $row_rsProducts['ProductID']; ?>'" /></td> [/code]

Member Avatar for andydeans
0
119
Member Avatar for adobe71

[url]http://programming.top54u.com/post/Javascript-Change-Div-Background-Image-onclick.aspx[/url]

Member Avatar for pritaeas
0
52
Member Avatar for mayanktalwar

the minus in the last part should be escaped: [code] preg_match_all("/(http:\/\/)?(www.)?rapidshare\.com\/[0-9A-Za-z]+\/[0-9A-Za-z]+\/[0-9A-Za-z_\-.]+/",$contents1,$out1); [/code]

Member Avatar for pritaeas
0
297
Member Avatar for niths

Are you using javascript to add the new one to the table? If so, then check your js code.

Member Avatar for diafol
0
83
Member Avatar for rizza_f
Member Avatar for pritaeas
0
89

The End.