-
-
Css help
If by wrap you mean <div> within a <div> then yes, you can. <div class="parent"> <div class="child"> </div> <div class="another-child"> </div> </div>
-
Css help
I'm afraid that feeling occurs a lot in the developing world haha. It can be stressful but also rewarding, just keep at it
-
Css help
I'm guessing the image of the blue car and the dates on your screenshot should be positioned on the right of the dark red area? Is that your problem? Do you have somewhere on the web to upload the html and css so I could look at the full code and where its being applied.
-
Georgia & Times New Roman CSS Font Issues
Hi JLS and welcome. Could you post links to each page/button on the site so that I could check the code that is being given to the buttons
-
Css help
Hi Stuey, could you link to the example of this somewhere? Or provide the code and details which parts of the code have the problem
-
PHP MySQL Date Issue, grabbing the next row > today
ok ive managed to use mysqli now, I just had to change a few things after reading up on it. But my original question still stands, any ideas? Id like to find out the reason it might of done this rather than just dismiss it, if anyone is able to help?
-
PHP MySQL Date Issue, grabbing the next row > today
mysqli does not work on my setup, i have tried it, hence the reason of using mysql.
-
PHP MySQL Date Issue, grabbing the next row > today
resolved this by using the below. But if anyone knows why the previous query wouldn't work then that would be cool. Thanks. $query = mysql_query("SELECT * FROM fixtures WHERE DATE(date) > NOW() LIMIT 1", $connection);
-
PHP MySQL Date Issue, grabbing the next row > today
I have a MySQL table where one cell of each row contains the date stored in a date format. e.g. YYYY-MM-DD. On the website, i want to show the "Next Fixture". So I want to pull the fixture from the database that is > "today", then display it. I have this currently: $query = mysql_query("SELECT * FROM fixtures WHERE DATE(date) > ". date("Y-m-d") ." LIMIT 1", $connection); while ($row = mysql_fetch_array($query)) { echo "<p class=\"xsmall uppercase\">".$row['hometeam']." v ".$row['awayteam']."</p>\n<p class=\"xsmall grey\">".$row['date']." ".$row['faceoff']."</p>\n<p class=\"xsmall grey\">".$row['venue']."</p>"; } I have an entry in the database that has today's date 2013-02-09. And the above code is displaying that result, but im not sure why when the query states > today. Anyone help? thanks in advanced.
-
- fputcsv with MySQL help needed
- fputcsv with MySQL help needed
-
-
fputcsv with MySQL help needed
thanks for the reply, that makes more sense to use array push! although i have tested your method and its only writing "end end end" to my file. So i tried doing: while ($row = mysql_fetch_row($r)) { array_push($list, $row[0]); array_push($list, $row[1]); array_push($list, $row[2]); array_push($list, $row[3]); } But no luck either, im still trying to look at the problem so will let you know if i find out what it is. Dont suppose you have any further ideas?
-
fputcsv with MySQL help needed
Hi everyone. My aim here is to have a database I have in MySQL write to a csv file when the person visits a link via PHP. So they visit the link -> then the PHP calls the data from MySQL -> that is the written to an array -> which is used to create the csv cells. I have the below so far after reading documentation on PHP.net $query = mysql_query("SELECT * FROM my_table", $connection); $list = array ( while ($row = mysql_fetch_array($query)) { array(.$row['first-name']., .$row['last-name']., .$row['email'].), } array('end', 'end', 'end') ); $fp = fopen('file.csv', 'w'); foreach ($list as $fields) { fputcsv($fp, $fields); } fclose($fp); I know the above will not work, but i cant seem to figure out how to work around this using the "while" loop to call all the data. Anyone who can shine some light on a work around would be much appreciated. Thanks in advance.
-
Custom Dropdowns?
CSS can do some great styling to form elements. A site i came across for example... http://37signals.com/svn/posts/2609-customizing-web-forms-with-css3-and-webkit/
-
When is Facebook going to introduce a translator?
I've seen translation options available on foreign posts on Facebook, but it does seem its not always there. It must only be if its able to understand the content enough to return a result.