I have this code currently (I'm not a hardcore coder):
<?php
// Rename Directory to name
$dir = basename(dirname(__FILE__));
echo ucwords(str_replace('-', ' ', $dir));
?>
Currently it...
Type: Posts; User: jnscollier; Keyword(s):
I have this code currently (I'm not a hardcore coder):
<?php
// Rename Directory to name
$dir = basename(dirname(__FILE__));
echo ucwords(str_replace('-', ' ', $dir));
?>
Currently it...
Can anyone please tell me if I'm doing something wrong?! I am going crazy here because it seems as though it should work. Any input?
I used the strtotime function to save the date as an int in my mysql table like this:
$date = strtotime($_POST['TxtDate']);
Now I'm trying to pull that number from the table using the...
Hey all,
I've always saved dates as datetime in MySQL but I recently found out that you can save a date as an int. How can I do this? I have a form passing a date textbox where the user selects a...
I am desperate! I need some genius out there to spare me a morsel of wisdom.
I have a website that asks for the user to enter a price.
When they do, it takes them to another page.
If they...
I'm not a programmer, I thought I could figure this out on my own, but after a full week (literally), I can't figure it out and submit to getting help.
I have a link on an html page that's in my...
Thanks for the reply...
I know there are sites out there with bulk domain checks but I wanted to put one on my own site. That's why I was looking for the script. Who do you use for hosting? I...
Hey all,
I found this code for a bulk domain availability checker....
http://www.namepros.com/code/280961-php-bulk-domain-availability-check.html
The problem is that when I upload it to my...
Oh ok... is there any way to do this without php? If it has to be done this way, does anyone have some code I can use to accomplish this? (I searched this and it seems, from what I've read, that a...
Ok this might just be a silly easy question but... I have uploaded a text file to my server and I have a link on one of my web pages to open the text file. I made it like a regular link:
<a...
thanks a million, that was exactly what i needed.
Ok, so I have a textarea in which i'm displaying some very basic html code. I have it so that if the user clicks in the textarea it selects all the text and then the user can copy and paste it into...
yeah i hear ya. the code on that jeff site was good but my problem with that was that there was no indication it "copied" to the user. otherwise it works perfectly. anyway, i ended up just finding...
Hey all,
So I found this:
<script language="javascript">
Yeah all the scripts i found have some button or a link that says "copy" and then the user clicks it and it copies whatever is in the textarea. But, I saw that photobucket has it so you just click...
For some reason I'm having a hard time finding this. I'm looking for a script that would allow users to click in a textarea box and it would automatically copy to clipboard whatever is in the box. ...
Thanks, unfortunately i don't have the time to do that. Although I did end up finding a great free site for online surveys:
www.esurveyspro.com
Hey all,
Hope everyone is doing well! (I hope I'm placing this thread in the right spot)
So here's the deal, I want to make a basic questionnaire to gain input from users about the site. I...
Maybe I'm not doing this right.... I'm not sure.... What I would like is for the image itself to be resized so I don't have to resize it on the display pages (like reduce the actual image size). I...
Hey all,
So I have a form that allows users to upload pictures. When they upload the picture (I found this handy script) that renames the file to a bunch of numbers and stores it in my Upload...
i have a browse page where i have checkboxes to allow members to select different age groups. I got the sort part all working, my problem is the boxes that are checked don't stay checked when the...
My question is this.... I have my table set up to have one column (id) to increment each time a new row is added. I want to be able to give the users the ability to tell other people about their...
ok ill try out the mysql_real_escape_string
So I went on vacation and just came back and i noticed some random entries in one of my database tables. the entries did not have an associated userid and were just a bunch of random letters. i...
ok, so i figured out a way to make it work.... however, now i keep getting an error message when the person has commented on all questions. It shows my custom message and then this at the bottom of...