Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

kensha

Privileged
  • Joined

  • Last visited

Reputation Activity

  1. Like
    kensha got a reaction from jerOpporpViof in php removing items from the sql table   
    Hey guys I'm looking for a certain effect that I have saw earlier on different forums.
     
    Currently I have created mine back end system where I can update mine news/links/media etc.
     
    However I'm looking for a function where I can easily remove the targeted links.
     
    For example when hover over a link I see must get this
     
    admin []
     
    Remove (tab)
     
    With some html check box code I want to select the admin link and be able to remove it completely from the sql row.
    I know you can remove it inside the phpmyadmin but it's part of mine system so that I don't need to log into min phpmyadmin anymore.
    I got 2 includes on the page which connects to mine sql server and the sql table.
    The table stands under leftmenulink .
     
    I hope some'one knows a nice correct form I must create.
  2. Like
    kensha reacted to webdeveloper93 in links control   
    What exactly are you trying to build i may be able to help you further if i knew
  3. Like
    kensha got a reaction from royadyhop in links control   
    So mine system is finally emerging though there are few things that I'm still wondering before I continue.
     
    First I wonder if I should add all the links to the mysql table and retrieve the list from their.
    The upside is that you can easily delete or recreate a new link, however you can't move the links up or down. A copy/paste would be required.
    So I wonder what would be the best way of the link control? To get it easily dynamic?
     
    For mine photo album I like to add the images at the certain spot and once again I wonder if I should add the link to the mysql table.
     
    For example.
    Uploading file on the page.
    Page Refresh with message image uploaded
    under that message a hyperlink(location) and an image preview will be show.
     
    I'm quite confuse of getting more dynamic link control and yes I know you can simply place a <a href="#"></a> in an include file but that would be to static for the user to use.
     
    So what is the best way to control it all? Maybe some'one got a book or website for me to read on.
     
    Or should I move on to programs like asp.net/mvc/mvc3 etc?
  4. Like
    kensha reacted to Jay Gilford in A small business question regarding to   
    MVC isn't a language, nor does it only work with ASP. MVC is a way for you to set up your web application to keep various parts separate
    Take a look at the wikipedia webpage
    http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller
    for more info
     
    In terms of MVC for PHP, take a look at CakePHP, Zend framework and Code igniter. All of those are good frameworks
  5. Like
    kensha got a reaction from Skateside in Javascript Slideshow Help   
    Instead of giving this guy links were the codes are already been set, give him a guide on how it works and how you can manipulate it.
     
    Here is a guide on how to create a normal slide show and a click able slideshow.
    http://www.javascriptkit.com/howto/show.shtml
  6. Like
    kensha reacted to DigitalSquid in Restriction to width?   
    <?php list($width, $height) = getimagesize($uploadedfile); if($width > 9000){ echo "It's over 9000!"; } ?>
  7. Like
    kensha got a reaction from gormo7 in Database advice needed!   
    Well for start you can't actually have $_post[""] in the insert table.
    What you do is the following.
    Check variable if excist;
    if(!isset($_POST["name"]))
    {
    echo "Variable has not been set"
    $name="";
    }
    else
    {
    $name=$_POST["name"];
    }
     
    Then use the insert statement.
    mysql_query("INSERT INTO email_list (fullname, email) VALUES ('$name','$name')")
     
    Note; If variable hasn't been set, no database will be added.
  8. Like
    kensha got a reaction from GaryP in mysqli_num_rows() error   
    Show us the script and mine bet.
    You must use mysql_fetch_assoc() for the counting.
     
    http://www.w3schools.com/php/func_mysql_fetch_assoc.asp
     
    But better to post the script.
  9. Like
    kensha got a reaction from Shafiu in Thanx to ben   
    Simpsons already did it!
     
    Well don't be to harsh on him.
    The only thing is that it does looks like Ben kinda left us on the forum, he isn't quite active anymore then he used to be.
    But I guess we all are gonig to move on.
     
    Beside that it's all about luck.
    There can be 2 guys who devolp the same thing but only 1 of them end up to being rich and the other would be still poor.
  10. Like
    kensha got a reaction from Shafiu in Looking for some 'Colours and ICT' books   
    Hey I'm looking for some good thick theoretical books about;
     
    Colors and ICT.
    I want to learn more about the computers and the windows behind the screen programs.
    Also I want some color knowledge of how it actually works.
     
    It would be some nice adds beside the every day web programming.
     
    If anyone got some nice tips then reply:).
  11. Like
    kensha reacted to CSN-UK in I don't get it, textarea php output   
    This code functions correctly, your !isset will not function correctly after the form has been submitted in any browser as it always evaluates as the else or false option as the $_POST array is created whether the form is blank or otherwise, the only time this is not the case is when the page is loaded and the form has not been submitted.
     
    Isset checks for the existence of a variable or if it has been set as "NULL" not if the variable contains any value... you would use isset on a form mainly to check if a submit button has been pressed, use empty and !empty for other fields to check their values.
     

    <form method="post" action="post.php"> First Name:<br> <input type="text" size="30" name="FName"><br> Age:<br> <input type="text" size="30" name="Age"><br> Question:<br> <textarea name="question" rows="4" cols="27"></textarea><br> <input type="submit" value="submit" > </form> 1 stupid normal form and 1 stupid normal output: <?php print_r($_POST); // remove after testing... to demonstrate my point. if (empty($_POST["question"])) { echo "Question has not been set"; } else { echo $_POST["FName"]; echo $_POST["Age"]; echo $_POST["question"]; } ?>
  12. Like
    kensha reacted to Jay Gilford in moving variable form a session   
    You need to assign it on the second page, or extract all variables
     
    Page 2

    <?php session_start(); extract($_SESSION); echo $name;
  13. Like
    kensha got a reaction from oakleaves in LingsCars   
    Hey guys, why the hell are you keeping up the promotion of that website?
     
    It's all to be seened on google with you stupid look from hey:
    He got a load of visitors but the webdesign sucks.
  14. Like
    kensha got a reaction from DigitalSquid in LingsCars   
    Hey guys, why the hell are you keeping up the promotion of that website?
     
    It's all to be seened on google with you stupid look from hey:
    He got a load of visitors but the webdesign sucks.
  15. Like
    kensha got a reaction from Sean33 in Are you a generalist or a specialist?   
    Well you are either a designer or a coder.
     
    There is so much stuff to study that you can't really combine both things.
    Even after a year of study PHP/MySQL I need to study a lot more and there is still the full use of Javascript to study or Java or any other kind of webprogramming languages.
     
    Webdesign is all about to go with the latest trends and try to design your own trends which people on the internet would like.
     
    I find coding more fun then design perhaps it's because I don't care mcuh of webdesign itself.
  16. Like
    kensha got a reaction from oakleaves in LingsCars   
    Sleep?
    They are robots, they don't need to sleep and Mike just passed the life of a Devil.
  17. Like
    kensha reacted to DigitalSquid in retarget function as link instead of button   
    <a href="#" onClick="timeMsg()">Link Text</a>
  18. Like
    kensha reacted to TomCash in dice assigment   
    A quick and dirty solution:
     

    $number = rand(1,6); $value = ""; if($number == 1) $value = "one"; elseif($number == 2) $value = "two"; elseif($number == 3) $value = "three"; elseif($number == 4) $value = "four"; elseif($number == 5) $value = "great"; elseif($number == 6) $value = "six"; echo $value;
     
    Hope that helped!
  19. Like
    kensha got a reaction from SniderDK in My PHP include won't work   
    <?php include("name.php"); ?>
     
    This is the basic php include code and just as an addition if the file is located 1 file under you do ../ is it 2 files more under then it's ../../
    else file up
    "directoryname/name.php"
     
    I hope this will help you.
  20. Like
    You don't have an input field with name="AnnGain" so there is no value for $_POST['AnnGain'].
     
    Looks like it's this line that's the problem:

    <input type="text" size="15" name="Contrib" value="<?php echo $AnnGain; ?>" /> %
     
    Oh, and <!DOCTYPE html> is fine. That's the standard HTML5 doctype!
     
    And if you want my advice, stop coding everything in capital letters. It makes your code look amateurish and won't pass validation in XHTML standards.
  21. Like
    kensha got a reaction from futureproof in Which language should I learn?   
    I thaugh PHP, MYSQL and in combination of Magneto would be the best for you.
  22. Like
    kensha got a reaction from futureproof in Which language should I learn?   
    I suggest you to learn PHP 5 and how to use it(specially oop), there are already many and many books released and you can download them as e-book as well.
  23. Like
    kensha got a reaction from zed in Click this if you want IE6 Dead   
    Why you guys want it death so badly, I geuss you want IE 9 to be death as well.
     
    I mean, so far with the coding.
    I hae little to no issue regarding IE VS FF there are small easy fixes to the most simplest of codes.
     
    The rest is mostly done via Javascript where mine skills isn´t hight yet.
  24. Like
    kensha got a reaction from Jonathon Maguire in php, contact form   
    Call me a snob or something but I want to learn and therefore I´m trying to avoid those kind of programs so I can later code things up from scratch without the use of a software:)
  25. Like
    kensha got a reaction from gamma911 in Please test my site in IE6   
    Tested with IE 6 no problems here not evening a script error notice.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.