450 Posted Topics

Member Avatar for ChazMan

The one thing that I have started doing and it seems to work very well for both blank strings and null values coming out of mysql and postgresql(haven't tried access) is: [CODE=php] if(trim($row['value']) != "") { echo $row['value']; } [/CODE]

Member Avatar for jericho034
0
374
Member Avatar for mgn2683

This is a problem specific to dreamweaver, here are a few things that came up when I did a search on Adobe's site. [URL="http://www.adobe.com/cfusion/search/index.cfm?loc=en_us&restrict=support&term=_mmServerScripts"]http://www.adobe.com/cfusion/search/index.cfm?loc=en_us&restrict=support&term=_mmServerScripts[/URL] You may want to start there.

Member Avatar for josuemunoz
0
190
Member Avatar for 3DProf4online

phpmailer is an amazing class and there are ready examples in the download, just do a search for phpmailer download.

Member Avatar for AyuBan
0
1K
Member Avatar for realestninja

[QUOTE=odyth;635499]can someone help me make a site to compete with [url]www.google.com?[/url] im on aim halp plz :)[/QUOTE] Compete with google? Google is the internet GOD, google decides who you can compete with..

Member Avatar for cwarn23
0
983
Member Avatar for culebrin

This should help [URL="http://us3.php.net/manual/en/function.mssql-connect.php#84307"]http://us3.php.net/manual/en/function.mssql-connect.php#84307[/URL]

Member Avatar for culebrin
0
305
Member Avatar for GrimJack

[QUOTE=VernonDozier;722983]We've seen it happen and verified it many times in other animals like flies, which have lifespans short enough and have enough offspring per generation that we can see it quickly.[/QUOTE] Can you provide a link?

Member Avatar for GrimJack
0
1K
Member Avatar for Ancient Dragon

I expect it to be the "ME" of 64 bit, the next version will hopefully be a better upgrade.

Member Avatar for Jen0608
3
401
Member Avatar for The Dude
Member Avatar for The Dude
Member Avatar for allena
Member Avatar for Vladimirr
0
213
Member Avatar for Lardmeister

[QUOTE=bomber4368;664490]security fix[/QUOTE] What kind of "security fix" are you talking about here. lol

Member Avatar for jbennet
0
3K
Member Avatar for The Dude

my uneducated response, The planet is going to run out of oil anyway, and just use nuclear power and launch the nuclear waste to mars. Problem solved, ya? And to be honest with you, the world is going to shit anyway. Do we have a solution for the other x …

Member Avatar for Dave Sinkula
0
973
Member Avatar for The Dude

As a child, I took a hunter safety course. From that point on I noticed that I had a lot more respect for the fire arm than your average kid, whether I played with toy guns or not. I will do the same for my children and actually my 6 …

Member Avatar for hughv
0
277
Member Avatar for kahaj

use the concept at this url [URL="http://www.w3schools.com/js/js_form_validation.asp"]http://www.w3schools.com/js/js_form_validation.asp[/URL] in conjunction with this url [URL="http://developer.apple.com/internet/webcontent/validation.html"]http://developer.apple.com/internet/webcontent/validation.html[/URL]

Member Avatar for TnWbDzgnr1996
0
159
Member Avatar for tupacpalaman

My top ten: NIN Ministry Ozzy Pantera Megadeth Pink Floyd Eric Clapton Sabbath Rammstein White Zombie

Member Avatar for William Hemsworth
0
201
Member Avatar for Lardmeister

[QUOTE=GrimJack;719327]I would like to point out, just to be pedantic, that the USA is not a Christian country. Christ is not mentioned anywhere in our constitution nor is god (or God) and religion is first mentioned in Amendment 1 - [B]Congress shall make no law respecting an establishment of religion, …

Member Avatar for sneekula
0
765
Member Avatar for The Dude

Control of bandwidth and whether a server will allow your request to pass is completely up to the server and the server admin. Because these servers are ran by businesses and businesses have conflicts, this cannot be stopped. Any effort to do so would be a wasted effort unless you …

Member Avatar for GrimJack
0
134
Member Avatar for ko_cjun

[QUOTE=ko_cjun;720663]hello everyone! i'm trying to display a text from my database, that part is already fine but when the value of the text has a - or ' (maybe there's more) in it, instead of displaying the actual - or ' it displays other special char like smileys and stuff. …

Member Avatar for cadillacwd
0
109
Member Avatar for jbennet

[QUOTE=Ancient Dragon;720992]which part of USA is Scottland in ? Never heard of that state. :)[/QUOTE] According to Google it is somewhere in IL. Just go to google maps and search "Scottland USA".

