36 Topics

Member Avatar for
Member Avatar for jacob21

Hi,I want to retain the selected value of dropdown list during validation check. Need suggestion. [CODE]<select name="year_nam" id="year_nam"> <?php for($yr_nam=1950; $yr_nam<=2020; $yr_nam++) echo "<option value=\"$yr_nam\">$yr_nam</option>"; ?> </select> [/CODE]

Member Avatar for karthik_ppts
0
2K
Member Avatar for rajeevpareek

Hi, I am trying to pass a string to a MACRO using -D option in gcc. I am not getting desired output, below is snippet, please let me know what I am missing. $ gcc -o finame -D CORE="op1_log.txt" finame.c [CODE] #define STR(x) x int main() { FILE *fp; char …

Member Avatar for thekashyap
0
7K
Member Avatar for ero100

I want to add SIZING OPTIONS to my website * i have created the database sizes with: size_id, size_list, and prod_id which is the ID OF the products tables as foreign key * i have issued a query to retrieve all the sizes according to the prod_id (product ID). as …

0
86
Member Avatar for Eneswar

Hey all, my first post in this brilliant website, got a lot of ideas from here. So I'm a student and currently we are learning a bit of php and right now I'm stuck. I have a database with URL adresses, there is 3 fields, id, name and adress. I …

Member Avatar for Eneswar
0
159
Member Avatar for smariano77

I have a web page: [url]www.netstorerosario.com.ar[/url], and I now a lot of mistakes I made on it. I decided to correct them all. In order to do that I need to know which option it's the most efficient. In my page, to show product in the index.aspx I use user …

0
102
Member Avatar for qazplm114477

I was just wondering if there was a more optimal way to add dates to mysql if I had a drop down for each field. This is the code I use to format the dates [CODE]$date_hired = format_date($_POST['month_datehired'], trim($_POST['date_datehired']), $_POST['year_datehired']); //I have 3 dropdowns in my form, 1 for months, …

0
97

The End.