1,741 Posted Topics

Member Avatar for Duki

[QUOTE=Will Gresham;]I love the 'End' key on my keyboard :)[/QUOTE] Only if you knew where "Start new thread" button is. Else, it's just another key, like, Page up or Page down. And I agree, many people (newcomers) are still searching for this button. :)

Member Avatar for happygeek
2
214
Member Avatar for madoverclocker

Yuck.. After we run out of all the letters (A to Z excluding F and S), what should we do ? :P Edit: I didn't read the description properly :( My mistake!

Member Avatar for debasisdas
0
1K
Member Avatar for gym_shorts

[QUOTE=Designer_101;495809]This is a really common problem that occurs when using php to redirect users. The header must be at the top of the page (first thing the browser reads). [/QUOTE] Wrong. The header can be anywhere in the script. The only thing is, you shouldn't output anything before the header …

Member Avatar for riaver
0
3K
Member Avatar for Jennifer84

If you hover over the popularity bar, You'll see the total number of views for that thread. I remember Dani mentioning this sometime ago.

Member Avatar for NathanOliver
0
136
Member Avatar for tyson.crouch
Member Avatar for it200219

[QUOTE=it200219;1237868]I have emailed you what I have in my code. Thank you[/QUOTE] Please keep it [b]on the site[/b]. That's what the forum is for. :)

Member Avatar for it200219
0
108
Member Avatar for Cobber

The 1st warning, [quote] Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/ozwww04/public_html/auction/yourfeedback.php on line 65 [/quote] is because of this query. [code=mysql] SELECT f.*,a.title FROM PHPAUCTIONXL_feedbacks f LEFT OUTER JOIN PHPAUCTIONXL_auctions a ON a.id=f.auction_id WHERE rated_user_id='$secid' ORDER by feedbackdate DESC LIMIT $left_limit,$lines [/code] Right after …

Member Avatar for pcfix609
0
183
Member Avatar for eXceed69
Member Avatar for tanha

Sorry ! I don't know much about ajax+xml. Maybe you will understand what he's saying. Check this out. [url]http://james.revillini.com/2006/10/27/no-element-found-in-firebug-or-firefox-javascript-console/[/url] and [url]http://james.revillini.com/2006/10/27/%E2%80%98no-element-found%E2%80%99-in-firebug-or-firefox-javascript-console-part-2/[/url] All the best!

Member Avatar for cavalry
0
2K
Member Avatar for Taffd
Member Avatar for Emmnauel

