Forum: Viruses, Spyware and other Nasties 7 Days Ago |
| Replies: 14 Views: 519 Post your question in this (http://www.daniweb.com/forums/forum64.html) forum specifying all the details of your computer/operating system etc.
@Mad hatter,
Get over with your linux... |
Forum: PHP 16 Days Ago |
| Replies: 4 Views: 262 When the user submits the page, build your query depending upon the user's selection.
If the user has selected from_year and to_year, include that in your condition and so on. |
Forum: DaniWeb Community Feedback 23 Days Ago |
| Replies: 53 Views: 3,417 Wow! This thread is unbelievable and you guys are mind blowing! :P |
Forum: MySQL 25 Days Ago |
| Replies: 6 Views: 415 I am little confused about this part.
If I get it right, When you insert a record to table B, you can get the id by using mysql's last_insert_id ... |
Forum: MySQL 25 Days Ago |
| Replies: 6 Views: 415 |
Forum: MySQL 25 Days Ago |
| Replies: 6 Views: 415 One suggestion. When you are inserting a record to the table, you don't have to insert 'NULL' if its an auto increment field. Mysql will do it for you.
Ie.,
$orange_insert = "INSERT INTO orange... |
Forum: Geeks' Lounge 31 Days Ago |
| Replies: 16 Views: 969 :( No. I pay around Rs. 1200 (approx $26) for my 512kbps connection. Its around Rs. 3000 for 1 mbps (that is approx $65). |
Forum: MySQL 31 Days Ago |
| Replies: 4 Views: 488 |
Forum: MySQL 31 Days Ago |
| Replies: 1 Views: 427 Hi, I am not sure how you are validating what mysql returns. In php, when you query the table, for example,
//query the table with username and password
$query = "select * from table where... |
Forum: MySQL 31 Days Ago |
| Replies: 4 Views: 488 Hi, can you elaborate your question ?
If you are inserting the value to the table from php, you can use substr (http://php.net/manual/en/function.substr.php) to insert only a part of a string. If... |
Forum: PHP Oct 14th, 2009 |
| Replies: 107 Views: 3,422 The quality is okay. The seek bar doesn't work though. And since it doesn't work, it's difficult to know the duration of the video (and go forward or backwards). But, overall, thumbs up for the... |
Forum: DaniWeb Community Feedback Oct 14th, 2009 |
| Replies: 7 Views: 1,222 I know she has her priorities (Its been a week since I posted this thread and haven't got her reply. So, I know she's busy). Moreover, that was just a suggestion (it's `daniweb community feedback`,... |
Forum: DaniWeb Community Feedback Oct 13th, 2009 |
| Replies: 7 Views: 1,222 :) My point exactly. Why do you need something which don't yield any result ? It's not about assuming (or not assuming) something. |
Forum: PHP Oct 7th, 2009 |
| Replies: 1 Views: 216 You are almost there! I have modified your code, very small changes.
<?php
if(isset($_POST['submit'])) {
for($i=1;$i<=$_POST['count'];$i++) {
$textfieldname = "marquee_".$i;
print... |
Forum: PHP Oct 7th, 2009 |
| Replies: 14 Views: 385 FYI, index is a mysql reserved keyword. If at all you want to use them, you should use `, like, `index`. I personally don't prefer using reserved keywords.
Here ... |
Forum: MySQL Oct 7th, 2009 |
| Replies: 4 Views: 457 http://dev.mysql.com/doc/refman/5.1/en/innodb-foreign-key-constraints.html Check for foreign key constraints, primary key, foreign key in google. |
Forum: DaniWeb Community Feedback Oct 7th, 2009 |
| Replies: 7 Views: 1,222 Okay, one more suggestion.
Why should 0 be a hyperlink in this case ?
Clicking that leads to nowhere. It says,
Look at niek_e (http://www.daniweb.com/forums/member113712.html)'s profile for... |
Forum: DaniWeb Community Feedback Oct 6th, 2009 |
| Replies: 3 Views: 633 :D I passed with flying colors already. |
Forum: DaniWeb Community Feedback Oct 6th, 2009 |
| Replies: 2 Views: 385 case solved. The site was down. :) |
Forum: DaniWeb Community Feedback Oct 6th, 2009 |
| Replies: 2 Views: 374 Ah! that explains it. Thanks for your quick response Dani. Cheers! |
Forum: DaniWeb Community Feedback Oct 6th, 2009 |
| Replies: 3 Views: 633 |
Forum: PHP Oct 6th, 2009 |
| Replies: 4 Views: 800 ckeditor ? Hmm.. Haven't tried it. Anyways, goodluck man. Cheers! |
Forum: PHP Oct 6th, 2009 |
| Replies: 4 Views: 800 Pretty simple. Fetch the data from the database and place it between <textarea> tags. Here is an example.
<?php
if(isset($_POST['save'])) {
print "<pre>";
print_r($_POST);
print "</pre>";... |
Forum: PHP Oct 6th, 2009 |
| Replies: 107 Views: 3,422 Great! That would solve around 80% of the question asked by the members! Good luck.. |
Forum: MySQL Oct 5th, 2009 |
| Replies: 11 Views: 659 |
Forum: PHP Oct 5th, 2009 |
| Replies: 14 Views: 385 Since you aren't seeing the notices anymore, you have solved that problem. The other 'problem' you are talking about is a user defined error message. That simply means, you have written the logic... |
Forum: PHP Oct 5th, 2009 |
| Replies: 14 Views: 385 What did you change ? php.ini or your script ?
If you are talking bout php.ini, did you restart your server ? |
Forum: PHP Oct 5th, 2009 |
| Replies: 14 Views: 385 Notices are not errors. If you try to use a variable without initializing it, you will get a notice. To disable notices, edit your php.ini and set error_reporting as,
This will show all the... |
Forum: PHP Oct 5th, 2009 |
| Replies: 5 Views: 257 I would still think about encrypting my password. :) Anyways, Congrats and good luck. |
Forum: MySQL Oct 5th, 2009 |
| Replies: 7 Views: 458 Umm.. I am not 100% sure if that is how you are supposed to write a query in java. As far as I can see, there is no need to use trigger in your case and its better you post your question in java... |
Forum: MySQL Oct 5th, 2009 |
| Replies: 7 Views: 458 Can you explain how you are storing these values in the table ? Here is a simple example of what I am talking about. Its in php, but I am sure its not completely different from java.
<?php... |
Forum: MySQL Oct 5th, 2009 |
| Replies: 11 Views: 659 Try this.
$query = "select * from table where Concat( column1, ' ', column2 )
LIKE '%".$search."%'";
This will return all the rows from the table where column1 concatenated with column2... |
Forum: MySQL Oct 5th, 2009 |
| Replies: 7 Views: 458 Why don't you calculate the difference between starttime and endtime and insert the difference while inserting values to the first 2 columns ?
I haven't used triggers myself, but I think its... |
Forum: MySQL Oct 5th, 2009 |
| Replies: 3 Views: 430 I am not sure if I understood your question right. As far as I understand your question,
1. you can't select a record/row from the table without knowing the column you are querying on. You should... |
Forum: PHP Sep 16th, 2009 |
| Replies: 13 Views: 4,669 It works as it is. I haven't used iweb09, so I don't have the slightest clue :(
If you post your relevant code, maybe someone who has experience on iweb 09 can help you out! |
Forum: Geeks' Lounge Sep 3rd, 2009 |
| Replies: 5 Views: 685 |
Forum: PHP Aug 25th, 2009 |
| Replies: 4 Views: 526 What is the problem ? You would be selecting CourseName and courseID. So, when you post the form, You will have "MATHS" in $_POST['CourseName'] and "101" in $_POST['courseID']. Then it is all about... |
Forum: PHP Aug 25th, 2009 |
| Replies: 19 Views: 598 :) Thanks for waking me up. That is absolutely right. |
Forum: PHP Aug 25th, 2009 |
| Replies: 3 Views: 644 Go to mysql console and create a new user either by following http://dev.mysql.com/doc/refman/5.1/en/adding-users.html OR go to phpmyadmin -> mysql database -> user table. Add a record there filling... |
Forum: PHP Jan 21st, 2008 |
| Replies: 11 Views: 3,275 Well, I guess your server is a linux box. I dunno bout linux since I work on windows. And you can do a simple test this way.
<?php
$connection=mysql_connect("hostname","username","password");... |