
Moloney
Member-
Posts
59 -
Joined
-
Last visited
About Moloney
- Birthday 01/15/1983
Profile Information
-
Gender
Male
-
Location
Ireland
Moloney's Achievements
Newbie (1/14)
0
Reputation
-
I have only took a glance at it at this stage. I think I will learn laravel first and then move on and try the AngularJs way of doing things. It's hard to know without building an app of some sort.
-
Wondering if anyone here had tried out AngularJs and had any opinion on it? Seems to be gaining traction.
-
And there are other frameworks worth looking at too like Zurb Foundation....
-
The Forum Is Quiet But It's Spam Free - Me Thinks It's A Good Thing.
Moloney replied to administrator's topic in Open Forum
Sounds good. -
Thanks Ben. The second post was useful.
-
Hi, I have a question also related to constructors in PHP. I studied some JAVA for 3 months and now I am starting to learn some c#. I noticed that in these languages, we can overload the constructor. Then, recently I went back to PHP to do some web development and I noticed I couldn't find a way to overload the constructor. I was just wondering what you do in PHP if you wanted to overload a constructor?
-
How To Start Professional Web Design Work
Moloney replied to activeworker's topic in Advanced Web Design
Hi Ben, Just curious if clients are always good about providing sufficient content or do web designers often end up as content writers too? -
Firstly, I'm no expert, just learning as well myself so maybe somebody else can add in here. Secondly, I think users normally don't know their id so usually it is not a good search tool. If you already know the id, then no search is needed. Thirdly, a search for first name alone and even first name and last name is not all that specific -- you could have more than one user with the same name. But you could make a form for the entry of the name you want to search. This is the general gist of it, I'm probably missing a good few things here so you will need to fill it out with validation and all that stuff: So something like: <form method="POST" action=""> <input type="text" name="search_firstname" value=""> <input type="text" name="search_lastname" value=""> <input type="submit" name="submit" value="search"> </form> // further down then, you could run a query to the database to find the details for that name. if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) { // I haven't time to add validation, you will need to do that yourself. $firstname = $_POST['search_firstname']; $lastname = $_POST['search_firstname']; $q ="SELECT * FROM rcrentals WHERE firstname = '$firstname' AND lastname = '$lastname' "; $r = @mysqli_query ($link_to_database, $q); $data = mysqli_fetch_all($r); echo ' <p> My search reveals that you live in' . $data[0]['city'] . '</p>'; }
-
I would agree with Andrea --> the context (ie surrounding HTML & css) is important. I'm not even sure what the question is but maybe something like this will work or you: <style> .float { float: left; padding:5px; } .clear { clear:both; /* or just clear left */ } fieldset { width:450px; text-align:center; padding:5px; } input[type="submit"] { margin: 2% auto; padding:5px; } </style> <div> <form> <fieldset> <div> <span class="float"> <label for="label1">Label 1:</label> <input type="text" name="label1" value="label1"> </span> <span class="float"> <label for="label2">Label 2:</label> <input type="text" name="label2" value="label2"> </span> </div> <div class="clear"> <span class="float"> <label for="label3">Label 3:</label> <input type="text" name="label3" value="label3"> </span> <span class="float"> <label for="label4">Label 4:</label> <input type="text" name="label4" value="label4"> </span> </div> <div class="clear"> <span class="float"> <label for="label5">Label 5:</label> <input type="text" name="label5" value="label5"> </span> <span class="float"> <label for="label6">Label 6:</label> <input type="text" name="label6" value="label6"> </span> </div> <div class="clear"> <input type="submit" value="Submit Button"> </div> </fieldset> </form> </div> </div>
-
I came across this before, looks nice & simple; http://palettebuilder.com/default.aspx
-
I tried this to see what would happen. Whenever I entered source code from firefox between the code snippet tags, I got a strange output like the others. Then I copied and pasted the same code to notepad & 3 different IDES and I got a good result --> normal code snippet. So I just seem to have an issue with the source code that comes directly from firefox without being "cleansed" first in an IDE or notepad (in my case). If that helps at all........
-
Okay, thanks for all your explanations. Cheers,
-
So, say I created an e-commerce store for somebody & they had no external online links to their site (because it is brand new), googlebot would not be able to find them? Great answer, cheers:clap:
-
Thanks, this seems like a prudent step.