Search Results

Showing results 1 to 40 of 139
Search took 0.02 seconds.
Search: Posts Made By: nav33n
Forum: PHP 3 Days Ago
Replies: 5
Views: 169
Posted By nav33n
This is wrong. Try,

$query = "SELECT * FROM Employee WHERE $method = '$search'";
$result = mysql_query($query);
Forum: PHP 8 Days Ago
Replies: 14
Views: 485
Posted By nav33n
You can do it in 2 simple ways (maybe there are even more, but I am not aware of it).
You can either save the data of the first form in session after it is posted, and then, when the second form is...
Forum: PHP 9 Days Ago
Replies: 4
Views: 226
Posted By nav33n
Technically, it doesn't matter if you have only 1 line statement after a condition. ie.,

<?php
$x = 1;
if($x == 1)
echo "$x is valid.";
else
echo "$x is invalid";
?>
Forum: PHP 9 Days Ago
Replies: 9
Views: 246
Posted By nav33n
Not only echo, you will get this warning if you have session_start along with header function. Use ob_start(); as the first line of your script to turn on output buffering and ob_end_flush(); as...
Forum: PHP 10 Days Ago
Replies: 3
Views: 198
Posted By nav33n
Very simple.

<html>
<head>
<script type="text/javascript">
function checkCheckbox() {
var countselection = 0;
var maximumselection = 2;
var ch = document.getElementsByName('choice');
...
Forum: PHP 10 Days Ago
Replies: 1
Views: 200
Posted By nav33n
To get a new line, you should add a <br /> to your echo.
ie.,

<?php
echo $abbr['US']['MI']."<br />";
?>
//or simply
<?php
echo $abbr['US']['MI'];
echo "<br />";
Forum: PHP 10 Days Ago
Replies: 15
Views: 362
Posted By nav33n
Or simply, $string = implode(",",$_POST['Prefered_Engineers']);
Forum: DaniWeb Community Feedback 12 Days Ago
Replies: 11
Views: 736
Posted By nav33n
Yep. There is a bug. This is what I did.
I logged out, came back to this thread and tried to 'reply with quote'. It asked me to log in.
Url :...
Forum: PHP 12 Days Ago
Replies: 13
Views: 449
Posted By nav33n
There are still some typos. $GET_['formfield'] instead of $_GET['formfield']. One simple suggestion though. You don't need a switch/if-elseif-else condition to find out the day. A simple array will...
Forum: PHP 17 Days Ago
Replies: 109
Views: 3,476
Posted By nav33n
Maybe the root cause for all this confusion is the word dehasher. ;) Its not exactly a dehasher, but a hash-matcher ! :icon_cool:
Forum: Geeks' Lounge Oct 23rd, 2009
Replies: 13
Views: 690
Posted By nav33n
Okay! Here is the direction. From this point >> * << Go straight up and stop when you see the text "Software Development". Since you have already traveled this far, you might be tired and maybe you...
Forum: DaniWeb Community Feedback Oct 7th, 2009
Replies: 3
Views: 550
Posted By nav33n
Hmm.. Right.. This (http://www.daniweb.com/newsletter/) link is missing!
Forum: DaniWeb Community Feedback Oct 6th, 2009
Replies: 7
Views: 1,158
Posted By nav33n
Hi all,

I have a suggestion (not sure if it has already been discussed).

In the profile, at the community tab, we have, for example,

If this number 10 is made a href linking to all the...
Forum: PHP Oct 5th, 2009
Replies: 5
Views: 255
Posted By nav33n
Instead of storing the password just like a normal string, save it as an encrypted string, using SHA1 or something. This will provide you more security as well as solves your issue.
Here is an...
Forum: PHP Sep 14th, 2009
Replies: 13
Views: 4,583
Posted By nav33n
Hi! Welcome to Daniweb.. Is this what you want ?

<html>
<head>
<script type="text/javascript">
function enableButton() {
if(document.getElementById('option').checked){...
Forum: Geeks' Lounge Jul 10th, 2009
Replies: 43
Views: 2,683
Posted By nav33n
What is the big deal about these badges anyway ? It isn't a real badge that you can show off to the kids playing monopoly and say, "Take a good look at my featured poster badge. I am a famous...
Forum: PHP May 23rd, 2009
Replies: 3
Views: 396
Posted By nav33n
Source: http://in2.php.net/function.mysql-query
Forum: Geeks' Lounge Apr 27th, 2009
Replies: 8
Views: 750
Posted By nav33n
You can. Go to your Member Certificate (http://www.daniweb.com/certificates/). You will see
at the bottom of the page.
Forum: PHP Apr 24th, 2009
Replies: 5
Views: 352
Posted By nav33n
I don't get it ! If you have the entire address in the table, why not simply use,
echo "<img src='".$row['image']."'>"; ?
Forum: PHP Apr 24th, 2009
Replies: 4
Views: 1,334
Posted By nav33n
Instead of having different names for your checkboxes, use a checkbox array and on submit, loop through all the selected checkbox and insert a record to the table.
For eg.,

<form name="addcode"...
Forum: MySQL Apr 17th, 2009
Replies: 1
Views: 1,820
Posted By nav33n
:icon_redface: After numerous attempts, I found out the solution. Here it is.

INSERT INTO a (name, age, postcode, city )
SELECT name, age, postcode, city
FROM b where counter = 1
AND NOT ...
Forum: Geeks' Lounge Apr 8th, 2009
Replies: 12
Views: 1,058
Posted By nav33n
You aren't serious! Are you ? :D
Forum: PHP Apr 2nd, 2009
Replies: 21
Views: 1,005
Posted By nav33n
In all the queries, change my_db to user. :) Then I guess it should work fine!
Forum: PHP Apr 1st, 2009
Replies: 6
Views: 495
Posted By nav33n
Thats strange. Because that same script showed scroll bar for me.
Forum: MySQL Apr 1st, 2009
Replies: 5
Views: 445
Posted By nav33n
Bingo! You are right. Check this link!
http://www.webmasterworld.com/forum88/9091.htm
Forum: PHP Apr 1st, 2009
Replies: 2
Views: 481
Posted By nav33n
Replace all occurance of " with ' in your message. :)
Forum: Geeks' Lounge Mar 25th, 2009
Replies: 3
Views: 542
Posted By nav33n
Okay..... Then what ? Cry out loud for being single (http://www.daniweb.com/forums/thread180643.html) ? :icon_rolleyes:
Forum: Geeks' Lounge Mar 25th, 2009
Replies: 600
Solved: Smoking
Views: 45,687
Posted By nav33n
I can understand how you feel! I started smoking 6 years ago and finding it very difficult to quit! I had quit for a week, but I didn't have enough will power to overcome the urge. :(
Even the...
Forum: DaniWeb Community Feedback Mar 19th, 2009
Replies: 6
Views: 1,050
Posted By nav33n
Why ? Probably to solve this (http://www.daniweb.com/forums/thread182366.html) query ? Eh ?:icon_rolleyes:
Forum: PHP Mar 10th, 2009
Replies: 5
Views: 719
Posted By nav33n
@Kevin wood, Your script seems fine.
Try this.

$query = "SELECT email FROM emails";
$result = mysql_query($query) or die(mysql_error());

while($row = mysql_fetch_array($result)) {
...
Forum: PHP Mar 5th, 2009
Replies: 4
Views: 555
Posted By nav33n
header("location: index.php?variable1=".$variable1."&variable2=".$variable2);
:)
Forum: PHP Mar 5th, 2009
Replies: 5
Solved: syntax error
Views: 294
Posted By nav33n
table = mysql reserve keyword.

Use `table` instead.
Forum: MySQL Feb 27th, 2009
Replies: 14
Views: 3,713
Posted By nav33n
<?php
// open database connection code and then my code as follows

//$id = mysql_insert_id(); << This line wouldn't work ie., $id will be null because there isn't any insert statement before...
Forum: PHP Feb 26th, 2009
Replies: 4
Solved: Ending Sessions
Views: 427
Posted By nav33n
In every page you use session variables, you should have session_start(). :)
Forum: MySQL Feb 26th, 2009
Replies: 7
Views: 1,081
Posted By nav33n
You are welcome :)
Forum: PHP Feb 25th, 2009
Replies: 109
Views: 3,476
Posted By nav33n
I am good OmniX! How are you ?

I don't think there is any decrypting script/function which you can download. They have mentioned how there can be a collision between 2 different strings giving...
Forum: PHP Feb 25th, 2009
Replies: 4
Solved: if condition
Views: 387
Posted By nav33n
This must be

In your example, you are checking if variable filename value is NULL or FALSE (which is wrong). And, you should use logical operator "and" instead of "or".
Forum: MySQL Feb 24th, 2009
Replies: 3
Views: 644
Posted By nav33n
update journey j, passengers p, shuttle s set j.occupancy=j.occupancy - 1 where p.journey_id = j.id and s.id = j.shuttle_id and s.id = 1 and p.passenger_name='bill gates'

wouldn't this work ? Many...
Forum: DaniWeb Community Feedback Feb 24th, 2009
Replies: 65
Views: 5,980
Posted By nav33n
I don't think that is a good idea! It would be a herculean task for the committee to find one person in every community every month (not that there aren't enough people, but there aren't enough...
Forum: PHP Feb 12th, 2009
Replies: 6
Solved: nl2br question
Views: 397
Posted By nav33n
@Rhyan, \n will return extra line breaks. For example, If the actual string is

ab
bc

\n will return

ab

bc
Showing results 1 to 40 of 139

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC