Posts
 
Reputation
Joined
Last Seen
Ranked #765
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.9K People Reached

198 Posted Topics

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
4K
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
357
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
407
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
262
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
428
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
239
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
117
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
391
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
237
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
390
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
263
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
246
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
262
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
268
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
253
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
227
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
343
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
79
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
270
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
313
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
261
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
158
Member Avatar for azegurb
Member Avatar for GliderPilot
0
185
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
136
Member Avatar for ray100

your escape character isn't working as there is a speace between the \ and the " so it's not escaping the ". You also missed the closing > for your image tag before the br in all your echo statements. On all of your echo statements (I also suggest using …

Member Avatar for GliderPilot
0
240
Member Avatar for sussy123
Member Avatar for sussy123
0
332
Member Avatar for Ambrish_1

As a standard practice you should be testing your queries before you try doing anything with them. Ideally this would be with an if statement so but at the very least you should add a die statement to your query. Add this and see what gets outputted: $from_query = mysql_query("SELECT …

Member Avatar for GliderPilot
0
146
Member Avatar for davy_yg

require 'localhost/phpads/install.php' is relative to your current file path so this would load C:\xampp\htdocs\phpads\localhost\phpads\install.php You need the leading slash require '/localhost/phpads/install.php';

Member Avatar for Alberto Bucur
0
170
Member Avatar for mattster

NEVER assume what a user will input, always test and re-test user inputted data to esnure it is what you want.

Member Avatar for GliderPilot
0
113
Member Avatar for davy_yg

Line 14. when you use the get_where function it's running the info for your DB on that line get_where(table name, where evaluation, limit, offset). Same thing in line 15. If you're trying to actively build your where clause you need to use the where function: // Prep the query $this->db->where('username', …

Member Avatar for davy_yg
0
228
Member Avatar for davy_yg

If you're going to change the folder names for the application and system folders you need to go into the main CI index.php file and change those values to your new file names.

Member Avatar for GliderPilot
0
582
Member Avatar for davy_yg

Few things; First your controller file name and class name need to be the same. So either change the class to Ctabel (recommended) or change the controller file name to table.php Second issue is your controller class needs to be split into functions, the functions forms part of your url …

Member Avatar for davy_yg
0
249
Member Avatar for musta2060

First you would need a lot more than PHP to make any sort of voice app. Second, I'm sorry but this site isn't a place to have people write code for you, it's to get help with code already written. You might want to look at a freelance programmer but …

Member Avatar for diafol
0
251
Member Avatar for PF2G

Two things I noticed, on line 7 you're calling $pages_query which is a result set that hasn't been fetched. Should be mysql_result($pages_query, 0) but that's not what's causing your issue. On line 15 you're subtracting 2 from $page vice 1 which is setting your start too far back. `$start = …

Member Avatar for GliderPilot
0
155
Member Avatar for laura301019

Easiest way is to pass the id through your function call. `<input type='submit' name='submit' value='remove' onClick='showItem(id)'>` And your function function showItem(itemID) { //You now have your item's ID so you can pull the required data based on that ID }

Member Avatar for GliderPilot
0
260
Member Avatar for kumar89hitesh

Connect in what manner? You just want the facebook Like, Follow us on Twitter type of things, or are you looking for integration where a user can login to your site with their facebook, twitter account?

Member Avatar for kumar89hitesh
0
110
Member Avatar for shrikanthnk

you would have to use a regex expression to extract that from the url which is somewhat pointless in this case. Not sure what you're trying to accomplish but it may be easier to use the html onclick attribute to call a function with the parameter passed to it: <script> …

Member Avatar for shrikanthnk
0
189
Member Avatar for Anila_1

Google: PHP login tutorial You'll find tons of tutorials and examples. No one here is going to write the code for you. If you get stuck have a specific question, or have a bug in your code then we'll be more than happy to help you out.

Member Avatar for Clanstrom
0
172
Member Avatar for prnjn

Disabled check boxes to not send their data on POST. Few alternatives: 1) Keep a hidden element with the check boxes with the same value. 2) Use javascript to enable all the check boxes on submit before the data is sent so they are included 3) Use CSS and JS …

Member Avatar for GliderPilot
0
2K
Member Avatar for sing1006
Member Avatar for sing1006
0
313
Member Avatar for kshahnazari

You need to set the domain when you're setting the cookie to include subdomains (including www) of that domain. `setcookie('CookieName', 'Cookie Value', time+3600, '', '.xxx.com'); ` Note the preceeding period '.' infront of the domain, that is important.

Member Avatar for GliderPilot
0
176
Member Avatar for piers

Your load call is only within the document ready so it will only ever get called the once. If you add it to your submit event handler as well it will re-load it on the submit. You might want to add it to the ajaxSubmit success option so it only …

Member Avatar for piers
0
109
Member Avatar for Monkey101

<div style="float: left; background-color: white;"> <img src="Images/Books.jpg" alt="Books" width="225" height="125"/> </div> <div class="clear: both;">&nbsp;</div> <div id="left-col">some text</div>

Member Avatar for Monkey101
0
221
Member Avatar for DaveyMoyes

Yes you can have as many scripts as you want on a single page. Is this throwing a JS or PHP error?

Member Avatar for pixelsoul
0
200

The End.