Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~32.3K People Reached
Favorite Tags
Member Avatar for nathanpacker

Hey everyone, I'm looking for a free tool to administer MySQL databases. I currently use PHPMyAdmin, which is great, but I'm looking for the same functionality in a desktop software. I've actually found quite a few, but wondered if you any of you could recommend one for me. My only …

Member Avatar for diafol
0
212
Member Avatar for nathanpacker

I need to create a very simple script with php. There is a form with only one input field, for the user's email address. They click submit, and the script sends an email to that address, while attaching a pdf file that I specify in the script. I've found many …

Member Avatar for dineshsjce
-1
2K
Member Avatar for nathanpacker

Hey, I'm trying to use a simple select menu, and I would like to set one of the values to be the default, and it works great in IE, but not in firefox. Here is a sample: [CODE] <select name="test"> <option value="Test 1">Test 1</option> <option value="Test 2">Test 2</option> <option value="Test …

Member Avatar for homez
0
663
Member Avatar for nathanpacker

I don't understand what happened, I hadn't made any changes to this script, and all of the sudden, it's giving this error: [QUOTE]Notice: Use of undefined constant ID_my_site - assumed 'ID_my_site' in /path/to/my/script/changed/forsafety.com/login.php on line 90[/QUOTE] As you can tell from this error, I am trying to run a login …

Member Avatar for deceptikon
0
2K
Member Avatar for nathanpacker

Hey, I've got a simple little table that has only 3 fields. ID (primary key, auto-increment), cat_name, and cat_num. I need to know how to get my php script to go into that table, and increase the value in cat_num by one on every row. So for instance, here is …

Member Avatar for tgmsocal
0
3K
Member Avatar for nathanpacker

Hey, I have a script that sends a user an html-formatted email. Usually once per email, there is an exclamation point popping up in the middle of the email. I've read somewhere about this happening because of some limit at 1000 character limit, and it could be around that point, …

Member Avatar for pocopico
0
1K
Member Avatar for nathanpacker

Hey, I'm running a mysql query, and would like to run a script if the query returns no results. But what do I use to test for no results? Something like: [PHP] if (!$query) { do this } [/PHP] But just not sure how to implement it. Little help?

Member Avatar for BradChesney79
0
2K
Member Avatar for nathanpacker

I was curious if there is a good way to come about with an approximate value for a domain name on my own without having to pay for a service. Reason being, is there is a domain name that I would like to register, that is not currently registered, that …

Member Avatar for carlosreg
0
674
Member Avatar for nathanpacker

Hey, I've got a littl batch script that backs up some files for me, and the last line opens up Outlook with the CALL command: [CODE]CALL "C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE"[/CODE] The Problem is, the batch script wants to wait till OUTLOOK.EXE has finished executing before it runs the rest of the …

Member Avatar for batman42ca
0
157
Member Avatar for nathanpacker

I have looked everywhere, I've figured out how to add x amount of days to the current date, or take away x amount of days from the current date. But let's say I have a date stored in my database as "0000-00-00", that is not the current date. How can …

Member Avatar for ripraw
0
191
Member Avatar for nathanpacker

