Posts
 
Reputation
Joined
Last Seen
Ranked #762
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
93% Quality Score
Upvotes Received
59
Posts with Upvotes
50
Upvoting Members
41
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
4
8 Commented Posts
18 Endorsements
Ranked #77
Ranked #317
~93.1K People Reached
Favorite Tags
Member Avatar for wackyal

if you're seperating all emails by a certain character (like ; for example) you can just explode the string: `$emails = explode(';',$text_field);`

Member Avatar for Dani
0
3K
Member Avatar for davy_yg

It is showing as fully round on my end. nothing in the code is jumping out at me. What browser are you using?

Member Avatar for John_168
0
351
Member Avatar for UI

Arrays are assigned a numerical key automatically unless you override the key with your own custom name. When you're using the => you're assiging names to the keys instead of using the default numerical keys ( key => value ). You could still use the => for both, i.e. `array …

Member Avatar for AndrisP
0
404
Member Avatar for Dani

Just a suggestion for those threads which do not get marked as solved. I would set it up as a 2 teir system, first send out a reminder to the OP once there has been no new posts in the thread for a set time (like 48 hours) something along …

Member Avatar for Dani
0
2K
Member Avatar for paulogaiski

The submit button is not named submit, it's named B3, therefor that `$_POST['submit']` should actually be `$_POST['B3']`

Member Avatar for Adrian_5
0
258
Member Avatar for davecoventry

You'll need to add some relative and absolute positioning into your CSS to get the effect you're looking for. Take a look at this, should help you out: http://www.barelyfitz.com/screencast/html-training/css/positioning/

Member Avatar for veera100
0
426
Member Avatar for dfjosh

I can't find your JS code the handles the drop down menus, but best guess it you're applying the hover event on the link tag which does not extend to the bottom of the menu background so there is a small gap between the menu header and the sub menu …

Member Avatar for dfjosh
-1
238
Member Avatar for malatamil

Perhaps try re-wording your question as it doesn't make sense, I have no idea what your asking, what problem are you trying to solve? Are you getting errors, if so what are they? Also include the code for your form which is posting to this script.

Member Avatar for GliderPilot
0
116
Member Avatar for general2012

You're combining two different methods of doing this which will fail, need to choose one or the other, try this (Sorry for these not being in code boxes, my work PC doesn't like DaniWeb): Change line 13 to: return this.front_gear * this.rear_gear; Change line 16 to: document.write("this is a " …

Member Avatar for GliderPilot
0
390
Member Avatar for nerdynewf

Where are the following variables set? $albumPost and $aid ? If your var_dump them do you get the expected result? I'm guessing one of those is not set properly and your IF or query statement is failing. On a side note, it's very bad practice to put large groups of …

Member Avatar for GliderPilot
0
236
Member Avatar for momonq1990

Can you provide more info? It's diffacult to say with the limited info you've given. Are there any error messages displayed on screen or in the server's error logs? What kind of file are you trying to upload? What is the size of the file you're trying to upload? Also …

Member Avatar for hafiztn
0
388
Member Avatar for adamchippy

$row is an array that contains your data that was retrieved from the DB, it is not a column in your table and it's not passed to update.php. You need to change your link so that it passes a unique identifier (The table row's Unique Key, possibly ID). Than when …

Member Avatar for GliderPilot
0
255
Member Avatar for GliderPilot

Getting a little tired of my current host so I've been looking around at some other hosts. It's hard to sort through all the fake reviews out there these days so thought I'd turn to my local DaniWeb community for suggestions :) Anyone have any recomendations for a quality shared …

Member Avatar for pritaeas
0
244
Member Avatar for ehpratah

If your host allows remote MySQL, you'll have to add your local server's IP to their remote MySQL settings to their firewall allows the access. If you're host uses cPanel just look for the remote MySQL icon in the Database Tools section.

Member Avatar for ehpratah
0
3K
Member Avatar for spluskhan

Can you not just add the link to your output, I see no need to add it to your variable. Try this: while($results = mysql_fetch_array($result)) { ?> <tr align='center' bgcolor='#93dafb'> <td height='25px'> <?= $results['Name']; ?> <a href="Get-Details.php?id=<?= $results['id']; ?>View Details</a> </td> <td> <?= $results['Type']; ?> </td> <td> <?= $results['Address']; ?> …

Member Avatar for spluskhan
0
260
Member Avatar for joseph.lyons.754

This is always going to evaluate to FALSE as you do not have a manager variable being passed from your form: if (isset($_POST['manager'])) I'm guessing you want to change that to username to see if a form was submitted. Also in your form, your username input field has the U …

Member Avatar for GliderPilot
0
262
Member Avatar for Varunkrishna

Try this: function validateEmptytextBox() { var inputField = document.getElementById("textArea1").value; inputField = inputField.replace(/^\s+/, '').replace(/\s+$/, ''); if(inputField == ""){ alert("please enter a value, textarea cannot be empty"); }else{ alert("Success"); } }

Member Avatar for Varunkrishna
0
2K
Member Avatar for begueradj
Member Avatar for veedeoo
0
251
Member Avatar for chocolatte.lavista_1

You can either a) keep a record of all logins in your DB and display the previous one. b) Store a last login date in the member's DB, when they login get that date and store it into the session before you update it to the new date.

Member Avatar for GliderPilot
0
225
Member Avatar for jonsan32

Are you looking to have two seperate groups of images and choose an image from each group two display (I.E. Pool A has 5 images and Pool B has 6 images. Choose 1 random image from Pool A and one from Pool B) Or are you looking to just have …

Member Avatar for jonsan32
0
342
Member Avatar for centenond

That would only work if your loading the page locally (If you double click the HTML file to open it in you default browser). If you try that through a web address on a server it will not work, the browser will not allow a page access to the C …

Member Avatar for centenond
0
1K
Member Avatar for patricbensen

Use the search function on the forums or search google for PHP login tutorial. Between the two, you'll find more than enough to get you on the right track.

Member Avatar for GliderPilot
0
77
Member Avatar for GliderPilot

Using IE and I've noticed that any member that does not have an avatar is showing a broken img box in it's place as default linking to http://www.gravatar.com/avatar/ac4f8177e88d582007f3333d1ce6efc0?d=identicon&s=80

Member Avatar for diafol
0
269
Member Avatar for chrisschristou

I'm not sure if I understand what you're trying to accomplish. One thing I noticed was you're using the jQuery .val for a javascript call, should be .value instead. If you want the if statement you provided to open your login if the if evaluates to true you can do …

Member Avatar for chrisschristou
0
310
Member Avatar for Siberian

you cannot do a getElementByID on an element, that function is not available. ID's are suppose to be unique in a document so you should just be doing a getElementID on the document to get your element: var outputResults = document.getElementById('goat'); outputResults.innerHTML = "what"; <div id="boxa"> <h1 id = "header">This …

Member Avatar for Siberian
0
259
Member Avatar for adebayo.sas

You have a buch of extra commas with the last few values of your third query so you're techinicaly trying to add more data than the number of columns specified. You alos have a space before the underscores with employee _c, employer _c not sure if that was intentional: $sql3="INSERT …

Member Avatar for GliderPilot
0
2K
Member Avatar for Harry_5

Usually this happends because your query failed. If mysql_query fails it returns FALSE so $sql_query would end up being a boolean vice a object resource. Add a die statement to your query to see what gets posted back to you. You should surround your variable assignment into parenthesis as well: …

Member Avatar for diafol
0
1K
Member Avatar for Priti_P

Use PHP's strtotime to turn the am / pm into a timestamp and substract the diff. Than you can output the diff. $diff = strtotime("1:30 pm") - strtotime("11:30 am"); $hours = date('H', $diff); echo $hours . " Hours."; // 2 Hours

Member Avatar for GliderPilot
0
156
Member Avatar for azegurb
Member Avatar for GliderPilot
0
178
Member Avatar for mattyd

Never assume you know what the user will input. Check user input before doing anything with it to make sure it is what you expect it to be (I use regex expressions for this). If you're using PHP I highly suggest the use of prepared / parameterized mysqli queries. Using …

Member Avatar for JorgeM
0
135