cmgmyr
Members-
Posts
1,278 -
Joined
-
Last visited
Never
Everything posted by cmgmyr
-
Try just changing this:[code]mail($mailto, $subject, $messageproper, "From: \"$name\" <$email>" . $headersep . "Reply-To: \"$name\" <$email>" . $headersep . "X-Mailer: chfeedback.php 2.07" );[/code] to this[code]mail($mailto, $subject, $messageproper,"From: \"$name\" <$email>);[/code]
-
The only thing you can do if you don't like ie7 is uninstall it, which with then replace 7 with 6
-
Looks good to me! The only thing that I saw is with your footer...Without looking at the code I'm assuming that you have the backround of the text set as white...which is fine, but you have it extending across the whole width of the page and when it hits your shark it cuts part of it off. I like the header and the rollovers a lot. -Chris
-
Awesome, I will def check that out.
-
I would just add the variables as hidden inputs (as above) then you can do whatever you want with them.
-
javascript <BUTTON> submits form when I don't want it to
cmgmyr replied to dptr1988's topic in Javascript Help
Awesome No problem! -
javascript <BUTTON> submits form when I don't want it to
cmgmyr replied to dptr1988's topic in Javascript Help
try adding [code]return false;[/code] to the onClick -
"OR" im trying to find a field which has a or b or c in it
cmgmyr replied to mojito's topic in MySQL Help
The easiest way to do it is: [code]WHERE virtualName='stringone' OR virtualName='stringtwo' OR virtualName='stringthree'[/code] -
php picture up-loading, with mysql-support
cmgmyr replied to ExosSho's topic in Editor Help (PhpStorm, VS Code, etc)
sorry, try deleting $result so it's like: $num = mysql_affected_rows(); -
instead of using backround= use: [code]<td style="background-image:url(images/hoover_index_r2_c1.gif);" colspan="3" valign="top">[/code]
-
php picture up-loading, with mysql-support
cmgmyr replied to ExosSho's topic in Editor Help (PhpStorm, VS Code, etc)
which line is 60 -
php picture up-loading, with mysql-support
cmgmyr replied to ExosSho's topic in Editor Help (PhpStorm, VS Code, etc)
Try this: [code]@mysql_connect("localhost", "username", "password") or die("Could not connect to database"); @mysql_select_db("database") or die("Could not connect to database music"); $query = ("INSERT INTO upload (name,typ,titel) VALUES ('$upfile_name','$upfile_type','$titel')"); $result = mysql_query($query) or die('Query failed: ' . mysql_error()); $num = mysql_affected_rows($result); } if ($num>0) { echo "<g>one data has been added<p></g>"; } else if($num<=0) { echo "<r>an Error appeared, "; echo "no data has been added to mysql<p></r>"; }[/code] -
#1. Good job on your first website, it looks pretty good. #2. I have to agree about the rollovers...could have worked a little more on them. What you should do is on the rollover have the image fade out, or have a less opacity. That will atleast give the viewer some sort of visual without being a big block of nothing. **I also understand that clients can have ideas about what they want, and some of them don't like hearing suggestions about things like that. If a client likes something that doesn't look good or doesn't validate, or whatever you should atleast try and explain to them and see if you can work something out. I have had a few clients that wanted just what they wrote down, and it didn't come out that great...I thought...but they liked it...and they are the ones that hand out the check after it is done. Sorry for the ramble but just something to be aware of. Later, -Chris
-
passing variables from one page to another without db
cmgmyr replied to kimeee's topic in PHP Coding Help
You can use _POST without having a db set up. Can you include any code? -
A good way to start your site up is just sell everything of yours on ebay. When you enter in the html make it look like your own website. Put your links to you site anywhere that it looks good so that if they like what you have they might go directly to your site next time. Once you gain some momentum with that you might want to put some ads in some newspapers, swap sheets, and car mags.
-
Thanks everyone I will check those out
-
No, I mean like with a form. You press the "B" button and it adds the "[ b ]" in the form...you type...you press the "B" again and it adds the "[/b]" at the end. When you submit it, it takes those and makes it into html
-
You know how forums have the Bold, Italic, Underline, URL buttons (Just like this board)? How do I make those? Where do I start? Thanks, -Chris
-
Thats how I did one of my sites. It works out pretty well, it's fast and pretty simple.
-
ok thanks again!
-
Another question... How do I make this dynamic to where they have a little text box and they type in the name they want, and after it is verified, then it goes and makes the redirect?
-
Cool. Thanks! I will check it out.
-
You know how myspace let's you pic your own url? (myspace.com/myname) How do I impliment that on my own site. I currently have the profiles set up as profile.php?userid=usernumber
-
You have to work in bytes...and you were on the right track...1000 bytes in 1 KB...1000KB in 1 MB....1000mb in 1 GB (actually it's 1024...but it doesn't really matter)
-
WOW! Uber errors. I think the design needs work, and a new backround.