Member Avatar for sneekula
0
149
Member Avatar for eightiesbaby80

Duran Duran was never for me. Come to think of it I can't even recall a single song. But I do have several that I like but can't give you a favorite though. Ozzy, Metallica, Billy Idol, Aerosmith, Megadeth and GnR.

Member Avatar for dickersonka
0
296
Member Avatar for ZZucker

[QUOTE=maydhyam;631360]Wouldn't it be nice if whenever we messed up our life, we could simply press Ctrl Alt Delete and start all over?[/QUOTE] Ya, then you could play jokes on people. Oops, did I do that?

Member Avatar for Lardmeister
0
1K
Member Avatar for Aia

You all state a problem, not a solution. Have you ever heard the term "I wish I were never born", well some people mean it. I just heard a story today that a 14 yr old girl dumped her new born baby in a trash can in Scottsdale, AZ yesterday. …

Member Avatar for Lardmeister
0
368
Member Avatar for benjamindemers

Here is a thread on wordwrap if you decide to go that direction: [URL="http://www.daniweb.com/forums/thread151130.html"]http://www.daniweb.com/forums/thread151130.html[/URL]

Member Avatar for benjamindemers
0
169
Member Avatar for The Dude

[QUOTE=Forfiwyn;721058]You absolutely right :)[/QUOTE] Wow, you brought this out of the abyss. Any man/woman that gets it on with a 13 yr old has issues. [QUOTE=donbone2003;467500]don't be hoppocrites[/QUOTE] I'm pretty sure that you have issues too.

Member Avatar for GrimJack
1
844
Member Avatar for platinum8

[QUOTE=GrimJack;715288]I like flat screen monitors because they give me extra space on my desk for other stuff. I would like a flat screen tv but refuse to pay that much for something that bores me to tears. We don't get cable because then we would be paying for crap and …

Member Avatar for R0bb0b
0
217
Member Avatar for Zxvavier

[QUOTE=Zxvavier;720766]HI!, umm... well, I have a task, given to me by school, that requires interviewing someone of a profession I am interested in. Rather than wasting the assignment and interviewing someone like a teacher, I decided that I wanted to interview a Programmer, unfortunately however I do not know any …

Member Avatar for R0bb0b
0
119
Member Avatar for rogenie

