Posts
 
Reputation
Joined
Last Seen
Ranked #756
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 #85
Ranked #317
~92.0K People Reached
Favorite Tags
Member Avatar for wackyal

how do you extract all email addresses from a string and put each extracted email address as an element of a simple array? <?php // define and implement your php function here function get_all_emails($text_field) { // ---- Beginning of Green Section --- // create an empty array $emails = array(); …

Member Avatar for Dani
0
3K
Member Avatar for davy_yg

Hello, I am trying to create a round circle with css with an image inside the circle. Yet, when I try to do so the circle turns out not perfectly round. I wonder why that happen? Check this out: www.fresway.com See the facebook button. This is the codes: #circle1 { …

Member Avatar for John_168
0
345
Member Avatar for UI

Associative Array <html> <body> <?php /* First method to associate create array. */ [b] $salaries = array("mohammad" => 2000, "qadir" => 1000, "zara" => 500);[/b] echo "Salary of mohammad is ". $salaries['mohammad'] . "<br />"; echo "Salary of qadir is ". $salaries['qadir']. "<br />"; echo "Salary of zara is ". …

Member Avatar for AndrisP
0
393
Member Avatar for Dani

I'm thinking of going down the route where members can actually get paid to answer questions. Here's how I am thinking the concept might work, and you tell me if you think it makes sense: Currently, when you create a new thread, you can donate $1 to have the article …

Member Avatar for Dani
0
2K
Member Avatar for paulogaiski

