Jump to content
xisto Community

web_designer

Members
  • Content Count

    1,390
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by web_designer

  1. Home...sweet home :)

    1. sheepdog

      sheepdog

      Hey, are you back?! Haven't seen ya in awhile

       

    2. k_nitin_r

      k_nitin_r

      "Gnome 2.0, sweet Gnome 2.0," say the folks who dislike Gnome 3.0.

  2. Hi dear, how are you doing, I hope you are doing great and thank you a lot for your fast reply, it worked like a charm I could access the cpanal now. and the reason is I was using an old link (http://forums.xisto.com/no_longer_exists/) they should changed now. And that proves how along I was away from here so sad. I hope to be more active but I am fully taken away with life. But It is always relieving to have someone like you here to help and support. Well done dear, and thanks again.
  3. Hi,How are you all? I hope you doing great. I have a website hosted on a server here, usually I can enter the cpanal right away to edit my files but it was been a while since I did that. So, when I tried to open the cpanal, it kept on loading and nothing comes up. I was wondering what is going on? and how to fix it. I need to edit files as soon as possible so please any help will be appreciated. Thanks in advance.
  4. Great Goals need Great Work..so keep on trying hard to reach your dreams...

    1. k_nitin_r

      k_nitin_r

      My goals seem like they exist on the moon. If only the work was as simple as building a rocket. :-P

  5. Thanks for the suggestion jlhaslip, I really appreciate your help. but the issue is resolved, I was working on it the past few days, and it seems that it is only a matter of organizing error, because I was trying to insert data to the chapters table where I didn't insert a book first :Ptherefore I got this error, because as I said before, the whole database is related in many to many relationship. Thanks for your help again.
  6. Hi everyone, I have this error message appears when I try to insert data to my database through a form, here is the error message: I checked everything and it looks fine, here is the code for inserting the data: <form id="form2" name="form1" method="POST" action="<?php echo $editFormAction; ?>"> <p> <label for="chapter">Chapter</label> <input type="text" name="chapter" id="chapter" /> </p> <p> <label for="pages">Pages</label> <input type="text" name="pages" id="pages" /> </p> <p> <label for="startDate">Start Date</label> <input type="text" name="startDate" id="startDate" /> </p> <p> <label for="needsBy">Needs By</label> <input type="text" name="needsBy" id="needsBy" /> </p> <p> <label for="completed">Completed</label> <input type="text" name="completed" id="completed" /> </p> <p> <input name="hiddenField" type="hidden" id="hiddenField" value="<?php echo $row_rsChapters['bookID']; ?>" /> </p> <p> <input type="submit" name="button" id="button" value="Submit" /> </p> <p> <input type="hidden" name="MM_insert" value="form1" /> </p> <p> <a href="<?php echo $logoutAction ?>">Log out</a></p> </form> and this is the php code for the insertion method: $bookVar = $_GET['bID'];if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { $insertSQL = sprintf("INSERT INTO chapterstatus (bookID, chapter, pages, startDate, needsBy, completed) VALUES (" .$bookVar. ", %s, %s, %s, %s, %s)", GetSQLValueString($_POST['chapter'], "int"), GetSQLValueString($_POST['pages'], "text"), GetSQLValueString($_POST['startDate'], "text"), GetSQLValueString($_POST['needsBy'], "text"), GetSQLValueString($_POST['completed'], "text")); mysql_select_db($database_connWill, $connWill); $Result1 = mysql_query($insertSQL, $connWill) or die(mysql_error()); $insertGoTo = "addChapters2.php"; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo));}mysql_select_db($database_connWill, $connWill);$query_rsStudent = "SELECT * FROM students";$rsStudent = mysql_query($query_rsStudent, $connWill) or die(mysql_error());$row_rsStudent = mysql_fetch_assoc($rsStudent);$colname_rsBooks = "-1";if (isset($_GET['bID'])) { $colname_rsBooks = $_GET['bID'];} so where is the error I really don't know, so any ideas why I got this error message? thanks in advance for any help.
  7. Hi everyone, I have this problem with my new battery for Dell Inspiron 1520, I just bought it two weeks ago and it should work better than that. The whole problem is, every time it reaches 66%, the whole computer sleeps even if it plugs to power, I mean it is charging, and I even couldn't turn it on until few seconds more. I know it is not that big thing, but it is really annoying, sometimes it sleeps when I was working on something really important, so it bothers me a lot. I checked the settings but couldn't find something weird, so any suggestion on what to do?Thanks in advance.
  8. Here is the PHP code for the whole page: <?php require_once('../../../Connections/connWill.php'); ?><?php//initialize the sessionif (!isset($_SESSION)) { session_start();}//session_register("studentID");//$studentID = $HTTP_POST_VARS['txtStudent'];// ** Logout the current user. **$logoutAction = $_SERVER['PHP_SELF']."?doLogout=true";if ((isset($_SERVER['QUERY_STRING'])) && ($_SERVER['QUERY_STRING'] != "")){ $logoutAction .="&". htmlentities($_SERVER['QUERY_STRING']);}if ((isset($_GET['doLogout'])) &&($_GET['doLogout']=="true")){ //to fully log out a visitor we need to clear the session varialbles $_SESSION['MM_Username'] = NULL; $_SESSION['MM_UserGroup'] = NULL; $_SESSION['PrevUrl'] = NULL; unset($_SESSION['MM_Username']); unset($_SESSION['MM_UserGroup']); unset($_SESSION['PrevUrl']); $logoutGoTo = "../index.php"; if ($logoutGoTo) { header("Location: $logoutGoTo"); exit; }}?><?phpif (!isset($_SESSION)) { session_start();}$MM_authorizedUsers = "";$MM_donotCheckaccess = "true";// *** Restrict Access To Page: Grant or deny access to this pagefunction isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) { // For security, start by assuming the visitor is NOT authorized. $isValid = False; // When a visitor has logged into this site, the Session variable MM_Username set equal to their username. // Therefore, we know that a user is NOT logged in if that Session variable is blank. if (!empty($UserName)) { // Besides being logged in, you may restrict access to only certain users based on an ID established when they login. // Parse the strings into arrays. $arrUsers = Explode(",", $strUsers); $arrGroups = Explode(",", $strGroups); if (in_array($UserName, $arrUsers)) { $isValid = true; } // Or, you may restrict access to only certain users based on their username. if (in_array($UserGroup, $arrGroups)) { $isValid = true; } if (($strUsers == "") && true) { $isValid = true; } } return $isValid;}$MM_restrictGoTo = "../accessDenied.php";if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) { $MM_qsChar = "?"; $MM_referrer = $_SERVER['PHP_SELF']; if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&"; if (isset($_SERVER['QUERY_STRING']) && strlen($_SERVER['QUERY_STRING']) > 0) $MM_referrer .= "?" . $_SERVER['QUERY_STRING']; $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer); header("Location: ". $MM_restrictGoTo); exit;}?><?phpif (!function_exists("GetSQLValueString")) {function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = ""){ if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? doubleval($theValue) : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue;}}$editFormAction = $_SERVER['PHP_SELF'];if (isset($_SERVER['QUERY_STRING'])) { $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);}if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form2")) { $insertSQL = sprintf("INSERT IGNORE INTO textbooktable (authorLastName, authorFirstName, title, edition, isbn, publisher, pages, format, subject, amx) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s)", GetSQLValueString($_POST['authorLastName'], "text"), GetSQLValueString($_POST['authorFirstName'], "text"), GetSQLValueString($_POST['title'], "text"), GetSQLValueString($_POST['edition'], "text"), GetSQLValueString($_POST['isbn'], "int"), GetSQLValueString($_POST['publisher'], "text"), GetSQLValueString($_POST['pages'], "int"), GetSQLValueString($_POST['format'], "text"), GetSQLValueString($_POST['subject'], "text"), GetSQLValueString($_POST['amx'], "text")); mysql_select_db($database_connWill, $connWill); $Result1 = mysql_query($insertSQL, $connWill) or die(mysql_error()); $insertGoTo = "requestChapters.php"; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo)); $studentVar = $_SESSION['studentID']; mysql_select_db($database_connWill, $connWill);$sql="INSERT INTO tblstudentbookjunc (studentID, bookID)VALUES(" .$studentVar. ",LAST_INSERT_ID())";if (!mysql_query($sql,$connWill)) { die('Error: ' . mysql_error()); }echo "1 record added"; }mysql_select_db($database_connWill, $connWill);$query_rsStudents = "SELECT * FROM students";$rsStudents = mysql_query($query_rsStudents, $connWill) or die(mysql_error());$row_rsStudents = mysql_fetch_assoc($rsStudents);$totalRows_rsStudents = mysql_num_rows($rsStudents);?>
  9. Hi, I work on a project right now and I got stuck in some where, the database that I am working on right now is a many to many relationship database, it is a book order database that allows students to order books and admin to control their orders. So what I have is four tables (books, students,admins, and bookstudentsconjunction), the bookstudentsconjunction is made to allow the many to many relationship, and I set everything using PHPMyAdmin. the problem that I countered is, I need to use the session variable to determine a certain student to insert a book to both tables (books and bookstudentsconjunction) and this is my MYSQL query: $sql="INSERT INTO tblstudentbookjunc (studentID, bookID)VALUES($_SESSION[studentID],LAST_INSERT_ID())"; but I can't get the desired effect, so any ideas where is the error?? thanks in advance.
  10. MERY CHRISTMASand HAPPY NEW YEAR everyone...hope you a great year and a happy holidays...

  11. WOW new theme, i like it...good job guys...seems i didn't coe here for ages but this year was so full for me, even now, i am recovering from my second surgery :) but wait for me i will be here soon...have a great day all of you...

    1. velma

      velma

      How are you doing? What was the surgery for?

    2. k_nitin_r

      k_nitin_r

      Hope you are better now.

  12. studying for my exam...wish me luck i should get a high scores...

    1. Show previous comments  4 more
    2. mandla

      mandla

      W_D best of luck to you for the exams but i know you are good so you dont depend on luck. If anything you should be the teacher.

    3. web_designer

      web_designer

      thanks a lot everyone, you pleased my heart... :)

    4. k_nitin_r

      k_nitin_r

      How did you do in the exams?

  13. hi Dyson,welcome to Xisto, you will find a lot of interesting and usful topics here. you can have friends, and have fun, just keep on posting and be active and enjoy. good luck.
  14. well i am not sure of what region you are or what country you are from?? but here in america i see there are equal advantages and disadvantages of putting our children in public schools.the advantages are, the education, the experience, personally i see the level of education here is much more better than other countries, but still depending of the student itself and his or her family.and the disadvantages are, the chance of being influnced by the weong person and affecting by them and consequently they will learn bad habits and morals, but also that depends on his or her family to stop that effect. and i really think that private schools have the same advantages and disadvantages but in a different level depending on that school.all in all, we are, the families should pay attention more if we don't want our children to be affected by their community.
  15. hi Vicky, glade to see you here in Xisto, and you are right you can find a valuable information and interesting topics all over the forum. also the community is so supportive and helpful. so take your time, take a look, and post and enjoy. good luck.
  16. glad to see everyone again :)...nothing compares to old days...

  17. i wonder how much i need to work hard more to reach my dreams..sometimes it seems like there is no end to this road!!!

    1. k_nitin_r

      k_nitin_r

      As a wise man once said, it is not the end but the journey that matters.

  18. ok i will share indego by spreading the good news...today i put the headline to my future..after months of swinging in thoughts without deciding on what to do...now i will work hard to my dreams come true... pray for me friends :)

    1. Indego_Media

      Indego_Media

      Well done WD, i know good things are coming to you. you know you have my support.

      best wishes

      Jase

    2. Indego_Media

      Indego_Media

      Well done WD, i know good things are coming to you. you know you have my support.

      best wishes

      Jase

    3. web_designer

      web_designer

      thanks a lot..but sadly the routine arounds me limiting me rigt now..but i will find a way.. :)

  19. really i am feeling sorry for the community here :( why all that for?? and why we loose members like this?? is the world changed!! the peope changed!! or we did!!

    1. dfrost

      dfrost

      I feel sorry for it too. It's not what it used to be at all.

    2. web_designer

      web_designer

      yeah and it supposed to be a friendly place turned to be a mere business place...maybe we were looking at things in an emotional way...

  20. missed you KS,,,gid you miss me too???

    1. anwiii

      anwiii

      you weren't missed here. the staff here probably didn't even know you were gone. that's how much they care about their members now

  21. once again i made it...it is a one more step towards my dream...

    1. anwiii
    2. web_designer

      web_designer

      like i would tell you :D ...just kidding...

       

  22. we will always looking for your hard work for the forums and the members opaque please do your best and we will too. hope things rivied here again and the previous spirit returns like the old days .
  23. yeah i agree with bani, the front page now looks much more better than before. it is now more neat, compatible with colors and shades and more organized, except of the hover color "the red one" for the menu links. i think it is not fit with the design, try something between light gray to light blue. and i like the welcome section too, well done opaque. keep up the good working and update us to help with our feedback, good luck.
  24. now i agree with you, i registered about two months ago or more and till now i didn't get anything, it seems i am still on the waiting list. hope things to go forward soon.
  25. the best way to learn designing tricks and secrets is by using tutorials and walk with them step by step. this way you will make the lyouts and after that you can edit them as you want. the main tools you may want to start with are: adobe photoshop, an editor, you can use any editor that supports css, html and php oe any other language you may want to use in your websites. personally i am using adobe dreamweaver, a basic knowledge about testing your pages locally.and if you dont want to use an extra language like php and stick with html and css, then the easiest way is to learn create designs using dobe photoshop, and you cn convert it to a web page in a few simple step. when you finish the layout, click onfile >save for web and devices > click on the small arrow near preset then choose "edit output setting > from the second drop down list (where html ppers) choose slices and make sure "generates css is selected > ok > save > a box will appear (save optimized as) make sure to choose from (save as type) this option "html and images. and now you will get an html web page integrated with css of your photoshop layout. but even this way is easy but not professional and i suggest you to use it to kow more about how things are going but i prefer to make slices myself nd coding them in to web pages.good luck.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.