450 Posted Topics
Re: 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] | |
Re: 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. | |
Re: phpmailer is an amazing class and there are ready examples in the download, just do a search for phpmailer download. | |
Re: [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.. | |
Re: 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] | |
Re: [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? | |
Re: I expect it to be the "ME" of 64 bit, the next version will hopefully be a better upgrade. | |
Re: Vail, Colorado in the US. Beautiful Rocky Mountain area. | |
Re: [QUOTE=bomber4368;664490]security fix[/QUOTE] What kind of "security fix" are you talking about here. lol | |
Re: 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 … | |
Re: 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 … | |
Re: 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] | |
Re: My top ten: NIN Ministry Ozzy Pantera Megadeth Pink Floyd Eric Clapton Sabbath Rammstein White Zombie | |
Re: [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, … | |
Re: 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 … | |
Re: [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. … | |
Re: [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". | |
Re: 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. | |
Re: [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? | |
Re: 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. … | |
Re: 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] | |
Re: [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. | |
Re: [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 … | |
Re: [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 … | |
Re: 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 … | |
Re: [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 … | |
Re: [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 … | |
Re: [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 … | |
Re: [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 … | |
Re: Ummm....No!!! Who asked them to make this piece of junk? How much of tax payer's money is paying for it? | |
Re: 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 … | |
Re: 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 … | |
Re: 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> <a href="privacy.htm" target="_NEW">-privacy policy-</a> <a href="spam.htm" target="_NEW">-spam policy-</a><br></td></tr> </table> </CENTER> <? } ?> [/CODE] | |
Re: 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 … | |
Re: You are not closing your "else {" statement on line 60 | |
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 … | |
Re: 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 … | |
Re: fetch() is not in the manual, can you post that function? | |
| |
Re: 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. | |
Re: [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 … | |
Re: 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. | |
Re: 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"; | |
Re: 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). | |
Re: [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 … | |
Re: [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 … | |
Re: 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; … |
The End.