Hi all, I hope you're having a good day. I'm 15 and as a way to earn some money this this year I am thinking of starting a small web development business. I have knowledge in HTML (4 and 5), CSS (2 and 3), PHP 5, SQL, and some knowledge of Javascript. I don't think that my knowledge (or lack of) would be a downside, as I have already designed sites for small businesses in my area. I was thinking of charging per page, and about $15-30 for an HTML and CSS, or $40-50 for a full PHP. If you …

Member Avatar
Member Avatar
+0 forum 3

Hi, I made a login form on my site but I am new to javascript and do not know how this could be done (See title). I am trying to make an alert start if one of the login forms are left empty. Any advice is greatly appreciated, thanks in advance! Ex: [CODE] <html> <head> <title>Login</title> <script type="text/javascript"> function show_alert(){ alert("Please make sure all fields are entered!"); } </script> </head> <body> <?php echo " <form action='' method='POST'> Username: <input type='username' name='username'> Password: <input type='password' name='password'> <input type='submit' value='Login'> </form>"; if ($_POST){ $username = mysql_escape_string($_POST['username']); $password = mysql_escape_string($_POST['password']); if ($username&&$password){ //Standard …

Member Avatar
Member Avatar
+0 forum 7

Hi all! I'm a new to PHP and I embarked on a making a small store. One part of this involves making a form to add new products, and tables for categories. But I am getting this error: Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' on line 17 I don't find anything wrong with my code. [CODE]<?php if ($_POST){ $adding = mysql_escape_string($_POST['add_category']); echo "Adding ".$adding ." to products...<br />"; $mysql_connection = mysql_connect("host", "username", "password"); if (!$mysql_connection) die("<font color='red'><b>MySQL connection error, process halted!</b></font>"); if (!mysql_select_db("products", $mysql_connection)) die ("Unable to select database, process halted!"); $get_categories = mysql_query("SELECT * FROM …

Member Avatar
Member Avatar
+0 forum 6

Hi, Today I set up a NFS with Windows Server 2003 R2, and I was writing a .cmd file to back up the C:/Documents and Settings/ folder to the NFS (Network File System). I'm having a problem with the parameters of the xcopy (Copies folders and subfolders), I'd really appreciate it if you could help me out with this! Code: echo off title Welcome %USERNAME% cls :TOP color 0a cls echo %USERNAME%, Would you like to back-up your files since last shutdown? set /p input="Y/N:" if %input%==yes goto :BACKUP if %input%==Yes goto :BACKUP if %input%==y goto :BACKUP if %input%==YES goto …

Member Avatar
+0 forum 0

Hi all, I'm working on a login system for my site. But when I use mysql_num_rows I get an error [CODE]"Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/patrickm129/patthepcwizard.com/login02.php on line 25"[/CODE]. I'd really appreciate it if you would be able to solve this with me. P.S.: The error is in login02.php. <p></p> [B]login.php[/B] [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> <!-- body,td,th { color: #FFFFFF; } body { background-color: #000000; } --> </style></head> <body> <form action='login02.php' method="post"> <p>Username: <input type="text" name="username"> <br>Password: <input …

Member Avatar
Member Avatar
+0 forum 2

Hello, I'm trying to learn Python to get ahead in school but don't know where to start. I already have a shell and SW installed on my machine to write the code, but I can't find a good index of the codes. What would you suggest I do or learn first? -Thanks, Pat

Member Avatar
Member Avatar
+0 forum 3

This would really help with my security software, and my batch-exe converter. Thanks!

Member Avatar
Member Avatar
+0 forum 1

Hello, I am making a *.vbs file and I need help putting two codes in. The first code is to make a .txt file named "Hello World", with the text in the .txt file "Time ... (your time)-Test123" Code: [CODE]myfilename = "\Hello World.txt" MakeHelloWorldFile myfilename Sub MakeHelloWorldFile (FileName) 'Create a new file in C: drive or overwrite existing file Set FSO = CreateObject("Scripting.FileSystemObject") If FSO.FileExists(FileName) Then Answer = MsgBox ("File " & FileName & " exists ... OK to overwrite?", vbOKCancel) 'If button selected is not OK, then quit now 'vbOK is a language constant If Answer <> vbOK Then …

Member Avatar
Member Avatar
+0 forum 2

Hello, Can you help me... I am trying to make a vbs file that when you open it, it automaticly takes up the full screen. Do you know a code that will do this? -Thanks

Member Avatar
Member Avatar
+0 forum 4

Hello, I recently learned a new batch command and I was wondering if I could make a batch file from at root batch file... Ex: [CODE]echo pause>\test.bat[/CODE] This code makes a batch file that has the command pause. Now would I make a multi-line batch file using this code? Ex: I want the root file to make a batch file that completes a C:\ tree and than changes color (tree, color 0a)? -Thanks

Member Avatar
Member Avatar
+0 forum 2

Hello, I am trying to make a link to a certain area of the image (for a site map, using the mpa feature), How would I place this code in? [code] <img src="http://www.mysite.com/images/header03.jpg" width="770" height="230" border="0" usemap="#Map" /> <map name="Map" id="Map"><area shape="rect" coords="291,195,366,227" href="http://mysite.index.html" /> <area shape="rect" coords="372,194,447,227" href="http://www.mysite.com/page1.html" /> <area shape="rect" coords="455,194,578,225" href="http://www.mysite.com/page2.html" /> <area shape="rect" coords="585,191,768,226" href="http://www.mysite.com/page3.html" /> [/code] Please reply ASAP... Thanks!

Member Avatar
Member Avatar
-1 forum 1

The End.