Very simple code, I even echo the variables to make sure they are comming through: [PHP]<? include 'config.php'; $recordid = $_POST['recordid']; $im=$_POST['im']; $bm=$_POST['bm']; $peachtree=$_POST['peachtree']; $canapprove=$_POST['canapprove']; $cancomment=$_POST['cancomment']; $canclose=$_POST['canclose']; $administrator=$_POST['administrator']; echo $im; echo $bm; echo $peachtree; echo $canapprove; echo $cancommnet; echo $canclose; echo $administrator; echo "<p>"; $result = mysql_query("UPDATE employees SET im='$im', …

Member Avatar for vimalsaifudin
0
3K
Member Avatar for kaiserh
Member Avatar for nathanpacker

Hey, I need help getting that ugly yyyy-mm-dd format to change to something prettier. I would prefer being able to output it in the form like January 01, 2007. Something easy to read for the average user. I can leave it stored in yyyy-mm-dd in my database, but in my …

Member Avatar for kblenman
0
263
Member Avatar for nathanpacker

Hey, I need to write a little .bat script that will place a predetermined string of characters into the clipboard, ready for immediate pasting. Is there any way to do such a thing? For instance, in my script, I would like to set the "mystring" variable to say "#$ERdfcv34/l" , …

Member Avatar for johnny3d
0
161
Member Avatar for nathanpacker

Hey everyone. I have an interesting perl idea, and am wondering if it's been done. I would like to have a page on my website, where someone could go in and chat with me. I wouldl like it so that, a person (that I have given a user name and …

Member Avatar for verruckt24
0
185
Member Avatar for nathanpacker

I'm only writing this in the php section, because php is really all I know. My wife purchased a big package of downloads from a site, and now she has to go and download them all, because she only has 7 days to download them. So she has to click …

Member Avatar for pritaeas
0
94
Member Avatar for nathanpacker

This is partly PHP, partly javascript, so I wasn't sure where to stick it, but I'll stick it here. I'm sorry if this is a bit confusing, but I hope I can explain myself well. The below code queries a table in my database, and prints out a table with …

Member Avatar for francine
0
2K
Member Avatar for nathanpacker

Wasn't sure whether to put this in java or php, so I'm putting it here. I have a bit of java that opens a php page in a popup window, using this code: [CODE=java]<a href="javascript: void(0) "onclick="window.open ('my_form.php','linkname','height=465, width=400, left=550, top=150, scrollbars=no')">Click Here</a>[/CODE] So that code opens up "my_form.php" in …

Member Avatar for effu
0
314
Member Avatar for nathanpacker

Hey, I've got some values that don't seem to be calculating correctly. I've got two numbers, subtracting one from another, and instead of the answer being an exact number, like .06, it's coming out as like .0599999999. For some background, I'm working with monetary values, and since I'm so new …

Member Avatar for nathanpacker
0
231
Member Avatar for nathanpacker

Anybody know if there's a way to pull gas prices from any of those gas price websites, so I can display them on my own page? I didn't know if there's a way to tap in to their source or if they provide some sort of way to do that. …

Member Avatar for ha1e
0
153
Member Avatar for nathanpacker

Hey everyone, I'm using php to delete a row from a table in a database in mysql, but it's not working. I'm not even trying to do anything fancy, just delete one row. Here's the code: [PHP]<? include 'config.php'; $recordid = $_POST['recordid']; echo $recordid; mysql_query("DELETE FROM employees WHERE recordid='$recordid'") or …

Member Avatar for nav33n
0
4K
Member Avatar for nathanpacker

Quick question here. I wanted a way to quickly change the URL of an image that is place on my page, so I came up with the following little script: [code=php] <?php echo "Status: $status"; if ($status == 'Online'){ rename('status.bmp', 'offline.bmp'); rename('online.bmp', 'status.bmp'); } elseif ($status == 'Offline'){ rename('status.bmp', 'online.bmp'); …

Member Avatar for nav33n
0
338
Member Avatar for nathanpacker

Alright, this one has me stuck. I know it's possible, because I've seen an example in another thread, but mine is slightly different, and I can't figure it out. Ok, I have one script that pulls all the rows from a database, and displays the data using a while loop. …

Member Avatar for nathanpacker
0
148
Member Avatar for nathanpacker

Hey, not sure if this is possible with PHP, but I thought I'd ask anyway. Is it possible to update values on an html page based on values being typed into an input box? For example. My table has three columns. Column 1 has an integer in it. Column two …

Member Avatar for ryan_vietnow
0
108
Member Avatar for nathanpacker

Hey, I'm using a while loop to display all the rows of a table in my database, and wondered if anyone knows how I can make it so the background color of each row alternates between two different colors. I'm using php to call the information, so I can stick …

Member Avatar for nathanpacker
0
83
Member Avatar for nathanpacker

Hey, I've been searching around, having a hard time finding something. Are there any simple scripts out there or something that I can use to generate graphs from information in mysql database tables?

Member Avatar for iamthwee
0
85
Member Avatar for nathanpacker

Hey, this is kind of a dumb problem, but I'm stumped by it. I wrote a little script to track my morning bike rides, and I have a time field to put in the time that I rode. Mind you, this is not the time of the day that I …

Member Avatar for seagram
0
109
Member Avatar for nathanpacker

Hey, I just need a little advice. I currently host 3 different sites with Globat.com. I've been with them for about 5 years, and have really liked them. Uptime is good, support is ok, and the value is unbeatable. More space and bandwidth than I know what to do with. …

Member Avatar for Resonate
0
339
Member Avatar for nathanpacker

Hey, I built a phpBB forum for a friend of mine, and it's actually prospering quite well! But a couple weeks ago, he started getting messages in the admin email box basically that were forwarded to him because they couldn't reach their original destination. Some bot or something has been …

Member Avatar for wtwolf6
0
262
Member Avatar for nathanpacker

Hey, I need to know the command for adding secondary groups for a user. The only catch is that I have to assume that they are already members of some secondary groups. And if I use modprpw -G [group], then it erases any secondary groups they were previously in, and …

Member Avatar for nathanpacker
0
92