Everything posted by iVenki
-
Templates for forum
I am not going to design the web page at all. All I need is a predefined template. Which site is best for this purpose. The template should have the features of a forum. Thanks in advance.
-
Templates for forum
We are planning to create a forum for electronics. We don't have time for designing. Is there any templates available in the internet? Thanks in advance.
-
Hosting a website
I have a considerable knowledge in HTML,CSS,JAVASCRIPT,PHP and MYSQL which I learnt through w3schools site. I have designed a web page. This includes a php file and a database. How should I host this webpage for free? Please help me because I am new to web designing.
-
Host my website.
I have a considerable knowledge in HTML,CSS,JAVASCRIPT,PHP and MYSQL which I learnt through w3schools site. I have designed a web page. This includes a php file and a database. How should I host this webpage for free? Please help me because I am new to web designing.
-
RSS / Feeds and Feedburner Wordpress
Hello. I am just learning web designing right now. See this link http://www.w3schools.com/rss/default.asp
-
Delete database in my sql
How do you completely delete the specified database in mysql? I need the syntax (with example if possible). Thanks in advance.
-
Undefined index
I presume there should be no problem in my html document. Anyway here's the code. <html> <head> <title> Upload </title> </head> <body> <p> <form action="upload.php" method="post" enctype="mutlipart/form-data"> <input type="file" name="file" id="file"/> <br/> <input type="submit" name="submit" value="submit"/> </form> </p> </body> </html>
-
Cannot create the database.
Here's my code <?php $con=mysql_connect(); if(!$con) { die("Unable to connect:".mysql_error()); } if(mysql_query("CREATE DATABASE my_db",$con)) { echo "Database has been created"; } else { die("Cannot create the database".mysql_error()); } mysql_select_db("my_db",$con); $sql="CREATE TABLE Persons ( Firstname varchar(15), Lastname varchar(15), Age varchar(15) )"; //Execute query mysql_query($sql,$con); mysql_close($con); ?> I am getting this error message. Plz help me get rid of this error. Cannot create the databaseAccess denied for user ''@'localhost' to database 'my_db' Thanks in advance.
-
file related functions
Yes it has. Also see my next question also. I mean fclose() is not working.
-
Undefined index
I was trying this code for uploading files into the folder "upload/" <?php if ($_FILES["file"]["error"] > 0) { echo "Return Code: " . $_FILES["file"]["error"] . "<br />"; } else { echo "Upload: " . $_FILES["file"]["name"] . "<br />"; echo "Type: " . $_FILES["file"]["type"] . "<br />"; echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />"; echo "Temp file: " . $_FILES["file"]["tmp_name"] . "<br />"; if (file_exists("upload/" . $_FILES["file"]["name"])) { echo $_FILES["file"]["name"] . " already exists. "; } else { move_uploaded_file($_FILES["file"]["tmp_name"],"upload/" . $_FILES["file"]["name"]); echo "Stored in: " . "upload/" . $_FILES["file"]["name"]; } } ?> But I get some kind of "Undefined index:" blah blah blah... many times and nothing happens. What should I do? Thanks in advance.
-
file related functions
Hi everyone! There are few problems I having with the file related commands/ functions. How do you write/append into a file. I have tried these codes and nothing happens. Here's the code <?php $file=fopen("Different2.txt","a") or exit("Unable to open file!"); if(!feof($file)) { echo fgets($file). "<br/>"; } ?> Also I have another problem also. fclose() is not working. fclose($file); if($file) echo "The file is opened"; else echo "The file is closed"; I am getting the file is opened. I don't know why. Help me. Thanks.
-
fopen is not doing anything
Thanks it worked.
-
fopen is not doing anything
Here's the php code <html> <body> <?php $file=fopen("Different.txt","r"); ?> </body> </html> Hello guys! I ran this in wamp server and it's not opening the "Different" file at all. I am just getting a blank page. What should be the reason? Help me.
-
Install php in windows 7
I am going to start learning php (for server side scripting). I dunno how to install that in my windows 7 OS. Plz give me step by step procedure to install it into my system. Thanks. Plz explain me clearly.
-
New to web design
Wow. I studied java script. It's awesome and easy to learn especially because I knew java before. Enjoying web designing.
-
Hyperlink not working
I dunno but sometimes the hyperlink is not working. I mean it's like a normal text though I have created hyperlink. Dunno why.
-
New to web design
Thank you for your suggestions.
-
New to web design
Hello everyone! I am Venky from India. Well, I am new to web design. I know a little about html and css. Learning it. I am an amateur. I enjoy web designing.
-
New to web design
Hello everyone! I am new to web design. I have finished html basis. Now I am learning css. I love these very much. Well, I know to design a simple web page. What should I do if I wanna build web pages like where you can update the information (like news or some what related to blog). Some of my friends use tools for designing web pages without even knowing the code. Give me your suggestions for my next step. What should I do right now?