i have a simple php login script with session but all i get is just a white blank page after running my login,php script. Here is the login,php page <?php error_reporting( E_ALL ); ini_set( 'display_errors', 1 ); include('connect.php'); session_start(); if (isset ($_POST['submit'])) { $UserName=$_POST['uname']; $Password=$_POST['pswd']; $result=mysql_query("select * from bizness_profile where …

Member Avatar for Adrian_5
0
255
Member Avatar for davecoventry

I have the following: <div id="main" class="site-main"> <div id="primary" class="content-area"> <div id="content" class="site-content" role="main">Main</div> </div> <div id="secondary" class="widget-area">Secondary</div> <div id="tertiary" class="widget-area">Tertary</div> </div> It displays on the page as a series of rows, one beneath the other, each row taking the full width of the containing div. What I want is …

Member Avatar for veera100
0
420
Member Avatar for dfjosh

Why do the nested `li`'s in the Navigation ribbon disappear before I can get my mouse to them in IE. It only doesn't work in IE (9 and 8 are the ones I've tested). Here is the site: http://www.seventhheavenvintage.com

Member Avatar for dfjosh
-1
238
Member Avatar for malatamil

store sting values in single field not id below that code i tried but it stored id.and in database which type i have to use $lid= mysql_insert_id(); $cityid = trim(ucwords(strtolower(mysql_real_escape_string($_POST['city'])))); $city = trim(ucwords(strtolower(mysql_real_escape_string($_POST['city'])))); $num=count($_POST["place"]); $ids = array(); foreach($_POST['place'] as $val) { $ids[] = (int) $val; } $ids = implode(',', $ids); …

Member Avatar for GliderPilot
0
115
Member Avatar for general2012

there are two properties for my bike method.front gear and rear gear.i want another property which will be a new property called gear ratio property which can be obtained by multiplying front and rear gear numbers.the code i have written giving continuous error.how it can be fixed. <html> <head> </head> …

Member Avatar for GliderPilot
0
388
Member Avatar for nerdynewf

I have some previously written code that I am trying to modify. This is a portion of code to retrieve entries from a database and then edit inidivual sections, as required. Everything seems to work well with one exception. The code to create the drop down box to select the …

Member Avatar for GliderPilot
0
232
Member Avatar for momonq1990

gud day! why my upload files not really uploading in my online server? im using this ref. http://www.tizag.com/phpT/fileupload.php but in offline its working the file upload was move to my localhost folder.

Member Avatar for hafiztn
0
385
Member Avatar for adamchippy

Hey there. I'm building a project in PHP/MySQL and it is a sort of [FaceMash](http://en.wikipedia.org/wiki/History_of_Facebook#Facemash) project. I am able to call the images (with image name and points) from the database. I have managed to use the MySQL Update query in order to increase the points that each image gets …

Member Avatar for GliderPilot
0
252
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

Good day everyone Not sure if this is the right place to ask this but im trying to connect to my database online "Control Panel of my hosting site" from my local machine basically the webpage is running locally. but i want the data to be fetch online. my question …

Member Avatar for ehpratah
0
3K
Member Avatar for spluskhan

I have prob with my code its working fine bur, i want to add url to Row Name, When i add them it show error. Exapmle and code: <strong><font size="3"> <?php mysql_connect("localhost", "rooot", "123") or die("Error connecting to database: ".mysql_error()); mysql_select_db("Search") or die(mysql_error()); $query = $_GET['query']; $min_length = 3; $max_length …

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

Im tryin to add an admin to my database. Its not working but im not gettin any error messages ive tried a hundred different ways but its always the same it appears to be working but never actually does. Im hoping a more skilled eye can spot my mistake. Thanks …

Member Avatar for GliderPilot
0
257
Member Avatar for Varunkrishna

Hi all I have a textarea I would like to validate the same for empty spaces and on no input. Please find my jsfiddle [here](http://jsfiddle.net/Varun_Krishna/jJh8q/). How do I validate for empty spaces in the text area? what am I missing in my fiddle? Thanks Varun Krishna. P

Member Avatar for Varunkrishna
0
2K
Member Avatar for begueradj

Hello How do we call the attack that consists in inserting PHP/JavaScript codes within a remote website's pages ? Thank you

Member Avatar for veedeoo
0
247
Member Avatar for chocolatte.lavista_1

how to display last login date? for an example, we log in to the system on 11 april 2014. then, log out. when we log in back the system on other day, for an example 26 april 2014, it will display back where the last date that we were log …

Member Avatar for GliderPilot
0
224
Member Avatar for jonsan32

Trying to figure out how to have 2 sets of images display randomly on the same page. I know I have to rename something, but nothing I try is working. Any help would be greatly appreciated. Thanks. For now I just have the two scripts repeated back to back before …

Member Avatar for jonsan32
0
336
Member Avatar for centenond

Can i use $_SERVER['DOCUMENT_ROOT'] to put the path of a img? Why this wont work? $imgLocation = $_SERVER['DOCUMENT_ROOT'].'/images/logo.jpg'; echo '<img src="'.$imgLocation.'" alt="logo.jpg"';

Member Avatar for centenond
0
1K
Member Avatar for patricbensen

I have developed a registration page for users and now I wish to include a login page l. how do I go about it. Help me

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

hello my lovely friends of daniweb commuty. i have i jquery code of login popup basicaly it work when we click on a link to call it. but i want to excute it if a field is empty for it, i have add a code before `$('a.login-window').click(function()` and that code …

Member Avatar for chrisschristou
0
307
Member Avatar for Siberian

I know jQuery is recommended to write to the DOM, I want to understand how to write to the DOM in Javascript, considering how many programs use Javascript as there language, never know what I want to or need to develope for (*maybe a smart phone app in the future*) …

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

Hi, I am trying to insert data into 3 tables using mysql.. At first, I was able to insert in the first table (staffinfo), after coding for the second table insert (empinfo), It inserted into second table without inserting in first table AND finally it echoes 1 record added Successfully …

Member Avatar for GliderPilot
0
2K
Member Avatar for Harry_5

Hi there, I have a problam with my code, and i cant fix it, please help. The problam is with the mysql_num_rows on line 4 ; Here is the code: $sql_query = mysql_query("SELECT * FROM upload WHERE MATCH(username,text) AGAINST('$search_term')"); //additional check. Insurance method to re-search the database again in case …

Member Avatar for diafol
0
1K
Member Avatar for Priti_P

Hi, How to calculate hours in PHP in when time is coming in Am - PM format ? for example, 1] start time: 9AM end time: 12PM 2] start time: 9PM end time: 1AM 3] start time: 12.30PM end time: 1.25PM any formula please

Member Avatar for GliderPilot
0
155
Member Avatar for azegurb

Hi all, I have one problem on selecting larga data from mysql. I have inserted large data to mysql, and all data was inserted. I see it from phpmyadmin. but when i select that record from database it cannot display whole data.it doesnt show the end part of the data. …

Member Avatar for GliderPilot
0
170
Member Avatar for mattyd

I am about to begin protecting a yet to be launched site againt injection attacks.(And other possible attacks) I am making use of a large database and must fortify this fully. I am researching this but am here to pose the question: **What should my main concerns be**? Please be …

Member Avatar for JorgeM
0
133