Jump to content

Recommended Posts

Posted

Hey Guyz i want to learn some php :) so i have buy some tutorial form phpvideostutorials here i m doing some dynamic gallery so i m confused in that video first chapter is template so i have started coded code is like this

 

<?php
$view = empty($GET['view']) ? 'index' : $_GET['view'];
switch ($view) {

  case "index":
  echo "this is a index view";
  break;

  case "create":
  echo"this is a create view";
  break;
}
?>

 

this is working fine with me in like index.php but in that movie he open next page

 

index.php?view=create

 

 

when i m opening this i m getting error no files found on server he have no make other page of create

Posted

Ok Done hehe

 

I forgot to to wire _ after $ hehe :) Thank u but do not close my topic ill ask other coding also :)

Posted
nice work anique, good luck buddy
Posted
Hello Everyone :) I need some help i have make one website like blog i want comment box with name and message only can anybody tell me which code works??

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.