You might have to debug this a little but not much. This is how I would do it: <?php $data = "55;Portugal;178 55;Puerto Rico;179 55;Qatar;180 55;Reunion;181 55;Romania;182 55;Russia;183"; $queries = array(); foreach(explode("\n", $data) as $row) { $line = "insert into tablename(fieldid, countryname, order) values("; foreach(explode(";", $row) as $col) { $line …

Member Avatar for rogenie
0
180
Member Avatar for itdupuis

[QUOTE=ithelp;704246]I guess hackers can use the computation power of the computation grids used in LHC to crack passwords of any system in few seconds , that could be the only outcome of this project[/QUOTE] Everyone else is worried about black holes and discovering new matter and you are worried about …

Member Avatar for itdupuis
0
487
Member Avatar for Zurompeta

[QUOTE=Zurompeta;719003]Hi everyone, I made a chunk of code where I wanted to perform a "for" loop within a concatenated string. This is what I came up with: [CODE]$message = "The Top 5 Employees of the month are:" . for ($ctr = 0; $ctr < 5; $ctr++) { $num = $ctr …

Member Avatar for R0bb0b
0
116
Member Avatar for zamzianwar

[QUOTE=zamzianwar;716641]hai friendz !!!! Any one have online examination codez in php ??? plz help me !if u hav send it 2 me........plz its urgent......................[/QUOTE] Are you talking about an exam, like a multiple choice test? If so, dude that would be such an easy script to write. Why don't you …

Member Avatar for R0bb0b
0
98
Member Avatar for kattastic

[QUOTE=kattastic;713267]i am losing my mind the past year has been hell for me my doc won't listen nobody takes me seriously i cannot do anything for myself i am a complete mess i have tried suicide,but i have 2 kids and a dad who will pay the price and i …

Member Avatar for ZZucker
0
160
Member Avatar for The Dude

Ummm....No!!! Who asked them to make this piece of junk? How much of tax payer's money is paying for it?

Member Avatar for R0bb0b
0
93
Member Avatar for sdhariwal

Sounds to me like they are just jealous because they have no idea the symphony of css, javascript, ajax, php, sql, http etc... How, to be a web developer, especially now days, requires knowledge of several languages, techniques and the ability to take advantage of new languages and techniques as …

Member Avatar for R0bb0b
0
147
Member Avatar for AON07

So what do you know is happening? Meaning, at what points in your processing script(code that the form is submitted too) does focus reach? Does this make sense? I'm not asking for a diagnosis of your problem, I'm trying to see if you have done any debugging yourself yet. Does …

Member Avatar for R0bb0b
0
1K
Member Avatar for streetrodfanati

and post all of your code from require.inc.php because this is not 43 lines [CODE=php] function footer() { ?> <CENTER> <table> <tr> <td class="font"align=center><a href="start.php?option=contact">-contact us-</a>&nbsp;&nbsp;<a href="privacy.htm" target="_NEW">-privacy policy-</a>&nbsp;&nbsp;<a href="spam.htm" target="_NEW">-spam policy-</a><br></td></tr> </table> </CENTER> <? } ?> [/CODE]

Member Avatar for streetrodfanati
0
230
Member Avatar for Venom Rush

I've always wanted to find an excuse to create a class and serialize that class into a session. This class would store the current shopping cart for that user and would also include functions like addToCart(), emptyCart(), updateCart(), getCart(), processCart() etc... and would just update an array variable inside the …

Member Avatar for R0bb0b
0
83
Member Avatar for google503
Member Avatar for R0bb0b

Was going to post this in the joke thread but I could see people extending from the subject. I have three kids: 6yrs - Robbie or Roo is his nickname, 4yrs - Nicky or Duke is his nickname, and 1yr - Derrek or (The Bear). Anyway, Robbie and Nickie were …

Member Avatar for steven woodman
0
137
Member Avatar for dbroncos

What you need is two variables, one to collect errors(I usually use an array) and the other would be a boolean. The boolean can either be true or false to begin with depending on how you want to go about it. If you start with true then change it to …

Member Avatar for R0bb0b
0
82
Member Avatar for justted
Member Avatar for justted
0
181
Member Avatar for flynismo
Member Avatar for mrcniceguy

I think this is what you are looking for [ICODE]wordwrap($text, 14, "<br />\n", true);[/ICODE] modified to add the 4th argument to the function for hard break.

Member Avatar for mrcniceguy
0
316
Member Avatar for mgn2683

[QUOTE=mgn2683;711893]I'm not sure if what I am asking can be done. Basically, there are two different user levels of people who have access to list & detail pages. Once user level 2 finishes their evaluation, it goes to user level 3 who OKs the evaluation. The client wants to have …

Member Avatar for R0bb0b
0
92
Member Avatar for komrad

The only way that I know of doing this is redirecting after the post. For such a reason I usually process my posts on a separate file and then redirect back.

Member Avatar for Shanti C
0
100
Member Avatar for krauz2

You do not include the protocol with the servername when you use ftp_connect so change this line: $ftp_server = "ftp://MyFtpSite.com"; to this: $ftp_server = "MyFtpSite.com";

Member Avatar for krauz2
0
213
Member Avatar for mrcniceguy

I would do what darkagn said and just have a status field since I assume you are using a database, then it would just be a select count(messageid).

Member Avatar for mrcniceguy
0
99
Member Avatar for yasmena

[QUOTE=yasmena;710809]i have a JS that generates fields on the fly i set a counter so that i can count the no. of fields the user generated now i need to loop through these fields and i dont know how to use that JS variable inside PHP for($i=0;$i< "JS VAR";$i++) i …

Member Avatar for HazardTW
0
131
Member Avatar for Lardmeister
Member Avatar for cali_dotcom

[QUOTE=cali_dotcom;709068]the problem is with the links on lines 82, 92 and 100. the links do appear but when they are clicked on, the variables are not passed on to the script, hence i get a "page not found" page instead of a new query to be built and the script …

Member Avatar for cali_dotcom
0
95
Member Avatar for Gonzo10

Seems to work fine for me, I modified it a little so you could see the value of $value[$count] at the bottom of the script [CODE=php] <table width="61%" border="1" align="center" cellpadding="4"> <?php $count = 1; if (isset($_GET['value'])) { $count++; $value[$count] = $_GET['value']; print "<tr><td><big>You clicked: $value[$count]</big></td></tr>"; } $data = 10; …

Member Avatar for Gonzo10
0
103

The End.