60 Posted Topics

Member Avatar for mpc123

I have this code part of a bigger table with different field names being echoed. [code=php] echo "<tr><td>"; echo $row['car']; echo "</td><td>"; echo $row['caravan']; echo "</td><td>"; [/code] I need 2 pieces of help please. I want to add an image of that car, the image is in a folder on …

Member Avatar for MooGeek
0
124
Member Avatar for mpc123

Hi i have data in a mysql table which is about 70000 rows. In one column there is information that I would like to split into 2 rows. The information I want to send over to the other named row is nicely sat in brackets eg (18) . It is …

Member Avatar for rch1231
0
173
Member Avatar for mpc123

I have this code presently for null to say free but i need also if the info in the ProductPrice field is 0 [code=php] echo is_null($row['ProductPrice']) ? "FREE" : $row['ProductPrice']; echo "</td><td>";[/code] Please help

Member Avatar for mpc123
0
112
Member Avatar for mpc123

Really hope you can help with this one I have a problem whereby i cant get all my data (over 1million and different csv files) to map and import properly, so i thought it would be better to create new tables with all the information seperate (which i can do …

Member Avatar for phpstan
0
65
Member Avatar for mpc123

I have products in a data base with several features to compare, i could do with 2x drop down menus where they are populated by the database and then once selected a table is echoed with all the feature fields. The 2nd one will be so you can compare a …

Member Avatar for mpc123
0
73
Member Avatar for mpc123

I have results of people that i need to compare and echo out. Eg 2x dropdown menus with all the peoples names in and each field then echoed in a table once the 2x dropdowns have been selected. the 2x dropdowns will be the same and have the same names …

Member Avatar for metalix
0
114
Member Avatar for mpc123

Sorry very very new to php , at the end of my table is the following [code=php]echo $row['ProductUrl']; echo "</td></tr>"; } [/code] i want to have an image show on the page and on click of that image it then go to the product url. The [ProductUrl] from data base …

Member Avatar for metalix
0
103
Member Avatar for mpc123

Please help with this if you can My example code below is part of a table that echos several fields, for this field I need to echo the text of the field which the below example code now does, but i need to make it state N/A if the field …

Member Avatar for Usernamex235
0
1K
Member Avatar for mpc123

Please can somebody help with this. I want a Buy Now image to go to the producturl in the database, at the moment I am just echoing , so it only shows the text of the url in the cell. my code currently is [code=php]echo $row['ProductUrl']; echo "</td></tr>"; [/code] Hope …

Member Avatar for hielo
0
135
Member Avatar for mpc123

Sorry very very new to php , obviously my code below is wrong. What should the code be? [code=php]$result = mysql_query("SELECT * FROM TEST Where Name LIKE 'Smith%'") or die(mysql_error()); // Print out result while($row = mysql_fetch_array($result)){ echo "There are ". $row['COUNT(Surname)'] ."; }[/code] Thanks If anyone can help

Member Avatar for edwinhermann
0
100

The End.