-
Posts
541 -
Joined
-
Last visited
Posts posted by burnside
-
-
try:
$ch .= "Checked: {$value}\n";
-
code maybe???
in [ code ][ /code ] tags please.
-
Then just sit there and click the stumble button and it will take you to VERY random sites.
Haha you'r not wrong.
1st site: Why linux is better that windows.
2nd site: how to bake a cake in 6 east steps - i keep that 1 for later so if any 1 wants some cake lol.
-
Im bored at work.
Any one know any good site, To amuse me?
Bare in mind the IT department have most good sites blocked even google LMFAO.
-
I WOULD DO SOME THING LIKE THIS:
<?php $conn = mysql_connect("localhost", "mysql_user", "mysql_password"); if (!$conn) { echo "Unable to connect to DB: " . mysql_error(); exit; } if (!mysql_select_db("mydbname")) { echo "Unable to select mydbname: " . mysql_error(); exit; } $sql = "SELECT id as userid, fullname, userstatus FROM sometable WHERE userstatus = 1"; $result = mysql_query($sql); if (!$result) { echo "Could not successfully run query ($sql) from DB: " . mysql_error(); exit; } if (mysql_num_rows($result) == 0) { // NOTHING TO DELETE exit; } while ($row = mysql_fetch_assoc($result)) { // DELETE } mysql_free_result($result); ?>
Took of the php.net manual : http://uk.php.net/manual/en/function.mysql-fetch-assoc.php
was to lazy to type it out.
-
so it must mean there is no information in the data base maybe?
-
i like cookies & also i like cake.
but about your question, is he not refering to your browser font and size?
correct me if i am wrong though.
edit: looking at the script
it seems as though you can define your own font and size from this array:
$type = array("arial", "helvetica", "sans-serif", "courier"); $size = array("1","2","3","4","5","6","7");
-
asuming your blocking ips and not your own?
-
Try:
mysql_connect("mysql3.000webhost.com", "a5200862_tine", "youknowwho") or die(mysql_error()); mysql_select_db("a5200862_shop") or die(mysql_error());
-
I can't see any link's
<a href="myscript.php?action=edit">EDIT</a> <?php if($_GET['action'] == "edit" ) { // edit stuff here } ?>
i could be wrong though.
-
What resolution are you using? I need to re-size my browser window a bit to make the name go into the topic title.
1024 x 768, I think its a work computer and they have disabled the controle panel etc .. .. so i am not a 100% sure.
-
http://www.phpfreaks.com/forums/index.php/topic,220217.15.html
the last post the dudes name is starting to go in th the topic title.
-
Yeah but what if i only want to select 4 out of the 15 records like ONLY posts with the id value of 1,5,7 & 10? just to show then 4 posts
-
Hiya MYSQL freaks.
im just curious is it possible to select only selected records from a database. IE:
$select = mysql_query("SELECT * FROM `news` WHERE 'id'='1'")or die(mysql_error()); while($woot= mysql_fetch_array( $select )) {
All i want to know is in the db table nes there is 15 records, is there away to select by id like. if i only want posts with id 1,4,5 & 9?
rather that having several db query
-
ooooooo i like the green highlight on the topic solved
-
I have no idea how i did my above ^^ post it was a mistake sorry
-
its the new logo on the items tho isnt it?
-
OOOOOOOO i didnt know you could get PHP FREAKS stuff
http://shop.cafepress.com/design/2606479
EDIT: Yeah sorry also just found this topic http://www.phpfreaks.com/forums/index.php?topic=116955.0 sorry my bad
-
www.phpfreaks.com ?? isnt that a famous site, i have read a few books with a links relating to it, and im sure its writen in php
-
www.phpfreaks.com ?? isnt that a famous site, i have read a few books with a links relating to it, and im sue its writen in php
-
Try using a true image path,
<img src="Http://www.mysite.com/images/myimage.png" />
sum it like that ? ???
-
make your own?
<select name="state" /> <option value=? />Blah</option> </select /> some thing like that?
-
-
[SOLVED] Checkbox and email form
in PHP Coding Help
Posted
$ch .= "Checked: ."$value".\n";
if not ill look at rest of code