Hi. Welcome to Daniweb. Instead of returning $referral, you are returning $result. $result will have the [i]mysql result resource[/i] from the previous query [select query] if the query was successful OR it will have 'false' if the query fails. Read more on mysql_query [url=http://php.net/manual/en/function.mysql-query.php]here. [/url]

Member Avatar for nav33n
0
737
Member Avatar for raju_boini525

Run a cron job every day/night. Check if the date saved in the table has passed expiry date. If yes, send mail, update the table with relevant changes. If no, do nothing.

Member Avatar for SKANK!!!!!
0
120
Member Avatar for furqan219

Use [url=http://php.net/manual/en/function.array-multisort.php] array_multisort.[/url] Look at the examples to see the usage.

Member Avatar for SKANK!!!!!
0
165
Member Avatar for redgie44

Use Ajax. Refer [url=http://www.w3schools.com/ajax/ajax_database.asp] this [/url].

Member Avatar for redgie44
0
159
Member Avatar for andydeans

Check php's [url=http://php.net/manual/en/function.mysql-insert-id.php] mysql_insert_id [/url] or mysql's [url=http://dev.mysql.com/doc/refman/5.0/en/information-functions.html#function_last-insert-id] last_insert_id [/url] Both functions return the auto increment id from the previous insert query.

Member Avatar for nav33n
0
71
Member Avatar for jephthah

Now even Daniweb has the same color theme [purple] as my company's website :( .I see purple even in my dreams now! :icon_frown: Anyways, The layout looks nice and is definitely faster than before. But I have a few complaints. 1. Mouseover quote. It really hurt my eyes to follow …

Member Avatar for Dani
8
2K
Member Avatar for shekar.bdn

@shekar.bdn, Don't create multiple threads asking incomplete questions like these. Read forum rules and follow it. Thread closed.

Member Avatar for nav33n
0
105
Member Avatar for Venom Rush

No. What he means is, he wants an array with user defined variables as index. Eg. instead of accessing the array like, $arr[0], $arr[1],.. he wants to access it like, $arr[$data_01], $arr[$data_02],... I dont think its possible.

Member Avatar for Abolshiz
0
4K
Member Avatar for serkan sendur

What is the big deal about these badges anyway ? It isn't a [B]real[/B] badge that you can show off to the kids playing monopoly and say, "Take a good look at my [B]featured poster[/B] badge. I am a famous personality. k. bai!!! :twisted: " . :icon_rolleyes: Stop whining Serkan. …

Member Avatar for jephthah
1
366
Member Avatar for The Dude
Member Avatar for arjunsasidharan
Member Avatar for niths
Re: php

niths, Read [url=http://www.daniweb.com/forums/faq.php?faq=daniweb_policies] forum rules[/url]. [quote] Do not post threads with generic subjects such as "HELP ME" or "PROBLEM". Instead, clearly [B]state a phrase describing the problem as the thread's title. Do not flood the forum by posting the same question more than once[/B] (ie in multiple forums). [/quote] Use …

Member Avatar for nav33n
0
88
Member Avatar for Venom Rush

Nope. You should write your own popup for that (with 2 buttons ie.,)

Member Avatar for rh solar
0
279
Member Avatar for JoeyG7
Member Avatar for Biker920
Member Avatar for jephthah
0
252
Member Avatar for customtshirts

Gawd! customtshirts, Do you even have a job ? Oh wait, you *do* have a job. Your job is to create stupid dumb threads like these ones and promote your signature links. Wow! I get it. It must be your dream job ? eh? Please give us all a break, …

Member Avatar for Lardmeister
-8
157
Member Avatar for gunnarflax

It's called friendly urls. It's done through mod_rewrite with apache. Search in php forum, as there have been many threads on this already. I haven't worked on it [url rewriting], so this is all I can say.

Member Avatar for gunnarflax
0
136
Member Avatar for michael123

[QUOTE=mschroeder;823783]GAH! Just realized how old this thread is, how did it get resurrected?!:-O[/QUOTE] ;) Someone read the [url=http://en.wikipedia.org/wiki/Book_of_the_Dead][b]Book of the dead [/b][/url] I suppose !

Member Avatar for bhebs_quines
0
4K
Member Avatar for cwarn23

Hi, The bot doesn't quite work as expected. [quote] Welcome to the PHP chat room. nav33n Chat to PHP robot Robo answer Alright you can build a dynamic xml playlist using php to complete this task but you'll need to have flash coding under you belt plus know how to …

Member Avatar for diafol
0
142
Member Avatar for niths

[code] <body onload='document.getElementById("username").focus();'> [/code] This will pass the focus to the textbox with id "username" after the document is loaded.

Member Avatar for nav33n
0
41
Member Avatar for Waher

[QUOTE=colweb;1189170]Online02 will you please read the rules before posting!![/QUOTE] Online02 has been warned. Please report spammers to keep Daniweb clean :) Thanks.

Member Avatar for nav33n
0
295
Member Avatar for jino

What do you mean by without using for or while loop ? What's the problem in inserting a record directly ? ie., [icode]insert into tablename (col1,col2) values ('val1','val2') [/icode]

Member Avatar for indraginanjar
0
209
Member Avatar for phobia1

Welcome back (I don't know you though). Could you explain what exactly are you looking for ?

Member Avatar for waelm2010
0
372
Member Avatar for OmniX

huh ? When you execute your query, send the header back to the same page. It will work. <?php if(isset($_POST['submit'])) {//if delete button is pressed $id=$_POST['id']; $q="delete from table where id = '$id'"; mysql_query($q); header("location: samepage.php"); } <html> <body> <form method="post" action="samepage.php"> <!-- list the images and have a delete …

Member Avatar for ax8l
0
556
Member Avatar for deckchairboy

[QUOTE=customtshirts;1155515]Where is the "T shirt"? I didn't find anything like this in your post.[/QUOTE] You have all the "T shirt" in your signature, why ask for more ? What's the point in bumping this thread ? I am sure you want to promote your website/signature. eh ? Did you know …

Member Avatar for bumsfeld
1
371
Member Avatar for Dani
Member Avatar for cwarn23
0
229
Member Avatar for krish_kooll

In php, we make use of [url=http://in.php.net/microtime] microtime [/url] to find the execution time. [code=php] $starttime = microtime(); $query = mysql_query("select * from table"); $endtime = microtime(); [/code] Then calculate the difference between $starttime and $endtime. I am sure you can do the same in java as well !

Member Avatar for linzyxer
0
917
Member Avatar for tones1986

I dont know if this can help, but read out the user comments in [url=http://dev.mysql.com/doc/refman/5.1/en/connecting.html] this [/url] page. Cheers, Naveen

Member Avatar for jaysmoke
0
155
Member Avatar for HB25

[url=http://dev.mysql.com/doc/refman/5.0/en/getting-unique-id.html]last_insert_id() [/url] in mysql or [url=http://in2.php.net/mysql_insert_id]mysql_insert_id() [/url] in php gets the value of the autoincrement field from the last insert query. Eg. [code=php] //using mysql's LAST_INSERT_ID() // considering clientID as auto increment - primary key $add_to_client_query = "insert into client (name,age) values ('test','20')"; mysql_query($add_to_client_query); $add_to_booking_query = "insert into booking (busname, …

Member Avatar for Babaty
0
6K
Member Avatar for okonjiaustin

Uploading images to a table ? 99% of the people who upload an image wouldn't upload it to the table. Instead, they upload the image to the filesystem and insert the path of the image to the table. Fetching the blob data from the database just adds on to the …

Member Avatar for janani26
0
187
Member Avatar for lisles

You have [code] if(isset($_POST['submit'])) [/code] inside [quote] if($_GET["cmd"]=="edit") [/quote] You get the form, update the details, etc etc. All fine up to this stage. But when you click on submit, the form submits to [code] $_SERVER['PHP_SELF'][/code] ie., info.php . It will never enter the first condition of [code] if($_GET["cmd"]=="edit") [/code] …

Member Avatar for nav33n
0
314
Member Avatar for devangjani

Hi. You can do any of these 3 things. 1. Initialize every variable before using. [code] $x = ""; $y = 0; $z = array(); .... [/code] 2. Change your php.ini file and set error_reporting to the following. [quote] error_reporting = E_ALL & ~E_NOTICE [/quote] This will show all the …

Member Avatar for nav33n
0
467
Member Avatar for ElegantElephant

[quote] $result = mysqli_query($dbcon,[b]$result[/b]) [/quote] Is this a typo ? Apart from that, nothing is wrong with the query.

Member Avatar for ElegantElephant
0
104
Member Avatar for pancgom

[code=php] <?php $conn=mysql_connect("localhost","root"); mysql_select_db("test"); echo "Select a name: <select name='name'>"; $query="select name from users"; $result=mysql_query($query); while($row=mysql_fetch_array($result)){ $name=$row['name']; echo "<option value='$name'>$name</option>": } echo "</select>"; ?> [/code] This will show all the names of table users in a dropdown box. If this isnt what you were looking for, can you be more …

Member Avatar for shridhard
0
179
Member Avatar for RobotFX

You can set [url=http://php.net/manual/en/errorfunc.configuration.php] display_errors [/url] to off in your php.ini or add a flag in [url=http://zeo.unic.net.my/hide-php-errors-using-htaccess/] htaccess [/url].

Member Avatar for nav33n
0
271
Member Avatar for cnidhi007

[QUOTE=Ancient Dragon;1121513]Welcome to DaniWeb. Where are you from anyway? Never heard of the name Nidhi before.[/QUOTE] It's a sanskrit word for wealth/treasure. :) @nidhi, Welcome to Daniweb! :)

Member Avatar for julialouis2010
0
45
Member Avatar for virtualmisc

[QUOTE=cwarn23;1127564] Hope that helps as I have read all about the australian copywrite laws.[/QUOTE] Every country has its own copyright laws. My question is, Is there a general set of copyright rules/laws [something like, International Copyright laws ?] to which all the countries respond to ?

Member Avatar for diafol
1
97
Member Avatar for jmercola

As simple as it sounds, Your code [what you have at the moment on the page] is correct, but you should name your script from ics2_design.html to ics2_design.php OR you should make your apache parse html files as php. If you view the source of the page, you will see …

Member Avatar for vaultdweller123
0
140
Member Avatar for anje
Member Avatar for vaultdweller123
-1
47
Member Avatar for frezek

The End.