- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 6
- Posts with Upvotes
- 4
- Upvoting Members
- 5
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
60 Posted Topics
 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: … | |
Re: 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] | |
Re: 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 … | |
Re: 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 … | |
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 & Events</li> <li class="ui-widget-content">Press, Marketing & PR</li> <li class="ui-widget-content">Business Development & Franchise</li> <li class="ui-widget-content">Mambo TV & Livestreaming</li> <li class="ui-widget-content">Mambo … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Re: 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 … | |
Re: Try the "SEO SERP Workbench" app for Google Chrome browser. | |
Re: 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 … | |
Re: Welcome to Daniweb. You'll get to love it here. Very helpful, informative and a great place to spend some time. | |
Re: 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] ![]() | |
Re: 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] | |
Re: 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 … | |
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 … ![]() | |
Re: 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. | |
Re: 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()); … | |
Re: 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 … | |
Re: 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] | |
Re: 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 | |
Re: 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... | |
Re: 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. | |
Re: 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 … | |
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 … | |
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 { … | |
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 … | |
Re: 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) | |
Re: 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. | |
Re: [CODE]if (isset($fname)) { $sql_fname = " && `fname` == '$fname'" ; } else { $sql_fname = ""; }[/CODE] simples? | |
[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 … | |
Re: 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 … | |
Re: [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 … | |
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 … | |
Re: 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, | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: [url]www.htmlgoodies.com/beyond/webmaster/article.php/3548746[/url] visualdesigncore.com/tutorials/PHP-MySQL/PHP-Image-Upload/ is two for a start. | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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] | |
Re: 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 … | |
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 … |
The End.