8,966 Posted Topics
Re: 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. | |
Re: You would need to concat the matches of: [code] (\b[A-Z0-9/-]*\b) [/code] | |
Re: You know this is against the ToS of cars.com ? | |
Re: You could put a div around the paragraph and the image, but then the paragraphs would be separated with some whitespace. | |
Re: [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] | |
Re: You need to escape the . and - [code] return this.optional(element) || /^[a-zA-Z0-9\._\-]{3,16}$/i.test(value); [/code] | |
Re: 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. | |
| |
![]() | Re: Read the information and look at the examples here, then you'll know what Will is implying. [url]http://php.net/mysql_query[/url] |
Re: 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 … ![]() | |
Re: Change the padding-top of the [icode]#menu ul li[/icode] | |
Re: 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, … | |
Re: 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] | |
Re: You can only do this if you have a reseller account, and your webhost provides you with a script to do it. | |
Re: [url]http://en.wikipedia.org/wiki/JSON[/url] | |
Re: 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 " | |
Re: I don't think you need to use new. Watch the demo's or the manual like Graphix suggested. | |
Re: 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. | |
![]() | |
Re: preg doesn't like the first ? on line 18. | |
Re: I don't think you should use single quotes around $column. It may be treated as a string. Use backticks instead. | |
Re: 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. | |
Re: 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. ![]() | |
Re: 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] | |
Re: [url]http://php.net/manual/en/function.mail.php[/url] This function uses the server's smtp as defined in the php.ini | |
Re: [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. | |
Re: There is no reason why it should be executed twice, unless you refreshed the page. | |
Re: 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. | |
Re: Looks like the 'group by' is merging your results. | |
Re: Mysql is data storage. It has no knowledge of your html markup. So it would be best to just store the html as is. | |
Re: 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. ![]() | |
Re: [url]http://stackoverflow.com/questions/226405/find-position-of-a-node-using-xpath[/url] | |
Re: 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] | |
Re: 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. | |
Re: 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') | |
Re: 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. | |
Re: Did you try my latest suggestion ? ([url]http://www.daniweb.com/forums/thread289270.html[/url]) I'm sure this should work. | |
Re: [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. | |
Re: [url]http://www.qualitycodes.com/tutorial.php?articleid=19&title=MAC-Address-Using-WMI-on-Internet-Explorer[/url] | |
Re: [code] select IFNULL( (select cls_id from classes where cls_id = 6), (select cls_id from classes where cls_id = 1) ) [/code] | |
Re: Post here: [url]http://www.daniweb.com/forums/forum55.html[/url] | |
Re: Was the solution in this thread unclear ? [url]http://www.daniweb.com/forums/thread289270.html[/url] | |
Re: You forgot a part, in short: [code] $result = mysql_query($sql1); if ($result) $array = mysql_fetch_array($result); [/code] | |
Re: typo? [code] header ("Content-type: ".$reponse['extension2']); [/code] | |
Re: [code] <input type="button" name="Cancel" id="Cancel" value="Cancel" onclick="window.location ='product_Detail.php?ProductID=<?php echo $row_rsProducts['ProductID']; ?>'" /></td> [/code] | |
Re: [url]http://programming.top54u.com/post/Javascript-Change-Div-Background-Image-onclick.aspx[/url] | |
Re: 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] | |
Re: Are you using javascript to add the new one to the table? If so, then check your js code. ![]() | |
Re: 5 lines ? Do you mean you want to truncate after the fifth dot ? |
The End.