Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
6
Posts with Upvotes
4
Upvoting Members
5
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts

60 Posted Topics

Member Avatar for kevindougans

![Screen_Shot_2022-02-18_at_19_31_27.jpg](https://static.daniweb.com/attachments/0/9d7516d5e671e13eb3a629920d7e4e35.jpg) I'm trying to make a form all in one line instead of over multiple lines/height. It can be seen on https://grapefruit-crocodile-hdl3.squarespace.com/ (pwd: contagency) It's supposed to look the attached image, any pointers appreciated. I've got this far, so far: form { display: flex; } .form-item.field.email, .form-item.field.select, .form-button-wrapper.field.submit { display: …

Member Avatar for Dani
1
189
Member Avatar for manc1976

Try this: [CODE] <?php $query="SELECT location,id FROM area"; $result = mysql_query ($query); echo '<select name="location_id">'; echo '<optgroup disabled="disabled" style="margin-top: 1em;">Please select...</optgroup>'; while($nt=mysql_fetch_array($result)){ echo "<option value={$nt['id']}>{$nt['location']}</option>"; } echo "</select>"; ?> [/CODE]

Member Avatar for Syed_2
0
3K
Member Avatar for jessica1410

If you have more than 100 members/fans/likes (or is it 1000 - i can't remember) then you can't change the name unfortunately. it's a crazy policy that drove me insane. all you can do is create a new page/group and plug the new link in the old group. hope this …

Member Avatar for RH-Calvin
0
128
Member Avatar for nathanpacker

Thanks a lot, would have spent hours trying to get it working if it wasn't for this thread. The outcome: Firefox retains the last value you had a form field at when hitting refresh so to debug/test add "?1" or something similar to the URL to restart from afresh. Ctrl+Refresh …

Member Avatar for homez
0
675
Member Avatar for kevindougans

Can anyone help me with jquery ui selectable please? My html is: [CODE] <input style="" id="input_4" name="input_4" value="" /> <ol id="selectable"> <li class="ui-widget-content">Reservations </li> <li class="ui-widget-content">Information and Enquiries</li> <li class="ui-widget-content">Mambo Tours &amp; Events</li> <li class="ui-widget-content">Press, Marketing &amp; PR</li> <li class="ui-widget-content">Business Development &amp; Franchise</li> <li class="ui-widget-content">Mambo TV &amp; Livestreaming</li> <li class="ui-widget-content">Mambo …

Member Avatar for abtraju
0
499
Member Avatar for kevindougans

Hi guys, Can anyone help me figure out a bug in ie9 i'm having? I'm on a mac and using parallels to run ie9 and its a pain in the neck as I can't get firebug lite working to help debug with this. Anyway http://test.cafemamboibiza.com/en on the right hand side …

Member Avatar for Troy III
0
121
Member Avatar for kevindougans

Hi there, Can anyone think why my jQuery panoramic plugin (http://test.cafemamboibiza.com/en/ibiza#ui-tabs-4) will only let me scroll once and not click to scroll again inside my site even though when i have it standalone (http://test.cafemamboibiza.com/pan.html) it works as expected. It seems to let me scroll around once perfectly but once that …

Member Avatar for kevindougans
0
95
Member Avatar for kevindougans

Hi guys, I've got a bug I can't figure out on my navigation and I was wondering if anyone can help: [url]http://mambo.3thirteen.co.uk/en/contact[/url] As you'll see on that page the navigation bar at the top has a little color changing effect. It works great until you hit refresh on the page …

0
140
Member Avatar for kevindougans

Hi there, I was wondering if anyone can point me to the best file/cloud solution/service out there at the minute? We are a medium sized company spread out in to 15 - 20 locations and are looking to share press images/photos and maybe even some documents or video in a …

Member Avatar for Afshispeaks
0
259
Member Avatar for kevindougans

I am making a responsive site. Please resize your screen to 980px-ish to see the problem as I've not configured the other screen resolutions sizes. My page works as i expected in chrome and firefox in [url]http://mambo.3thirteen.co.uk/en[/url] but then when i move the css form the main <style> tag on …

Member Avatar for kevindougans
0
126
Member Avatar for kevindougans

Can anyone help me with "adapt.js" ([url]http://adapt.960.gs/[/url]) to set it up to include 2 css files instead of just 1. For example I need it to figure out I want to include /css/960.css, then i also want it to include /css/<= $pagename ?>/960.css Here is my current code (not included …

Member Avatar for kevindougans
0
232
Member Avatar for kevindougans

Hi guys, [url]http://mambo.3thirteen.co.uk/en[/url] On the top bit with the videos and 3 video previews i can't get the 3 video previews to display on one line. It's driving me mad, I'm sure its only 1 little line of CSS but can't figure it out. display:inline; is not working as expected …

Member Avatar for kevindougans
0
110
Member Avatar for morrisproject

yes you need to save the data if you want to display it on a further page you will have to add to baa_history3.php something that saves the searched date to the session so you can then pull it back later in the $_SESSION and not $_POST. $_POST will only …

Member Avatar for morrisproject
0
314
Member Avatar for car rental cypr
Member Avatar for szaviyah
0
155
Member Avatar for brainstorm85

I've not personally come across that problem but I would suggest starting by looking at the version of PHP, and the version of the GD Library you have installed. [CODE] phpinfo(); [/CODE] You should find the info in there then check with the php.net website that its fairly up to …

Member Avatar for kevindougans
0
192
Member Avatar for shqiptari88

Welcome to Daniweb. You'll get to love it here. Very helpful, informative and a great place to spend some time.

Member Avatar for Netcode
0
41
Member Avatar for shamsidah

you'll need to add some time/date columns to the database so you can do something like: [CODE] $j = "SELECT defect_code,total FROM grandTotal WHERE year = '2011' ORDER BY total DESC LIMIT 5"; [/CODE]

Member Avatar for diafol
0
90
Member Avatar for rse

try: [CODE] function save_image($img,$fullpath){ $ch = curl_init ($img); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_BINARYTRANSFER,1); $rawdata=curl_exec($ch); curl_close ($ch); if(file_exists($fullpath)){ unlink($fullpath); } $fp = fopen($fullpath,'x'); fwrite($fp, $rawdata); fclose($fp); } [/CODE]

Member Avatar for kevindougans
0
1K
Member Avatar for rajeesh_rsn

I would suggest using a service like (free) [url]http://mailchimp.com/[/url] because getting the headers right and your luck of being on a non-blacklisted ip is difficult. More similar services can be found on: [url]http://alternativeto.net/software/mailchimp/[/url] Good luck!!! EDIT - I forgot to mention a good PHP solution if you decided you wanted …

Member Avatar for kevindougans
0
107
Member Avatar for kevindougans

Hi there, I'm sure there is an easy way to do this so let me ask. I have an "admin" page full of video thumbnials that I want to allow the user to sift through and pick which videos should be enabled or disbaled. To keep with current trends I'm …

Member Avatar for stbuchok
0
192
Member Avatar for trektrak

if you are looking to pull a float out of a var char field that has for example text wrapped around it (i.e. "Temp: 26.2 Degrees") then I would suggest using preg_match or something alike to do a regular expression to extract it. I'm sure there is other ways too.

Member Avatar for trektrak
0
144
Member Avatar for jacob21

You are probably best installing the PDF library for PHP: [url]http://www.php.net/manual/en/pdf.installation.php[/url] then it's as simple as: [CODE] <?php try { $p = new PDFlib(); /* open new PDF file; insert a file name to create the PDF on disk */ if ($p->begin_document("", "") == 0) { die("Error: " . $p->get_errmsg()); …

Member Avatar for broj1
0
4K
Member Avatar for asif49

Of course it's possible, but seems a bit time wastefull. You have 2 (edit: 3) options that I can think of: 1. Use CSS; i.e. Put it in a div with an id of "elapsed" and then set in your style sheet that this div should fit somewhere nicely at …

Member Avatar for asif49
0
110
Member Avatar for craign924

yeah ardav has it spot on, a simple google search brought loads of results: [url]http://www.google.co.uk/search?ie=UTF-8&q=os+commerce+2.2+to+2.3+upgrade[/url]

Member Avatar for Stefano Mtangoo
0
91
Member Avatar for jakeray

Not sure what you want exactly but I think you need to save the results of the $_POST to the database if you want it accessible permanently. Try [url]http://uk.php.net/mysqli[/url] for more information

Member Avatar for kevindougans
0
142
Member Avatar for davy_yg

chnge line 12 from: [CODE] $data = mysql_fetch_array($result); [/CODE] to [CODE] $data = mysql_fetch_array($result); echo '<pre>'; print_r($data); echo '</pre'>; [/CODE] This will tell you how to access the data you are looking for...

Member Avatar for kevindougans
0
125
Member Avatar for twoods99

try using $_REQUEST until you've figured it out, perhaps $_POST. Add some debugging in. To the top of the page add: [CODE] echo '<pre>'; print_r($_REQUEST); echo '</pre>'; [/CODE] This will show you what data is being passed to the page... by either POST or GET.

Member Avatar for cwarn23
0
156
Member Avatar for andersiversen

turn the error suppression off for a start: for example: [CODE]$ok = @mail($email_to, $email_subject, $email_message, $headers); [/CODE] to [CODE]$ok = mail($email_to, $email_subject, $email_message, $headers); [/CODE] then comment this line out perhaps and instead put: [CODE] echo "mail($email_to, $email_subject, $email_message, $headers)"; [/CODE] from this you should be able to get more …

Member Avatar for kevindougans
0
137
Member Avatar for kevindougans

Hi guys, I'm at my wits end. What am I doing wrong with the "position: xxx" stuff thats making this page have the center containter aligned to the left? If I remove left: 0 and right: 0 it makes the main container disappear (which i assume is away miles away …

Member Avatar for kevindougans
0
225
Member Avatar for kevindougans

Hi guys, Sorry for the simple question but can anyone tell me how to make my drop down links appear above everything else on the page. Thanks, [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <style type="text/css"> <!-- #header_container { …

Member Avatar for Arkinder
0
125
Member Avatar for kevindougans

Hi there, Does anyone know of any systems or potential methods or hazards to implementing an access queue on a website. Basically we have a client whos a major fashion retailer doing a big sale and MAgento can't cope. I need to limit the amount of online users to 100 …

0
58
Member Avatar for alazanski

i suggest using something like the codeigniter framework as its lightweight and easy to learn/adapt to and has loads of useful features at its disposal (i.e. a calendar class)

Member Avatar for alazanski
0
325
Member Avatar for clar_issa

hi clar_issa, i would start by typing "php open source file management system" into google, theres no quick thing anyone can knock together on here in one post.

Member Avatar for floatingDivs
-1
177
Member Avatar for verbob

[CODE]if (isset($fname)) { $sql_fname = " && `fname` == '$fname'" ; } else { $sql_fname = ""; }[/CODE] simples?

Member Avatar for verbob
0
131
Member Avatar for kevindougans

[url]http://www.foodinthecity.com/[/url] in firefox the page starts displaying funny after you scroll down on the middle products section. in chrome it almost displauys right but you can see its out by a few pixels... but the weirdest thing is that on our development server it works fine in firefox but we've …

Member Avatar for kevindougans
0
94
Member Avatar for tulipputih

You need to put a LIMIT in your mysql statement for it to do what you want it to do.... SELECT * FROM `your_table` LIMIT 0, 10; # << This will display the first 10 results from the database. SELECT * FROM `your_table` LIMIT 5, 5; # << This will …

Member Avatar for tulipputih
0
108
Member Avatar for sassenach

[QUOTE=sassenach;1145788]Hi, I am trying to create a RewriteRule for my site. I got the first part correctly. This means say /index.php?mid=#. This passes correctly. Here is the example: [url]http://www.orchot-hagilboa.com/דף_הבית[/url] But how do I add another param? Say I am passing /index.php?mid=#&smid=# ???? Here is my rewriterule in htaccess: [code] Options …

Member Avatar for sassenach
0
246
Member Avatar for kevindougans

For anyone still using the old "mysql_fetch_assoc" here is something I've just discovered today after about 9 years of PHP'ing and thought I should sahre because I've not seen many open source projects use it (maybe for another reason I'm not yet aware of)... (note: both provide the exact same …

Member Avatar for pbcomput
3
206
Member Avatar for MacMurray

There is defo programs out there that can handle creating and sending newsletters... not sure about the cross compatibility but try Neo Office, Open Office or a search on versiontracker. I find Mac's own "Pages and Numbers" can handle everything I need. Good luck,

Member Avatar for jbennet
0
224
Member Avatar for shrek502

go to download.com and search for "file recovery", theres some great programs on there... some freeware. One called "Recover Files" I think... Just sort the search results buy rating and filter out the paid ones if you don't have the cash to spare.

Member Avatar for platinum8
0
220
Member Avatar for cjmike

It's not so easy with dreamweaver alone. You need some form of server side scripting to do the tricky bits - like to store the fact the user has clicked the link and activated his account. PHP and MySQL combined is available with almost every hosting company these days, and …

Member Avatar for cjmike
0
88
Member Avatar for chicago1985

i would guess coldfusion is less supported and less documented so i wouldn't instantly and easily believe it will cut down your development time... it might come pre-isntalled with some nifty frameworks but codeigniter and cakephp are available for php -not to mention great sites like here and php.net. i …

Member Avatar for PoA
0
170
Member Avatar for Shanti C

I would normally just create a PHP file of definitions... name it after the language and include the correct file... that way your code will never have to change and it's kept simple... i guess the only problem would be including variables... but depending on the type of site you …

Member Avatar for kevindougans
-1
93
Member Avatar for helpless_101

[url]www.htmlgoodies.com/beyond/webmaster/article.php/3548746[/url] visualdesigncore.com/tutorials/PHP-MySQL/PHP-Image-Upload/ is two for a start.

Member Avatar for helpless_101
0
105
Member Avatar for adrenaline_elz

The timezone of your server is different to your timezone by the sounds of it. Fix this with the following code (make sure to change the timezone to your timezone at home for best results!!) [code] echo "Original Time: ". date("h:i:s")."\n"; putenv("TZ=US/Eastern"); echo "New Time: ". date("h:i:s")."\n"; [/code] More info …

Member Avatar for kevindougans
0
90
Member Avatar for virspy

change this line: $sres=mysql_query($sqry); to be like this: $sres=mysql_query($sqry) or die(mysql_error()); this will tell you what the problem is.

Member Avatar for Shanti C
0
122
Member Avatar for yasmena

Regardless of what the error is I find it best to store a unix timestamp in the database in a "int" field and then use PHP to manipulate it. This produces a very fast db table when sorting by date. This is the best practice until you become more familiar …

Member Avatar for R0bb0b
0
83
Member Avatar for antwan1986

try is_numeric() instead... is_int is a really specific function that only works when calling it like [code] is_int(1); //true is_int('1'); //false [/code]

Member Avatar for kevindougans
0
121
Member Avatar for rosepleasure

Get subversion (SVN). tortoisesvn.net for more info. Instead of making backups everywhere it will save every version of every file on a backup server, which you can "most of the time" setup on your normal server if you have full access to it. I would highly recommend saving it to …

Member Avatar for rosepleasure
0
167
Member Avatar for kevindougans

Hi there, Hope someone can help... I'm developing a "Startpage" for a client's customers. He wants all information relevant to his clients to be displayed on 1 web page. We have come up with [url]http://www.systemattend.com/index.php[/url] All is well until we tried logging in to Novell Groupwise. It seems it won't …

Member Avatar for digital-ether
0
205

The End.